mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Klues (JIRA)" <>
Subject [jira] [Created] (MESOS-4184) Jenkins builds for Centos fail with missing 'which' utility and incorrect 'java.home'
Date Wed, 16 Dec 2015 21:59:46 GMT
Kevin Klues created MESOS-4184:

             Summary: Jenkins builds for Centos fail with missing 'which' utility and incorrect
                 Key: MESOS-4184
             Project: Mesos
          Issue Type: Bug
          Components: jenkins
         Environment: centos 7
            Reporter: Kevin Klues
            Assignee: Kevin Klues

Jenkins builds are now consistently failing for centos 7, withe the failure:

checking value of Java system property 'java.home'...
configure: error: could not guess JAVA_HOME

They also fail early on during 'bootstrap' with a missing 'which' command.

The solution is to update support/ to install 'which' as well as make sure
the proper versions of java are installed during the installation process.

The problem here is that This is that we install maven
BEFORE installing java-1.7.0-openjdk-devel, causing maven to pull in a dependency on java-1.8.0-openjdk.
This causes problems with finding the proper java.home in our mesos/configure script because
of the mismatch between the most up to date jre (1.8.0) and the most up to date development
tools (1.7.0).  We can either update the script to pull in the 1.8 devel tools or move our
dependence on maven until AFTER our installation of java-1.7.0-openjdk-devel.  Unclear what
the best solution is.

This message was sent by Atlassian JIRA

View raw message