Skip to content

JRuby fails in building from source when using openjdk-7-jdk trusty package #4103

@RochesterinNYC

Description

@RochesterinNYC

Environment

Provide at least:

  • Trying to build jruby 9.1.2.0 from 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.3 of the ubuntu trusty openjdk-7-jdk package.

Actual Behavior

  • JRuby fails in building from source using version 7u111-2.6.7-0ubuntu0.14.04.3 of 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=dfd44f532105725a4d4a2378a3b6a06899bae660be21538a5b36b41e4dd045e6

The 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions