Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jruby does not work on ubuntu14.10 ppc64el #2703

Open
ralphbellofatto opened this issue Mar 15, 2015 · 1 comment
Open

jruby does not work on ubuntu14.10 ppc64el #2703

ralphbellofatto opened this issue Mar 15, 2015 · 1 comment

Comments

@ralphbellofatto
Copy link

we cloned the jruby reposotory to a power pc little endian (ppc64el) architecture machine and attempted to test it according to the instructions in the BUILDING.md file.

git clone https://github.com/jruby/jruby.git
cd jruby/
mvn compile
mvn test
mvn -Pbootstrap
mvn -Pbootstrap-no-launcher

bin/jruby -S rake test:mri

The -Pbootstrap option failed so, following the direcitons we used the pbootstrap-no-launcher command and followed with the test invocation

We got this error message:

[tulgpu002 jruby] $ bin/jruby -S rake test:mri
OpenJDK 64-Bit Server VM warning: You have loaded library /gpfs/DDNgpfs1/ralphbel/jruby/lib/jni/ppc64-Linux/libjffi-1.2.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
rake aborted!
Could not find 'rspec' (>= 0) among 19 total gem(s)
Checked in 'GEM_PATH=/gpfs/DDNgpfs1/ralphbel/.gem/jruby/2.2:/gpfs/DDNgpfs1/ralphbel/jruby/lib/ruby/gems/shared', execute `gem env` for more information

We explicitly called out our javahome to point to the java-7-openjdk installed on the system.

[tulgpu002 jruby] $ echo $JAVA_HOME
/usr/lib/jvm/java-7-openjdk-ppc64el

It looks something maven test setup is not quite complete or it was expecting to find it in our environment and it failed.

Please advise how we should approach clearing this up.

@ralphbellofatto
Copy link
Author

note, the contents of the gems file under the jruby directory is:

[tulgpu002 jruby] $ ls -l /gpfs/DDNgpfs1/ralphbel/jruby/lib/ruby/gems/shared/gems
total 1792
drwxrwxrwx 5 ralphbel ralphbel 131072 Mar 15 16:35 axiom-types-0.1.1
drwxrwxrwx 5 ralphbel ralphbel 131072 Mar 15 16:35 coercible-1.0.0
drwxrwxrwx 5 ralphbel ralphbel 131072 Mar 15 16:35 descendants_tracker-0.0.4
drwxrwxrwx 4 ralphbel ralphbel 131072 Mar 15 16:35 equalizer-0.0.9
drwxrwxrwx 6 ralphbel ralphbel 131072 Mar 15 16:35 ice_nine-0.11.1
drwxrwxrwx 3 ralphbel ralphbel    512 Mar 15 16:35 jar-dependencies-0.1.8
drwxrwxrwx 4 ralphbel ralphbel    512 Mar 15 16:35 maven-tools-1.0.8
drwxrwxrwx 3 ralphbel ralphbel    512 Mar 15 16:35 rake-10.1.0
drwxrwxrwx 3 ralphbel ralphbel    512 Mar 15 16:35 rdoc-4.1.0
drwxrwxrwx 6 ralphbel ralphbel    512 Mar 15 16:35 ruby-maven-3.1.1.0.8
drwxrwxrwx 7 ralphbel ralphbel    512 Mar 15 16:35 ruby-maven-libs-3.1.1
drwxrwxrwx 8 ralphbel ralphbel 131072 Mar 15 16:35 thread_safe-0.3.5-java
drwxrwxrwx 4 ralphbel ralphbel 131072 Mar 15 16:35 virtus-1.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant