Skip to content

Can't build JRuby with J9 #79

@zzak

Description

@zzak

My good friend @headius pointed me to report this issue here, so here we are.

I'm having issues building JRuby, both 1.7 and 9.0.4.0 using the latest j9 pre-release binary.

Here's the output I'm getting when trying to use ruby-build to install the latest JRuby 9000:

~ => export JAVA_HOME=/home/zzak/src/jre-9/
~ => ruby-build jruby-9.0.4.0 ~/.rubies/j9-jruby-9
Downloading jruby-bin-9.0.4.0.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/fcf828c4ad5b92430a349f1e873c067a15e0952d167d07368135c513fe0d18fb
Installing jruby-9.0.4.0...

BUILD FAILED (Ubuntu 14.04 using ruby-build 20151216)

Inspect or clean up the working tree at /tmp/ruby-build.20151226050234.9234
Results logged to /tmp/ruby-build.20151226050234.9234.log

Last 10 log lines:
X-Cache: Hit from cloudfront
Via: 1.1 d14fd6248e8744adca7a99428b205190.cloudfront.net (CloudFront)
X-Amz-Cf-Id: hFe0VpY7S8-z_waAJOU0YrQWQqGd2HU3aKkz8POTb0Epy9d4MEechw==

/tmp/ruby-build.20151226050234.9234/jruby-9.0.4.0 /tmp/ruby-build.20151226050234.9234 ~
unsupported Java version "9", defaulting to 1.5
ERROR:  Loading command: install (OpenSSL::X509::StoreError)
        setting default path failed: No password supplied for PKCS#12 KeyStore.
ERROR:  While executing gem ... (NoMethodError)
    undefined method `invoke_with_build_args' for nil:NilClass

Also, interesting that it says unsupported Java version "9"..

Here's the log from the JRuby 1.7 build (which is missing the unsupported Java version bit):

/tmp/ruby-build.20151226043906.8024 ~
HTTP/1.1 200 OK
Content-Type: binary/octet-stream
Content-Length: 21630974
Connection: keep-alive
Date: Fri, 25 Dec 2015 18:44:26 GMT
Last-Modified: Wed, 25 Nov 2015 21:28:16 GMT
ETag: "41e3f45c28c94a275f9eeb22721da35d"
Accept-Ranges: bytes
Server: AmazonS3
Age: 3281
X-Cache: Hit from cloudfront
Via: 1.1 9aaf336897fdd8a2dfd1b375c61d8b0b.cloudfront.net (CloudFront)
X-Amz-Cf-Id: 7tw86yOaG0EMZcxPBFeJQYFhLMkK3elRJXJ_2_Mh1Hl7xNCr0brg9g==

/tmp/ruby-build.20151226043906.8024/jruby-1.7.23 /tmp/ruby-build.20151226043906.8024 ~
io/console not supported; tty will not be manipulated
ERROR:  Loading command: install (OpenSSL::X509::StoreError)
    setting default path failed: No password supplied for PKCS#12 KeyStore.
ERROR:  While executing gem ... (NoMethodError)
    undefined method `invoke_with_build_args' for nil:NilClass

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions