Ruby 1.9.1-p0 on NetBSD


#1

e$B$3$s$K$A$O!#e(B

Ruby 1.9.1-p0e$B$re(BNetBSDe$B>e$G$N%3%s%Q%$%ke(B & test
e$B$r$7$F$$^$7$?!#e(B
(e$B;~4VE*$J@)Ls$b$"$je(B)e$B8D!9$N%P%0Js9p$K$^$GMn$H$79~$a$J$$$N$G!"<h$j4:$($:!"e(B
e$B7k2L$@$1=q$$$F$
$^$9!#e(B

o pkgsrce$B$NOHAH$_$NCf$G$O$"$j$^$;$s!#e(B
o configuree$B$O!"e(B

% sh configure --enable-pthread --enable-shared

e$B$H<B9T$7$F$$$^$9!#e(B

o make installe$B$O$7$F$$$^$;$s!#e(B

make test-alle$B$O%j%j!<%9$K4X$o$i$:!"e(B

% 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.]

e$B$H$+$J$k$h$&$G$9!#0J2<!"e(Bmake teste$B$N7k2L$G$9!#e(B

  1. NetBSD 4.0_STABLE

    e$B%F%9%HESCf$N%(%i!<e(B

test_proc.rb …bootstraptest.tmp.rb:5:in
`’: ok (RuntimeError)

test_thread.rb …F…

e$B7k2Le(B

#224 test_fork.rb:1:in <top (required)>': 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<top (required)>’:
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

  1. NetBSD 5.0_RC1(netbsd-5e$B$N%V%i%s%A$N:G?7$G$O$"$j$^$;$s!#e(B)

    e$B%F%9%HESCf$N%(%i!<e(B

test_proc.rb …bootstraptest.tmp.rb:5:in
`’: ok (RuntimeError)

e$B7k2Le(B

#226 test_io.rb:11:in `<top (required)>’:
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

  1. NetBSD current (5.99.7)

    e$B%F%9%HESCf$N%(%i!<e(B

test_proc.rb …bootstraptest.tmp.rb:5:in
`’: ok (RuntimeError)

e$B7k2Le(B

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


#2

In message removed_email_address@domain.invalid
on Thu, 5 Feb 2009 07:47:47 +0900,
Kazuhiro NISHIYAMA removed_email_address@domain.invalid wrote:

o configuree$B$O!"e(B

% sh configure --enable-pthread --enable-shared

e$B$H<B9T$7$F$$$^$9!#e(B

–disable-pthreade$B$O$G$-$J$$$N$Ge(B–enable-pthreade$B$OITMW$J$N$G$Oe(B
e$B$J$$$G$7$g$&$+!#e(B
e$B$^$!!";XDj$7$F$b<B32$O$"$j$^$;$s$h$Me(B?

o make installe$B$O$7$F$$$^$;$s!#e(B

make test-alle$B$K$Oe(Bmake installe$B$,I,MW$@$H;W$$$^$9!#e(B
e$B$J$k$[$I!#e(B

e$B$3$l$Oe(B Init_readline e$B$Ge(B remove_history(0) e$B$Ge(B NULL e$B$,JV$C$F$k$N$,e(B
e$B860x$@$C$?$N$G!"%A%’%C%/$rDI2C$7$F$*$-$^$7$?!#e(B
e$B$=$&$G$7$?$+!#e(B

e$B$$$?$@$$$?>pJs$r85$K!"$b$&>/$7D4$Y$F$_$?$$$H;W$$$^$9!#e(B

e$B$"$j$,$H$&$4$6$$$^$7$?!#e(B


#3

e$B@>;3OB9-$G$9!#e(B

At Wed, 4 Feb 2009 12:26:14 +0900,
Takahiro K. wrote:

o configuree$B$O!"e(B

% sh configure --enable-pthread --enable-shared

e$B$H<B9T$7$F$$$^$9!#e(B

–disable-pthreade$B$O$G$-$J$$$N$Ge(B–enable-pthreade$B$OITMW$J$N$G$Oe(B
e$B$J$$$G$7$g$&$+!#e(B

o make installe$B$O$7$F$$$^$;$s!#e(B

make test-alle$B$K$Oe(Bmake installe$B$,I,MW$@$H;W$$$^$9!#e(B

make test-alle$B$O%j%j!<%9$K4X$o$i$:!"e(B

% 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.]

e$B$3$l$Oe(B Init_readline e$B$Ge(B remove_history(0) e$B$Ge(B NULL
e$B$,JV$C$F$k$N$,e(B
e$B860x$@$C$?$N$G!"%A%’%C%/$rDI2C$7$F$*$-$^$7$?!#e(B