From: Christian Neukirchen Date: 2005-12-26T19:19:24+09:00 Subject: Re: Inconsistent testing Ruby 1.8.4 on Tiger. "sean.swolfe@gmail.com" writes: > I was able to build ruby 1.8.4 on my Tiger (OSX 10.4.3) box here. > Everything built fine, and it appears that the readline support works > as well. But when i run "make test-all" I get Inconsistent results. > Ocne I'd get the following failures: > > 1) Failure: > test_cgi(TestWEBrickCGI) > <"/webrick.cgi"> expected but was > <"\n\n > Internal Server Error\n \n >

Internal Server Error

\n Premature end of script headers: > /Users/seanwolfe/src/ruby-1.8.4/test/webrick/webrick.cgi\n
\n >
\n WEBrick/1.3.1 (Ruby/1.8.4/2005-12-24) OpenSSL/0.9.7b > at\n 127.0.0.1:59698\n
\n \n\n">. I noticed that too (late), doing "make install" before testing makes it go away, probably a path issue of the ruby interpreter. > 2) Failure: > test_nil_parse(Test_Features) > [./xmlrpc/test_features.rb:43:in `test_nil_parse' > /Users/seanwolfe/src/ruby-1.8.4/lib/xmlrpc/parser.rb:803:in > `each_installed_parser' > /Users/seanwolfe/src/ruby-1.8.4/lib/xmlrpc/parser.rb:801:in > `each_installed_parser' > ./xmlrpc/test_features.rb:33:in `test_nil_parse' > /Users/seanwolfe/src/ruby-1.8.4/lib/xmlrpc/create.rb:95:in > `each_installed_writer' > /Users/seanwolfe/src/ruby-1.8.4/lib/xmlrpc/create.rb:93:in > `each_installed_writer' > ./xmlrpc/test_features.rb:30:in `test_nil_parse']: > <[nil, {"test"=>nil}, [nil, nil]]> expected but was > <[nil, {"test"=>nil}, [nil, 1, nil]]>. > > With another run, I'd get: > /Users/seanwolfe/src/ruby-1.8.4/lib/rational.rb:453: [BUG] > Segmentation fault Run in gdb and post a backtrace. > I've also seen the last error before, but on different files. > > All other tests seem to pass. IS this any call for alarm? If there is > something wrong, I don't want to overwrite my current working ruby > 1.8.2 install. I also never liked installing packages with fink or > DarwinPorts, always seem to muck things up. Does anyone have a > successful test run of 1.84 from building on tiger? That said, I built on Panther. Likely a GCC 4.0 issue, did you try building with 3.3? > Sean -- Christian Neukirchen http://chneukirchen.org