Philippe Vouters created JRUBY-6430: ---------------------------------------
Summary: ant test hangs with your version of JRuby 1.6.6 and fails with mine Key: JRUBY-6430 URL: https://jira.codehaus.org/browse/JRUBY-6430 Project: JRuby Issue Type: Test Components: Core Classes/Modules Affects Versions: JRuby 1.6.6 Environment: Linux Fedora 16 OpenJDK 6 Reporter: Philippe Vouters With your version of JRuby 1.6.6, ant clean then ant test hangs on the following test sequence: install-jruby-launcher-gem: [java] INFO: gem "jruby-launcher" is not installed [java] Building native extensions. This could take a while... [java] Successfully installed jruby-launcher-1.0.8-java [java] 1 gem installed install-gems: run-junit-interpreted-short: [echo] compile=OFF, jit.threshold=20, jit.maxsize=1000000000, jit.max=-1, objectspace=false threadpool=false reflection=false version=ruby1_8 [junit] WARNING: multiple versions of ant detected in path for junit [junit] jar:file:/usr/share/java/ant.jar!/org/apache/tools/ant/Project.class [junit] and jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class [junit] Testsuite: org.jruby.test.ScriptTestSuite [junit] Tests run: 71, Failures: 0, Errors: 0, Time elapsed: 14.445 sec [junit] [junit] Testsuite: org.jruby.test.JRubyTestSuite ^C[philippe@victor jruby-1.6.6]$ With my version of JRuby 1.6.6 (http://vouters.dyndns.org/zip/jruby-1.6.6.diff.tar.gz), ant clean followed by ant test fails with the following messages: install-jruby-launcher-gem: [java] INFO: gem "jruby-launcher" is not installed [java] Building native extensions. This could take a while... [java] ERROR: Error installing build_lib/jruby-launcher-1.0.8-java.gem: [java] ERROR: Failed to build gem native extension. [java] [java] /home/philippe/jruby-1.6.6/bin/jruby extconf.rb [java] [java] make [java] make -f inc/Makefile-rules.mk CONF=unix SUBPROJECTS= .build-conf [java] make[1]: Entering directory `/home/philippe/jruby-1.6.6/lib/ruby/gems/1.8/gems/jruby-launcher-1.0.8-java' [java] make -f inc/Makefile-rules.mk jruby [java] make[2]: Entering directory `/home/philippe/jruby-1.6.6/lib/ruby/gems/1.8/gems/jruby-launcher-1.0.8-java' [java] mkdir -p build/unix/Linux [java] rm -f build/unix/Linux/argparser.o.d [java] g++ -O2 -Wall -c argparser.cpp -MMD -MP -MF build/unix/Linux/argparser.o.d -o build/unix/Linux/argparser.o [java] mkdir -p build/unix/Linux [java] rm -f build/unix/Linux/utilsfuncs.o.d [java] g++ -O2 -Wall -c utilsfuncs.cpp -MMD -MP -MF build/unix/Linux/utilsfuncs.o.d -o build/unix/Linux/utilsfuncs.o [java] mkdir -p build/unix/Linux [java] rm -f build/unix/Linux/ng.o.d [java] gcc -O2 -Wall -c ng.c -MMD -MP -MF build/unix/Linux/ng.o.d -o build/unix/Linux/ng.o [java] mkdir -p build/unix/Linux [java] rm -f build/unix/Linux/strlcpy.o.d [java] gcc -O2 -Wall -c strlcpy.c -MMD -MP -MF build/unix/Linux/strlcpy.o.d -o build/unix/Linux/strlcpy.o [java] mkdir -p build/unix/Linux [java] rm -f build/unix/Linux/jrubyexe.o.d [java] g++ -O2 -Wall -c jrubyexe.cpp -MMD -MP -MF build/unix/Linux/jrubyexe.o.d -o build/unix/Linux/jrubyexe.o [java] mkdir -p build/unix/Linux [java] rm -f build/unix/Linux/unixlauncher.o.d [java] g++ -O2 -Wall -c unixlauncher.cpp -MMD -MP -MF build/unix/Linux/unixlauncher.o.d -o build/unix/Linux/unixlauncher.o [java] g++ -O2 -Wall -o build/unix/Linux/jruby-launcher build/unix/Linux/argparser.o build/unix/Linux/utilsfuncs.o build/unix/Linux/ng.o build/unix/Linux/strlcpy.o build/unix/Linux/jrubyexe.o build/unix/Linux/unixlauncher.o -lstdc++ [java] cp build/unix/Linux/jruby-launcher jruby [java] make[2]: Leaving directory `/home/philippe/jruby-1.6.6/lib/ruby/gems/1.8/gems/jruby-launcher-1.0.8-java' [java] make[1]: Leaving directory `/home/philippe/jruby-1.6.6/lib/ruby/gems/1.8/gems/jruby-launcher-1.0.8-java' [java] /home/philippe/jruby-1.6.6/bin/jruby -S rake [java] (in /home/philippe/jruby-1.6.6/lib/ruby/gems/1.8/gems/jruby-launcher-1.0.8-java) [java] /home/philippe/jruby-1.6.6/bin/jruby -S rspec ./spec/launcher_spec.rb [java] LoadError: no such file to load -- /home/philippe/jruby-1.6.6/lib/ruby/gems/1.8/gems/jruby-launcher-1.0.8-java/home/philippe/jruby-1.6.6/lib/ruby/gems/1.8/gems/jruby-launcher-1.0.8-java/spec/spec_helper [java] require at org/jruby/RubyKernel.java:1027 [java] require at /home/philippe/jruby-1.6.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36 [java] (root) at /home/philippe/jruby-1.6.6/lib/ruby/gems/1.8/gems/jruby-launcher-1.0.8-java/spec/launcher_spec.rb:1 [java] load at org/jruby/RubyKernel.java:1052 [java] load_spec_files at /home/philippe/jruby-1.6.6/lib/ruby/gems/1.8/gems/jruby-launcher-1.0.8-java/spec/launcher_spec.rb:387 [java] collect at org/jruby/RubyArray.java:2324 [java] load_spec_files at /home/philippe/jruby-1.6.6/lib/ruby/gems/1.8/gems/rspec-core-2.4.0/lib/rspec/core/configuration.rb:387 [java] run at /home/philippe/jruby-1.6.6/lib/ruby/gems/1.8/gems/rspec-core-2.4.0/lib/rspec/core/command_line.rb:18 [java] run_in_process at /home/philippe/jruby-1.6.6/lib/ruby/gems/1.8/gems/rspec-core-2.4.0/lib/rspec/core/runner.rb:55 [java] run at /home/philippe/jruby-1.6.6/lib/ruby/gems/1.8/gems/rspec-core-2.4.0/lib/rspec/core/runner.rb:46 [java] autorun at /home/philippe/jruby-1.6.6/lib/ruby/gems/1.8/gems/rspec-core-2.4.0/lib/rspec/core/runner.rb:10 [java] call at org/jruby/RubyProc.java:270 [java] call at org/jruby/RubyProc.java:224 [java] org.jruby.exceptions.RaiseException: (SystemExit) exit [java] rake aborted! [java] ruby -S rspec ./spec/launcher_spec.rb failed [java] [java] (See full trace by running task with --trace) [java] make: *** [test] Error 1 [java] [java] [java] Gem files will remain installed in /home/philippe/jruby-1.6.6/lib/ruby/gems/1.8/gems/jruby-launcher-1.0.8-java for inspection. [java] Results logged to /home/philippe/jruby-1.6.6/lib/ruby/gems/1.8/gems/jruby-launcher-1.0.8-java/./gem_make.out BUILD FAILED /home/philippe/jruby-1.6.6/build.xml:809: Java returned: 1 Total time: 2 minutes 7 seconds -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email