Contributed by: akira on 2012年 8月28日(火) 13:21 JST
Last modified on
port で必要そうなライブラリは、インストールした。
sudo port install libiconv readline openssl zlib ncurses gdbm
$ export CPPFLAGS=-I/opt/X11/include
$ export CC=/opt/local/bin/gcc-apple-4.2
$ rvm upgrade ruby-1.8.7-p358 ruby-1.8.7-p370
1.9.3系は多分gcc-apple-4.2は不要
mac mini 2010 $ make test-all
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./runruby.rb --extout=.ext -- "./test/runner.rb" --basedir="./test" --runner=console
Loaded suite .
Started
...................................................................................................................................................................................................................................................................................................................................................................F................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F...........................................................................................................................................................................................................................................................................F...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E............................
Finished in 668.743242 seconds.
1) Failure:
test_connection_refused_in_request(TestHTTP::HTTPConnectionTest) [./test/net/http/test_connection.rb:20]:
[ruby-core:28028].
<EOFError> exception expected but was
Class: <Errno::ECONNRESET>
Message: <"Connection reset by peer">
---Backtrace---
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/protocol.rb:135:in `sysread'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/protocol.rb:135:in `rbuf_fill'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/timeout.rb:67:in `timeout'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/timeout.rb:101:in `timeout'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/protocol.rb:134:in `rbuf_fill'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/protocol.rb:116:in `readuntil'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/protocol.rb:126:in `readline'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:2028:in `read_status_line'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:2017:in `read_new'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:1051:in `request'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:1037:in `request'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:543:in `start'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:1035:in `request'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:948:in `request_get'
./test/net/http/test_connection.rb:22:in `test_connection_refused_in_request'
./test/net/http/test_connection.rb:20:in `test_connection_refused_in_request'
---------------
2) Failure:
test_readpartial_pos(TestIO)
[./test/ruby/test_io.rb:28:in `test_readpartial_pos'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/open-uri.rb:32:in `open_uri_original_open'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/open-uri.rb:32:in `open'
./test/ruby/test_io.rb:25:in `test_readpartial_pos'
./test/ruby/test_io.rb:9:in `mkcdtmpdir'
./test/ruby/test_io.rb:8:in `chdir'
./test/ruby/test_io.rb:8:in `mkcdtmpdir'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/tmpdir.rb:129:in `mktmpdir'
./test/ruby/test_io.rb:7:in `mkcdtmpdir'
./test/ruby/test_io.rb:23:in `test_readpartial_pos']:
<2> expected but was
<0>.
3) Failure:
test_event(TestSetTraceFunc) [./test/ruby/test_settracefunc.rb:104]:
<["raise", 32, :test_event, TestSetTraceFunc]> expected but was
<["line", 86, :marshal_load, TestMarshal::LoadTest]>.
4) Error:
test_params(TestZlibDeflate):
Zlib::BufError: buffer error
./test/zlib/test_zlib.rb:130:in `inflate'
./test/zlib/test_zlib.rb:130:in `test_params'
2257 tests, 1672030 assertions, 3 failures, 1 errors
make: *** [test-all] Error 1
macbookpro 2008 $ make test-all
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./runruby.rb --extout=.ext -- "./test/runner.rb" --basedir="./test" --runner=console
Loaded suite .
Started
.................................................................................................................................................................................................................................................................................................................................................................E.F................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E............................
Finished in 473.800008 seconds.
1) Error:
test_post_io_chunk_size(HTTPPostIOTest):
Errno::ECONNRESET: Connection reset by peer
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/protocol.rb:177:in `write'
./test/net/http/test_post_io.rb:30:in `join'
./test/net/http/test_post_io.rb:30:in `test_post_io_chunk_size'
2) Failure:
test_connection_refused_in_request(TestHTTP::HTTPConnectionTest) [./test/net/http/test_connection.rb:20]:
[ruby-core:28028].
<EOFError> exception expected but was
Class: <Errno::ECONNRESET>
Message: <"Connection reset by peer">
---Backtrace---
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/protocol.rb:135:in `sysread'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/protocol.rb:135:in `rbuf_fill'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/timeout.rb:67:in `timeout'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/timeout.rb:101:in `timeout'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/protocol.rb:134:in `rbuf_fill'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/protocol.rb:116:in `readuntil'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/protocol.rb:126:in `readline'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:2028:in `read_status_line'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:2017:in `read_new'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:1051:in `request'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:1037:in `request'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:543:in `start'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:1035:in `request'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:948:in `request_get'
./test/net/http/test_connection.rb:22:in `test_connection_refused_in_request'
./test/net/http/test_connection.rb:20:in `test_connection_refused_in_request'
---------------
3) Failure:
test_readpartial_pos(TestIO)
[./test/ruby/test_io.rb:28:in `test_readpartial_pos'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/open-uri.rb:32:in `open_uri_original_open'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/open-uri.rb:32:in `open'
./test/ruby/test_io.rb:25:in `test_readpartial_pos'
./test/ruby/test_io.rb:9:in `mkcdtmpdir'
./test/ruby/test_io.rb:8:in `chdir'
./test/ruby/test_io.rb:8:in `mkcdtmpdir'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/tmpdir.rb:129:in `mktmpdir'
./test/ruby/test_io.rb:7:in `mkcdtmpdir'
./test/ruby/test_io.rb:23:in `test_readpartial_pos']:
<2> expected but was
<0>.
4) Error:
test_params(TestZlibDeflate):
Zlib::BufError: buffer error
./test/zlib/test_zlib.rb:130:in `inflate'
./test/zlib/test_zlib.rb:130:in `test_params'
2257 tests, 1672047 assertions, 2 failures, 2 errors
make: *** [test-all] Error 1
Macbook Pro retina $ make test-all
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./runruby.rb --extout=.ext -- "./test/runner.rb" --basedir="./test" --runner=console
Loaded suite .
Started
...................................................................................................................................................................................................................................................................................................................................................................F................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E............................
Finished in 266.684625 seconds.
1) Failure:
test_connection_refused_in_request(TestHTTP::HTTPConnectionTest) [./test/net/http/test_connection.rb:20]:
[ruby-core:28028].
<EOFError> exception expected but was
Class: <Errno::ECONNRESET>
Message: <"Connection reset by peer">
---Backtrace---
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/protocol.rb:135:in `sysread'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/protocol.rb:135:in `rbuf_fill'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/timeout.rb:67:in `timeout'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/timeout.rb:101:in `timeout'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/protocol.rb:134:in `rbuf_fill'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/protocol.rb:116:in `readuntil'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/protocol.rb:126:in `readline'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:2028:in `read_status_line'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:2017:in `read_new'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:1051:in `request'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:1037:in `request'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:543:in `start'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:1035:in `request'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/net/http.rb:948:in `request_get'
./test/net/http/test_connection.rb:22:in `test_connection_refused_in_request'
./test/net/http/test_connection.rb:20:in `test_connection_refused_in_request'
---------------
2) Failure:
test_readpartial_pos(TestIO)
[./test/ruby/test_io.rb:28:in `test_readpartial_pos'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/open-uri.rb:32:in `open_uri_original_open'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/open-uri.rb:32:in `open'
./test/ruby/test_io.rb:25:in `test_readpartial_pos'
./test/ruby/test_io.rb:9:in `mkcdtmpdir'
./test/ruby/test_io.rb:8:in `chdir'
./test/ruby/test_io.rb:8:in `mkcdtmpdir'
/Users/kei/.rvm/src/ruby-1.8.7-p370/lib/tmpdir.rb:129:in `mktmpdir'
./test/ruby/test_io.rb:7:in `mkcdtmpdir'
./test/ruby/test_io.rb:23:in `test_readpartial_pos']:
<2> expected but was
<0>.
3) Error:
test_params(TestZlibDeflate):
Zlib::BufError: buffer error
./test/zlib/test_zlib.rb:130:in `inflate'
./test/zlib/test_zlib.rb:130:in `test_params'
2257 tests, 1672047 assertions, 2 failures, 1 errors
make: *** [test-all] Error 1