Ruby-dev summary 27542-27662

Hi all,

This is a summary of ruby-dev mailing list.

[ruby-dev:27551] Build testers wanted for 1.8.4

URABE Shyouhei proposed us to do build test for 1.8.4 preview1
on following platforms. The list below is borrowed from the
same announce for 1.8.3 by Masayoshi Takahashi[ruby-dev:27093].

* Linux
* Windows(mswin32)
* Windows(cygwin/MinGW/djgpp)
* Windows(bcc32)
* Mac OS X
* FreeBSD
* NetBSD
* OpenBSD
* Solaris
* HP-UX
* Tru64
* BeOS
* others

For the request from Hiroyuki Ueda, Matz posted instruction
of the test:

1) Run following commands in order(added Takahiro Kambe's
suggestion on [ruby-dev:27591]):
% configure
% make
% su
# make install
# exit
% make test
% make test-all

2) If you fail in the commands, report your detailed error log
   to ML.

Here is a list of brief of the reports posted to ruby-dev:
In the list, The following error in xsd is shown by <xsd>:

      Error:
    test_wsdl(XSD::TestEmptyCharset):
    ArgumentError: No decoder found for encoding EUC-JP. Please install
iconv.
        /home/ueda/ruby-1.8.4/lib/rexml/encoding.rb:42:in `encoding='
        /home/ueda/ruby-1.8.4/lib/rexml/source.rb:40:in `encoding='
        /home/ueda/ruby-1.8.4/lib/rexml/parsers/baseparser.rb:202:in `pull'
        /home/ueda/ruby-1.8.4/lib/rexml/parsers/streamparser.rb:16:in
`parse'
        /home/ueda/ruby-1.8.4/lib/rexml/document.rb:173:in `parse_stream'
        /home/ueda/ruby-1.8.4/lib/xsd/xmlparser/rexmlparser.rb:27:in
`do_parse'
        /home/ueda/ruby-1.8.4/lib/wsdl/xmlSchema/parser.rb:63:in `parse'
        ./xsd/test_noencoding.rb:15:in `test_wsdl'

*Linux
- Ubuntu-ja-5.10 by Kenichi Tamura[ruby-dev:27633]: OK

*Windows(mswin32)
- by U.Nakamura[ruby-dev:27551]: OK

*Windows(bcc32)
- bcc32 by H.Yamamoto[ruby-dev:27561]: 4F2E
  1) Error:
test_IOReader_s_create_binmode(TestCSV):
CSV::IllegalFormatError: CSV::IllegalFormatError
    E:/temp/lib/ruby/1.8/csv.rb:639:in `get_row'
    E:/temp/lib/ruby/1.8/csv.rb:567:in `shift'
    e:\ruby-cvs\ruby_1_8\test/csv/test_csv.rb:307:in
`test_IOReader_s_create_bin
mode'

  2) Failure:
test_macCR(TestCSV) [e:\ruby-cvs\ruby_1_8\test/csv/test_csv.rb:1158]:
<[["Avenches", "aus Umgebung"], ["Bad Hersfeld", "Ausgrabung"]]>
expected but wa
s
<[["Avenches", "aus Umgebung\"Bad Hersfeld", "Ausgrabung"]]>.

  3) Failure:
test_s_foreach(TestCSV) [e:\ruby-cvs\ruby_1_8\test/csv/test_csv.rb:1734]:
<[["1", "2", "3"], ["4", "5", "6"]]> expected but was
<[["1", "2", "34", "5", "6"]]>.

  4) Failure:
test_precision(TestFloat) [e:\ruby-cvs\ruby_1_8\test/ruby/test_float.rb:46]:
<3.75176750364613e+17> expected but was
<3.75176750364613e+17>.
(Note: This test is now passed by [ruby-dev:27575])

  5) Failure:
test_s_open_error(TestSDBM)
[e:\ruby-cvs\ruby_1_8\test/sdbm/test_sdbm.rb:122]:
<Errno::EACCES> exception expected but none was thrown.

  6) Error: <xsd>

*Mac OS X
- Mac OS X(Darwin 7.8.0)by URABE Shyohei[ruby-dev:27556]: OK

*FreeBSD
- 4.11-STABLE and 5.4-STABLE by Hiroyuki Ueda[ruby-dev:27564]: 1E

   1) Error: <xsd>

- 6.0-RC1 by Hiroyuki Ueda[ruby-dev:27564]: 2F1E
  1) Failure:
test_delete(TestDBM) [./dbm/test_dbm.rb:332]:
<DBMError> exception expected but none was thrown.

  2) Failure:
test_s_open_error(TestSDBM) [./sdbm/test_sdbm.rb:122]:
<Errno::EACCES> exception expected but none was thrown.

  3) Error: <xsd>

*NetBSD
- 3.99.9 + chroot by Takahiro Kambe[ruby-dev:27591]: OK
- 2.1_STABLE + chroot + libkver by Takahiro Kambe[ruby-dev:27591]: OK

- 2.0.2_STABLE by zunda[ruby-dev:27558]: 1F

     1) Failure:
   test_flush(TestIONonblock) [./io/nonblock/test_flush.rb:25]:
   <IOError> exception expected but none was thrown.

- 1.6.2_STABLE by Takahiro Kambe[ruby-dev:27597]: 1E
  (Note: This error was already fixed on CVS HEAD by GOTOU
Yuuzou[ruby-dev:27616])

  $ make test-all
  ./miniruby ./runruby.rb --extout=.ext -- -C "./test" runner.rb
--runner=console
  Loaded suite .
  Started
  ...
  /usr/local/src/ruby-1.8.4/.ext/i386-netbsdelf1.6.2./openssl.so:
Undefined PLT symbol "ERR_peek_last_error" (symnum = 679)

*Solaris
- Solaris 8(sparc) + gcc by Masahiro Tomita[ruby-dev:27573]: OK
- Solaris 8(?) + Sun compiler by Shinya Kuwamura[ruby-dev:27603]: link error
(He posted a patch for the error with the report)

*HP-UX
- HP-UX B.11.11 9000/861 + HP C Compiler by MIYAMUKO
Katsuyuki[ruby-dev:27612]: 1F1E
  1) Failure:
test_exit_action(TestSignal) [./test/ruby/test_signal.rb:50]:
[ruby-dev:26128].

  2) Error: <xsd>

*Others
- SFU(Interix) 3.5 by Kazuhiro NISHIYAMA[ruby-dev:27570]: 1E
  1) Error: <xsd>

[ruby-dev:27532] [win32] replaced symbols

Nobu Nakada posted a patch for ruby DLL on win32 platforms
(bcc32, mswin and mingw) to export proper function symbols,
using symbol aliases. The patch will reduce the risk of
using DLL function symbols redefined in win32.h and win32.c.
He merged the patch into CVS HEAD after tests and reviews
by H.Yamamoto and win32 maintainer U.Nakamura.

ruby-dev summary index:
http://i.loveruby.net/en/ruby-dev-summary.html

$ uname -a
Darwin kaa.coop.robotcoop.com 8.3.0 Darwin Kernel Version 8.3.0: Mon Oct 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC Power Macintosh powerpc

$ make test-all
./miniruby ./runruby.rb --extout=.ext -- -C "./test" runner.rb --runner=console
Loaded suite .
Started
[lots of dots]
Finished in 139.573859 seconds.

   1) Error:
test_core_03_notify(Rinda::TupleSpaceTest):
ThreadError: current thread not owner
     /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/monitor.rb:259:in `mon_check_owner'
     /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/monitor.rb:211:in `mon_exit'
     /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/monitor.rb:231:in `synchronize'
     /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/rinda/tuplespace.rb:443:in `move'
     /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/rinda/tuplespace.rb:433:in `take'
     ./rinda/test_rinda.rb:37:in `_forward'
     ./rinda/test_rinda.rb:45:in `forward'
     ./rinda/test_rinda.rb:97:in `forward'
     ./rinda/test_rinda.rb:113:in `sleep'
     ./rinda/test_rinda.rb:378:in `test_core_03_notify'

   2) Error:
test_parseMethodResponse1(Test_REXMLStreamParser):
RuntimeError: wrong dateTime.iso8601 format gpippen
     /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/xmlrpc/parser.rb:114:in `dateTime'
     /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/xmlrpc/parser.rb:536:in `tag_end'
     /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/rexml/parsers/streamparser.rb:26:in `parse'
     /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/rexml/document.rb:173:in `parse_stream'
     /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/xmlrpc/parser.rb:717:in `parse'
     /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/xmlrpc/parser.rb:460:in `parseMethodResponse'
     ./xmlrpc/test_parser.rb:32:in `test_parseMethodResponse1'

1304 tests, 14278 assertions, 0 failures, 2 errors
make: *** [test-all] Error 1

···

On Nov 10, 2005, at 7:31 AM, Kazuo Saito wrote:

Hi all,

This is a summary of ruby-dev mailing list.

[ruby-dev:27551] Build testers wanted for 1.8.4

URABE Shyouhei proposed us to do build test for 1.8.4 preview1
on following platforms. The list below is borrowed from the
same announce for 1.8.3 by Masayoshi Takahashi[ruby-dev:27093].

* Mac OS X

For the request from Hiroyuki Ueda, Matz posted instruction
of the test:

1) Run following commands in order(added Takahiro Kambe's
suggestion on [ruby-dev:27591]):
% configure
% make
% su
# make install
# exit
% make test
% make test-all

2) If you fail in the commands, report your detailed error log
   to ML.

*Mac OS X
- Mac OS X(Darwin 7.8.0)by URABE Shyohei[ruby-dev:27556]: OK

--
Eric Hodel - drbrain@segment7.net - http://segment7.net
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04

Kazuo Saito ha scritto:

Hi all,

This is a summary of ruby-dev mailing list.

[ruby-dev:27551] Build testers wanted for 1.8.4

URABE Shyouhei proposed us to do build test for 1.8.4 preview1
on following platforms. The list below is borrowed from the
same announce for 1.8.3 by Masayoshi Takahashi[ruby-dev:27093].

it seem that mingw is missing..
here are my results for 1.8.4preview1:

  1) Failure:
test_shifting_size(TestLogDevice) [./logger/test_logger.rb:350]:
<false> is not true.

  2) Failure:
test_s_open_error(TestSDBM) [./sdbm/test_sdbm.rb:122]:
<Errno::EACCES> exception expected but none was thrown.

  3) Failure:
test_cgi(TestWEBrickCGI)
    [./webrick/test_cgi.rb:27:in `test_cgi'
     C:/dv/ruby-1.8.4/lib/net/http.rb:1049:in `request'
     C:/dv/ruby-1.8.4/lib/net/http.rb:2104:in `reading_body'
     C:/dv/ruby-1.8.4/lib/net/http.rb:1048:in `request'
     C:/dv/ruby-1.8.4/lib/net/http.rb:1033:in `request'
     C:/dv/ruby-1.8.4/lib/net/http.rb:545:in `start'
     C:/dv/ruby-1.8.4/lib/net/http.rb:1031:in `request'
     ./webrick/test_cgi.rb:27:in `test_cgi'
     ./webrick/utils.rb:26:in `start_server'
     ./webrick/utils.rb:34:in `start_httpserver'
     ./webrick/test_cgi.rb:24:in `test_cgi']:
<"/webrick.cgi"> expected but was
<"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">\n<HTML>\n
<HEAD><TITLE>In
ternal Server Error</TITLE></HEAD>\n <BODY>\n <H1>Internal Server
Error</H1>
\n Premature end of script headers:
C:/dv/ruby-1.8.4/test/webrick/webrick.cgi
\n <HR>\n <ADDRESS>\n WEBrick/1.3.1 (Ruby/1.8.4/2005-10-29)
at\n 1
27.0.0.1:4230\n </ADDRESS>\n </BODY>\n</HTML>\n">.

  4) Error:
test_wsdl(XSD::TestEmptyCharset):
ArgumentError: No decoder found for encoding EUC-JP. Please install iconv.
    C:/dv/ruby-1.8.4/lib/rexml/encoding.rb:42:in `encoding='
    C:/dv/ruby-1.8.4/lib/rexml/source.rb:40:in `encoding='
    C:/dv/ruby-1.8.4/lib/rexml/parsers/baseparser.rb:202:in `pull'
    C:/dv/ruby-1.8.4/lib/rexml/parsers/streamparser.rb:16:in `parse'
    C:/dv/ruby-1.8.4/lib/rexml/document.rb:173:in `parse_stream'
    C:/dv/ruby-1.8.4/lib/xsd/xmlparser/rexmlparser.rb:27:in `do_parse'
    C:/dv/ruby-1.8.4/lib/wsdl/xmlSchema/parser.rb:63:in `parse'
    ./xsd/test_noencoding.rb:15:in `test_wsdl'

1152 tests, 12261 assertions, 3 failures, 1 errors
make: *** [test-all] Error 1

My box:
windows xp pro sp2

ruby -v
ruby 1.8.4 (2005-10-29) [i386-mingw32]

gcc -v
Reading specs from c:/program files/mingw/bin/../lib/gcc/mingw32/3.4.2/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as
--host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads
--disable-nls --enable-languages=c,c++,f77,ada,objc,java
--disable-win32-registry --disable-shared --enable-sjlj-exceptions
--enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm
--disable-libgcj-debug --enable-interpreter
--enable-hash-synchronization --enable-libstdcxx-debug
Thread model: win32
gcc version 3.4.2 (mingw-special)

on athlon xp 2000+

Kazuo Saito wrote:

Hi all,

This is a summary of ruby-dev mailing list.

[ruby-dev:27551] Build testers wanted for 1.8.4

URABE Shyouhei proposed us to do build test for 1.8.4 preview1
on following platforms. The list below is borrowed from the
same announce for 1.8.3 by Masayoshi Takahashi[ruby-dev:27093].

* Linux
* Windows(mswin32)
* Windows(cygwin/MinGW/djgpp)
* Windows(bcc32)
* Mac OS X
* FreeBSD
* NetBSD
* OpenBSD
* Solaris
* HP-UX
* Tru64
* BeOS
* others

For the request from Hiroyuki Ueda, Matz posted instruction
of the test:

1) Run following commands in order(added Takahiro Kambe's
suggestion on [ruby-dev:27591]):
% configure
% make
% su
# make install
# exit
% make test
% make test-all

2) If you fail in the commands, report your detailed error log
   to ML.

Solaris 10
gcc 3.4.4
Sun's make and ld

djberge@~/local/src/ruby/ruby-1.8.4-727>make test-all
make: Warning: Illegal dependency list for target `.DEFAULT'
../miniruby ./runruby.rb --extout=.ext -- -C "./test" runner.rb
--runner=console
Loaded suite .
Started
.............................................................................................................
.............................................................................................................
.............................................................................................................
.............................................................................................................
.............................................................................................................
.......................................................................................................***
Error code 139
make: Fatal error: Command failed for target `test-all'

- Dan

A second test run reports:

$ make test-all
./miniruby ./runruby.rb --extout=.ext -- -C "./test" runner.rb --runner=console
Loaded suite .
Started
[lots of dots]
Finished in 170.529889 seconds.

1304 tests, 14289 assertions, 0 failures, 0 errors

···

On Nov 10, 2005, at 11:37 AM, Eric Hodel wrote:

On Nov 10, 2005, at 7:31 AM, Kazuo Saito wrote:

Hi all,

This is a summary of ruby-dev mailing list.

[ruby-dev:27551] Build testers wanted for 1.8.4

URABE Shyouhei proposed us to do build test for 1.8.4 preview1
on following platforms. The list below is borrowed from the
same announce for 1.8.3 by Masayoshi Takahashi[ruby-dev:27093].

* Mac OS X

For the request from Hiroyuki Ueda, Matz posted instruction
of the test:

1) Run following commands in order(added Takahiro Kambe's
suggestion on [ruby-dev:27591]):
% configure
% make
% su
# make install
# exit
% make test
% make test-all

2) If you fail in the commands, report your detailed error log
   to ML.

*Mac OS X
- Mac OS X(Darwin 7.8.0)by URABE Shyohei[ruby-dev:27556]: OK

$ uname -a
Darwin kaa.coop.robotcoop.com 8.3.0 Darwin Kernel Version 8.3.0: Mon Oct 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC Power Macintosh powerpc

$ make test-all
./miniruby ./runruby.rb --extout=.ext -- -C "./test" runner.rb --runner=console
Loaded suite .
Started
[lots of dots]
Finished in 139.573859 seconds.

  1) Error:
test_core_03_notify(Rinda::TupleSpaceTest):
ThreadError: current thread not owner
    /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/monitor.rb:259:in `mon_check_owner'
    /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/monitor.rb:211:in `mon_exit'
    /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/monitor.rb:231:in `synchronize'
    /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/rinda/tuplespace.rb:443:in `move'
    /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/rinda/tuplespace.rb:433:in `take'
    ./rinda/test_rinda.rb:37:in `_forward'
    ./rinda/test_rinda.rb:45:in `forward'
    ./rinda/test_rinda.rb:97:in `forward'
    ./rinda/test_rinda.rb:113:in `sleep'
    ./rinda/test_rinda.rb:378:in `test_core_03_notify'

  2) Error:
test_parseMethodResponse1(Test_REXMLStreamParser):
RuntimeError: wrong dateTime.iso8601 format gpippen
    /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/xmlrpc/parser.rb:114:in `dateTime'
    /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/xmlrpc/parser.rb:536:in `tag_end'
    /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/rexml/parsers/streamparser.rb:26:in `parse'
    /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/rexml/document.rb:173:in `parse_stream'
    /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/xmlrpc/parser.rb:717:in `parse'
    /Users/drbrain/Desktop/Downloads/ruby-1.8.4/lib/xmlrpc/parser.rb:460:in `parseMethodResponse'
    ./xmlrpc/test_parser.rb:32:in `test_parseMethodResponse1'

1304 tests, 14278 assertions, 0 failures, 2 errors
make: *** [test-all] Error 1

--
Eric Hodel - drbrain@segment7.net - http://segment7.net
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04