-
-
Notifications
You must be signed in to change notification settings - Fork 942
Description
Environment
Provide at least:
- Trying to build jruby
9.1.2.0from source uname -a:
Linux d64e610fc91e 4.4.16-boot2docker #1 SMP Fri Jul 29 00:13:24 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Expected Behavior
- JRuby builds from source using version
7u111-2.6.7-0ubuntu0.14.04.3of the ubuntu trusty openjdk-7-jdk package.
Actual Behavior
- JRuby fails in building from source using version
7u111-2.6.7-0ubuntu0.14.04.3of the ubuntu trusty openjdk-7-jdk package.
Reproduction:
git clone git@github.com:cloudfoundry/binary-builder.git
cd binary-builder
docker run -it -v $(pwd):/binary-builder cloudfoundry/cflinuxfs2 bash
cd /binary-builder
./bin/binary-builder --name=jruby --version=9.1.2.0_ruby-2.3.0 --sha256=dfd44f532105725a4d4a2378a3b6a06899bae660be21538a5b36b41e4dd045e6The full error log after switching maven to try and build jruby with the -X flag enabled is here: https://gist.github.com/RochesterinNYC/fac1f36bb98ded1f5a135f10b2c8741c
Binary builder will try to install openjdk via apt-get, build and compile ant and maven, and then use maven to try to build jruby. It runs the following command to try to build jruby: mvn -Djruby.default.ruby.version=2.3.0
Side Note:
It might be worth noting that for our situation, this build process was working when we were on openjdk-7-jdk 7u111-2.6.7-0ubuntu0.14.04.2. When openjdk-7-jdk 7u111-2.6.7-0ubuntu0.14.04.3 was released on August 11th, our build process automatically started using this (because we use apt-get install) and the build started failing.