[ 
https://issues.apache.org/jira/browse/BUILDS-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14161154#comment-14161154
 ] 

Colin Patrick McCabe commented on BUILDS-26:
--------------------------------------------

I don't run Ubuntu, but I do have a virtual machine.

I found the package the file belonged to with:
{code}
cmccabe@vm0:~$ dpkg -S /usr/include/openssl/opensslconf.h
libssl-dev: /usr/include/openssl/opensslconf.h
{code}

bq. And if it's libssl-dev, that's already installed everywhere.

Well, builds are failing left and right with "openssl/opensslconf.h: No such 
file or directory".  For example, this log from H4: 
https://builds.apache.org/job/PreCommit-HDFS-Build/8335/artifact/patchprocess/patchJavacWarnings.txt

Relevant section:
{code}
     [exec] In file included from 
/home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/crypto/org_apache_hadoop_crypto.h:33:0,
     [exec]                  from 
/home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/crypto/OpensslCipher.c:19:
     [exec] /usr/include/openssl/aes.h:55:33: fatal error: 
openssl/opensslconf.h: No such file or directory
     [exec]  #include <openssl/opensslconf.h>
     [exec]                                  ^
     [exec] compilation terminated.
     [exec] /usr/bin/cmake -E cmake_progress_report 
/home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/hadoop-common-project/hadoop-common/target/native/CMakeFiles
 8
{code}

On the other hand, H4 had an even stranger build failure here:
https://builds.apache.org/job/PreCommit-HDFS-Build/8337/artifact/patchprocess/trunkJavacWarnings.txt

{code}
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] 
/home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[456,-1]
 cannot access java.util.Hashtable
bad class file: java/util/Hashtable.class(java/util:Hashtable.class)
{code}

The build slave can't access {{java/util/Hastable.class}}?  Is something wrong 
with the disk on these machines?  It might be a good idea to check the dmesg.

> Install openssl-devel package on Jenkins machines
> -------------------------------------------------
>
>                 Key: BUILDS-26
>                 URL: https://issues.apache.org/jira/browse/BUILDS-26
>             Project: Infra Build Platform
>          Issue Type: Bug
>            Reporter: Ted Yu
>
> In the email thread 'Build failed in Jenkins: Hadoop-Common-trunk due to 
> missing header file', Colin wrote:
> {noformat}
> opensslconf.h is part of the openssl-devel package (at least on my
> machine) and if it is missing, I would suspect that openssl is either
> not installed or incorrectly installed.
> We need it for the native build to have coverage for the
> openssl-related things (like random number generation and encryption).
> {noformat}
> Please install openssl-devel package on Jenkins machines



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to