From: Takahiro Kambe Date: 2009-02-04T12:26:14+09:00 Subject: [ruby-dev:37891] Ruby 1.9.1-p0 on NetBSD こんにちは。 Ruby 1.9.1-p0をNetBSD上でのコンパイル & test をしてみました。 (時間的な制約もあり)個々のバグ報告にまで落とし込めないので、取り敢えず、 結果だけ書いてみます。 o pkgsrcの枠組みの中ではありません。 o configureは、 % sh configure --enable-pthread --enable-shared と実行しています。 o make installはしていません。 make test-allはリリースに関わらず、 % make test-all ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./runruby.rb --extout=.ext -- "./test/runner.rb" /var/tmp/ruby-1.9.1-p0/.ext/i386-netbsdelf4.0./readline.so: [BUG] Segmentation fault ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-netbsdelf4.0.] ... とかなるようです。以下、make testの結果です。 1. NetBSD 4.0_STABLE テスト途中のエラー test_proc.rb .................................bootstraptest.tmp.rb:5:in `
': ok (RuntimeError) ... test_thread.rb ......................F...................... 結果 #224 test_fork.rb:1:in `': begin GC.stress = true pid = fork {} Process.wait pid $?.to_i rescue NotImplementedError 0 end #=> "134" (expected "0") [ruby-dev:32404] #906 test_thread.rb:206:in `': t = Thread.new { loop {} } begin pid = fork { exit t.status != "run" } Process.wait pid $?.success? rescue NotImplementedError true #=> "" (expected "true") FAIL 2/928 tests failed *** Error code 1 Stop. make: stopped in /var/tmp/ruby-1.9.1-p0 2. NetBSD 5.0_RC1(netbsd-5のブランチの最新ではありません。) テスト途中のエラー test_proc.rb .................................bootstraptest.tmp.rb:5:in `
': ok (RuntimeError) 結果 #226 test_io.rb:11:in `': begin require "io/nonblock" r, w = IO.pipe w.nonblock = true w.write_nonblock("a" * 100000) w.nonblock = false t1 = Thread.new { w.write("b" * 4096) } t2 = Thread.new { w.write("c" * 4096) } sleep 0.5 r.sysread(4096).length sleep 0.5 r.sysread(4096).length t1.join t2.join rescue LoadError end #=> not finished in 10 seconds [ruby-dev:32566] FAIL 1/928 tests failed *** Error code 1 Stop. make: stopped in /var/tmp/ruby-1.9.1-p0 3. NetBSD current (5.99.7) テスト途中のエラー test_proc.rb .................................bootstraptest.tmp.rb:5:in `
': ok (RuntimeError) 結果 PASS 928 tests ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb "./bootstraptest/runner.rb" --ruby="ruby" ./KNOWNBUGS.rb 2009-02-04 11:51:32 +0900 Driver is ruby 1.9.1 (2009-01-30 patchlevel 0) [i386-netbsdelf5.99.7] Shared object "libruby.so.19" not found Target is KNOWNBUGS.rb PASS 0 tests -- 神戸 隆博 / Takahiro Kambe