Skip to content

Instantly share code, notes, and snippets.

@MarkMenard
Created March 16, 2011 13:47
Show Gist options
  • Save MarkMenard/872515 to your computer and use it in GitHub Desktop.
Save MarkMenard/872515 to your computer and use it in GitHub Desktop.
jruby-1.5.6 - #fetching
jruby-1.5.6 - #downloading jruby-bin-1.5.6, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10.9M 100 10.9M 0 0 280k 0 0:00:40 0:00:40 --:--:-- 290k
jruby-1.5.6 - #extracting jruby-bin-1.5.6 to /Users/mark/.rvm/src/jruby-1.5.6
jruby-1.5.6 - #extracted to /Users/mark/.rvm/src/jruby-1.5.6
Building Nailgun
jruby-1.5.6 - #installing to /Users/mark/.rvm/rubies/jruby-1.5.6
jruby-1.5.6 - #importing default gemsets (/Users/mark/.rvm/gemsets/)
Copying across included gems
Building native extensions. This could take a while...
ERROR: Error installing jruby-launcher:
ERROR: Failed to build gem native extension.
/Users/mark/.rvm/rubies/jruby-1.5.6/bin/jruby extconf.rb
make
make -f inc/Makefile-rules.mk CONF=unix SUBPROJECTS= .build-conf
make -f inc/Makefile-rules.mk jruby
mkdir -p build/unix/Darwin
rm -f build/unix/Darwin/argparser.o.d
g++ -O2 -Wall -c argparser.cpp -MMD -MP -MF build/unix/Darwin/argparser.o.d -o build/unix/Darwin/argparser.o
mkdir -p build/unix/Darwin
rm -f build/unix/Darwin/utilsfuncs.o.d
g++ -O2 -Wall -c utilsfuncs.cpp -MMD -MP -MF build/unix/Darwin/utilsfuncs.o.d -o build/unix/Darwin/utilsfuncs.o
mkdir -p build/unix/Darwin
rm -f build/unix/Darwin/ng.o.d
gcc -O2 -Wall -c ng.c -MMD -MP -MF build/unix/Darwin/ng.o.d -o build/unix/Darwin/ng.o
mkdir -p build/unix/Darwin
rm -f build/unix/Darwin/strlcpy.o.d
gcc -O2 -Wall -c strlcpy.c -MMD -MP -MF build/unix/Darwin/strlcpy.o.d -o build/unix/Darwin/strlcpy.o
mkdir -p build/unix/Darwin
rm -f build/unix/Darwin/jrubyexe.o.d
g++ -O2 -Wall -c jrubyexe.cpp -MMD -MP -MF build/unix/Darwin/jrubyexe.o.d -o build/unix/Darwin/jrubyexe.o
mkdir -p build/unix/Darwin
rm -f build/unix/Darwin/unixlauncher.o.d
g++ -O2 -Wall -c unixlauncher.cpp -MMD -MP -MF build/unix/Darwin/unixlauncher.o.d -o build/unix/Darwin/unixlauncher.o
g++ -O2 -Wall -o build/unix/Darwin/jruby-launcher build/unix/Darwin/argparser.o build/unix/Darwin/utilsfuncs.o build/unix/Darwin/ng.o build/unix/Darwin/strlcpy.o build/unix/Darwin/jrubyexe.o build/unix/Darwin/unixlauncher.o -lstdc++
cp build/unix/Darwin/jruby-launcher jruby
/Users/mark/.rvm/rubies/jruby-1.5.6/bin/jruby -S rake
(in /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java)
/Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/spec/spec_helper.rb:16 warning: executable? does not in this environment and will return a dummy value
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-lFFFFFFFFFFFFFFFauncher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/biFFFFFFFFFFFFFFFFFFF
1)
'JRuby native launcher should run org.jruby.Main' FAILED
expected: "org/jruby/Main",
got: nil (using ==)
./spec/launcher_spec.rb:5:
2)
'JRuby native launcher should pass unrecognized arguments to JRuby' FAILED
expected: ["org/jruby/Main", "-v", "--help"],
got: nil (using ==)
./spec/launcher_spec.rb:9:
3)
'JRuby native launcher should print help message' FAILED
expected nil to be true
./spec/launcher_spec.rb:14:
4)
'JRuby native launcher should use $JAVACMD when JAVACMD is specified' FAILED
expected: "jato",
got: nil (using ==)
./spec/launcher_spec.rb:26:
/Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/spec/spec_helper.rb:55:in `with_environment'
./spec/launcher_spec.rb:22:
5)
'JRuby native launcher should use $JAVA_HOME/bin/java when JAVA_HOME is specified' FAILED
expected: "some/java/home/bin/java",
got: nil (using ==)
./spec/launcher_spec.rb:36:
/Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/spec/spec_helper.rb:55:in `with_environment'
./spec/launcher_spec.rb:32:
6)
'JRuby native launcher should use -Xjdkhome argument above JAVA_HOME' FAILED
expected: "some/java/home/bin/java",
got: nil (using ==)
./spec/launcher_spec.rb:46:
/Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/spec/spec_helper.rb:55:in `with_environment'
./spec/launcher_spec.rb:42:
7)
'JRuby native launcher should complain about a missing log argument' FAILED
expected: /Argument is missing for "-Xtrace"/,
got: "zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby\n" (using =~)
./spec/launcher_spec.rb:52:
8)
'JRuby native launcher should complain about a missing jdkhome argument' FAILED
expected: /Argument is missing/,
got: "zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby\n" (using =~)
./spec/launcher_spec.rb:57:
9)
'JRuby native launcher should complain about a missing classpath append argument' FAILED
expected: /Argument is missing/,
got: "zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby\n" (using =~)
./spec/launcher_spec.rb:62:
10)
'JRuby native launcher should run nailgun server with --ng-server option' FAILED
expected: "com/martiansoftware/nailgun/NGServer",
got: nil (using ==)
./spec/launcher_spec.rb:67:
11)
'JRuby native launcher should run nailgun client with --ng option' FAILED
expected: ["org.jruby.util.NailMain", "-e", "puts 1"],
got: [] (using ==)
./spec/launcher_spec.rb:71:
12)
'JRuby native launcher should handle -J JVM options' FAILED
expected [] to include "-Darg1=value1" and "-Darg2=value2"
./spec/launcher_spec.rb:75:
13)
'JRuby native launcher should pass -Xprop.erty=value as -J-Djruby.prop.erty=value' FAILED
expected [] to include "-Djruby.prop.erty=value"
./spec/launcher_spec.rb:79:
14)
'JRuby native launcher should pass -Xproperties as --properties' FAILED
expected [] to include "--properties"
./spec/launcher_spec.rb:83:
15)
'JRuby native launcher should default to 500m max heap' FAILED
expected [] to include "-Xmx500m" and "-Djruby.memory.max=500m"
./spec/launcher_spec.rb:87:
16)
'JRuby native launcher should allow max heap to be overridden' FAILED
expected [] to include "-Xmx256m" and "-Djruby.memory.max=256m"
./spec/launcher_spec.rb:91:
17)
'JRuby native launcher should default to 2048k max stack' FAILED
expected [] to include "-Xss2048k" and "-Djruby.stack.max=2048k"
./spec/launcher_spec.rb:95:
18)
'JRuby native launcher should allow max stack to be overridden' FAILED
expected [] to include "-Xss512k" and "-Djruby.stack.max=512k"
./spec/launcher_spec.rb:99:
19)
'JRuby native launcher should add the contents of the CLASSPATH environment variable' FAILED
expected: /-Djava.class.path=.*some.jar/,
got: nil (using =~)
./spec/launcher_spec.rb:105:
/Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/spec/spec_helper.rb:55:in `with_environment'
./spec/launcher_spec.rb:103:
20)
'JRuby native launcher should add the classpath elements in proper order' FAILED
expected: /-Djava.class.path=some.jar.*:some-env.jar:some-other.jar/,
got: nil (using =~)
./spec/launcher_spec.rb:113:
/Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/spec/spec_helper.rb:55:in `with_environment'
./spec/launcher_spec.rb:111:
21)
'JRuby native launcher should use the --server compiler' FAILED
expected [] to include "-server"
./spec/launcher_spec.rb:118:
22)
'JRuby native launcher should use the --client compiler' FAILED
expected [] to include "-client"
./spec/launcher_spec.rb:122:
23)
'JRuby native launcher should set the JMX settings when --manage is present' FAILED
expected [] to include "-Dcom.sun.management.jmxremote" and "-Djruby.management.enabled=true"
./spec/launcher_spec.rb:126:
24)
'JRuby native launcher should set the headless flag when --headless is present' FAILED
expected [] to include "-Djava.awt.headless=true"
./spec/launcher_spec.rb:130:
25)
'JRuby native launcher should pass -Xprof when --sample is present' FAILED
expected [] to include "-Xprof"
./spec/launcher_spec.rb:134:
26)
'JRuby native launcher should stop argument processing when a -- is seen' FAILED
expected [] to include "-Xhelp", "-Xtrace", and "--headless"
./spec/launcher_spec.rb:138:
27)
'JRuby native launcher should properly handle single quotes' FAILED
expected [] to include "ABC DEF"
./spec/launcher_spec.rb:143:
28)
'JRuby native launcher should prepend JRUBY_OPTS to the start of the argument list to process' FAILED
expected [] to include "-server", "-Dsome.key=val", "-rubygems", "-e", and "ABC DEF"
./spec/launcher_spec.rb:149:
/Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/spec/spec_helper.rb:55:in `with_environment'
./spec/launcher_spec.rb:148:
29)
'JRuby native launcher stops argument processing on first non-option argument' FAILED
expected: ["foo.rb", "--sample"],
got: nil (using ==)
./spec/launcher_spec.rb:155:
30)
'JRuby native launcher includes file.encoding=UTF-8 on Mac if JAVA_ENCODING is not set' FAILED
expected [] to include "-Dfile.encoding=UTF-8"
./spec/launcher_spec.rb:161:
31)
'JRuby native launcher does not crash on empty args' FAILED
expected [] to include "-e"
./spec/launcher_spec.rb:169:
32)
'JRuby native launcher should put JRuby on regular classpath when -Xnobootclasspath is used' FAILED
expected empty? to return false, got true
./spec/launcher_spec.rb:177:
33)
'JRuby native launcher should include a bare : or ; at the end of the classpath, to include PWD in the path' FAILED
expected: /:$/,
got: nil (using =~)
./spec/launcher_spec.rb:188:
34)
'JRuby native launcher should print the version' FAILED
expected: /Launcher Version [0-9.]+/,
got: "zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby\n" (using =~)
./spec/launcher_spec.rb:193:
Finished in 1.51 seconds
34 examples, 34 failures
n/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
zsh:1: permission denied: /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/build/home/bin/jruby
rake aborted!
Command /Users/mark/.rvm/rubies/jruby-1.5.6/bin/jruby -I"lib" "/Users/mark/.rvm/gems/jruby-1.5.6/gems/rspec-1.3.0/bin/spec" "spec/launcher_spec.rb" failed
(See full trace by running task with --trace)
make: *** [test] Error 1
Gem files will remain installed in /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java for inspection.
Results logged to /Users/mark/.rvm/gems/jruby-1.5.6/gems/jruby-launcher-1.0.7-java/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment