From: Hugh Sasse Staff Elec Eng Date: 2003-03-24T19:22:34+09:00 Subject: Re: Solaris2.5.1, ruby-1.8.0 snapshot 19-MAR-2003 On Sun, 23 Mar 2003, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: Solaris2.5.1, ruby-1.8.0 snapshot 19-MAR-2003" > on 03/03/22, Hugh Sasse Staff Elec Eng writes: > > |So, what else would you like apart from mkmf.log? > > detecting result, please. Well, as I said, I'd let you know what happened on Monday. I cam in to find that it built successfully this time! brains hgs 89 %> $RUBY --version ruby 1.8.0 (2003-03-12) [sparc-solaris2.5.1] Anyway, here is ./ext/digest/md5/mkmf.log for info: =begin have_library: checking for main() in -lcrypto... /usr/local/bin/gcc -o conftest -I/home/hgs/ruby/ruby-snapshot -I/home/hgs/ruby/ruby-snapshot -g -O2 -DHAVE_CONFIG_H -I/home/hgs/ruby/ruby-snapshot/ext/digest/md5/.. conftest.c -L/home/hgs/ruby/ruby-snapshot -L/apps/hgs/RUBY-SNAPSHOT/lib -Wl,-E -lruby-static -lcrypto -ldl -lcrypt -lm -lc /usr/local/bin/ld: cannot find -lcrypto collect2: ld returned 1 exit status checked program was: /* begin */ int main() { return 0; } int t() { main(); return 0; } /* end */ /usr/local/bin/gcc -o conftest -I/home/hgs/ruby/ruby-snapshot -I/home/hgs/ruby/ruby-snapshot -g -O2 -DHAVE_CONFIG_H -I/home/hgs/ruby/ruby-snapshot/ext/digest/md5/.. conftest.c -L/home/hgs/ruby/ruby-snapshot -L/apps/hgs/RUBY-SNAPSHOT/lib -Wl,-E -lruby-static -lcrypto -ldl -lcrypt -lm -lc /usr/local/bin/ld: cannot find -lcrypto collect2: ld returned 1 exit status checked program was: /* begin */ int main() { return 0; } int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } /* end */ have_header: checking for sys/cdefs.h... /usr/local/bin/gcc -E -I/home/hgs/ruby/ruby-snapshot -I/home/hgs/ruby/ruby-snapshot -g -O2 -DHAVE_CONFIG_H -I/home/hgs/ruby/ruby-snapshot/ext/digest/md5/.. -o conftest.i conftest.c conftest.c:1:23: sys/cdefs.h: No such file or directory checked program was: /* begin */ #include /* end */ have_header: checking for inttypes.h... /usr/local/bin/gcc -E -I/home/hgs/ruby/ruby-snapshot -I/home/hgs/ruby/ruby-snapshot -g -O2 -DHAVE_CONFIG_H -I/home/hgs/ruby/ruby-snapshot/ext/digest/md5/.. -o conftest.i conftest.c conftest.c:1:22: inttypes.h: No such file or directory checked program was: /* begin */ #include /* end */ have_header: checking for unistd.h... /usr/local/bin/gcc -E -I/home/hgs/ruby/ruby-snapshot -I/home/hgs/ruby/ruby-snapshot -g -O2 -DHAVE_CONFIG_H -I/home/hgs/ruby/ruby-snapshot/ext/digest/md5/.. -o conftest.i conftest.c checked program was: /* begin */ #include /* end */ =end which includes a test for inttypes.h. Given that I seem to have a successful build on Solaris2.5.1 with gcc-3.2.2 now, and it got through Rubicon, is there anything more useful that I can do to help you with stability on this platform? The failed Rubicon tests are below. > > matz. > > Thank you Hugh --------- Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/3.2.2/specs Configured with: ../gcc-3.2.2/configure --with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld --enable-languages=ada,c,c++,f77,objc Thread model: posix gcc version 3.2.2 ruby 1.8.0 (2003-03-12) [sparc-solaris2.5.1] SunOS brains 5.5.1 Generic_103640-29 sun4m sparc SUNW,SPARCstation-10 --------- /apps/hgs/RUBY-SNAPSHOT/bin/ruby AllTests.rb ======================================================================== All Tests Test Results V0.3.5 ======================================================================== Array FAIL 65 470 1 Assignment FAIL 4 42 2 BlocksProcs FAIL 3 26 1 Dir FAIL 21 78 2 File FAIL 33 298 3 FileTest FAIL 4 103 1 File__Stat FAIL 35 356 2 IO FAIL 53 1236 1 LoopStuff FAIL 15 56 1 Math FAIL 2 59 1 Module FAIL 25 92 1 Thread FAIL 33 101 1 Time FAIL 41 1687 5 ======================================================================== All 72 files FAIL 922 43934 21 1 ======================================================================== Failure Report ======================================================================== TestArray: ---------- ./builtin/ArrayBase.rb:71:in `test_MINUS'(TestArray) ....Expected: "<[1]> " ....But was: "<[1, 1, 1, 1]>" ------------------------------------------------------------ TestAssignment: --------------- ./language/TestAssignment.rb:35:in `testBasicAssignment'(TestAssignment) ./language/TestAssignment.rb:28:in `greater_or_equal' ./language/TestAssignment.rb:28:in `testBasicAssignment' ....Expected: "<[]> " ....But was: "<[nil]>" ./language/TestAssignment.rb:135:in `testMultipleAssignment'(TestAssignment) ./language/TestAssignment.rb:134:in `greater_or_equal' ./language/TestAssignment.rb:134:in `testMultipleAssignment' ....Expected: "<[]> " ....But was: "<[nil]>" ------------------------------------------------------------ TestBlocksProcs: ---------------- ./language/TestBlocksProcs.rb:64:in `testYield'(TestBlocksProcs) ./language/TestBlocksProcs.rb:64:in `f' ./language/TestBlocksProcs.rb:64:in `testYield' ....Expected: "<[]> " ....But was: "<[nil]>" ------------------------------------------------------------ TestDir: -------- ....Expected: "<[]> " ....But was: "<[\"builtin/_test/_file1\", \"builtin/_test/_file2\"]>" ....Expected: "<[]> " ....But was: "<[\"builtin/_test/_file1\", \"builtin/_test/_file2\"]>" ------------------------------------------------------------ TestFile: --------- ./builtin/TestFile.rb:38:in `test_s_basename'(TestFile) ....Expected: "<> " ....But was: "" ./builtin/TestFile.rb:88:in `test_s_dirname'(TestFile) ....Expected: " " ....But was: "" ./builtin/TestFile.rb:190:in `test_s_ftype'(TestFile) ./builtin/TestFile.rb:188:in `each' ./builtin/TestFile.rb:188:in `test_s_ftype' ....Expected: " " ....But was: "" ------------------------------------------------------------ TestFileTest: ------------- ./builtin/TestFileTest.rb:153:in `test_test'(TestFileTest) ./builtin/TestFileTest.rb:151:in `each' ./builtin/TestFileTest.rb:151:in `test_test' ....Expected: " " ....But was: "" ------------------------------------------------------------ TestFile__Stat: --------------- ./builtin/TestFile__Stat.rb:40:in `try'(TestFile__Stat) ./builtin/TestFile__Stat.rb:133:in `test_ftype' ./builtin/TestFile__Stat.rb:132:in `each' ./builtin/TestFile__Stat.rb:132:in `test_ftype' ....Expected: " " ....But was: "" ./builtin/TestFile__Stat.rb:40:in `try'(TestFile__Stat) ./builtin/TestFile__Stat.rb:271:in `test_socket?' ....Expected: " " ....But was: "" ------------------------------------------------------------ TestIO: ------- ./builtin/TestIO.rb:654:in `test_pos='(TestIO) ./builtin/TestIO.rb:653:in `each' ./builtin/TestIO.rb:653:in `test_pos=' ./builtin/TestIO.rb:649:in `open' ./builtin/TestIO.rb:649:in `test_pos=' ....Expected: "<0> " ....But was: "<95>" ------------------------------------------------------------ TestLoopStuff: -------------- ./language/TestLoopStuff.rb:272:in `testClassFullOfIterators'(TestLoopStuff) ....Expected: "<1> " ....But was: "<[1]>" ------------------------------------------------------------ TestModule: ----------- ./builtin/TestModule.rb:199:in `test_instance_methods'(TestModule) ....Expected: "<[\"aClass\"]> " ....But was: "<[\"aClass\", \"aClass2\"]>" ------------------------------------------------------------ TestThread: ----------- ./builtin/TestThread.rb:467:in `test_s_kill'(TestThread) ....Expected: "<476> " ....But was: "<477>" ------------------------------------------------------------ TestTime: --------- ./builtin/TestTime.rb:203:in `test_gmtime'(TestTime) ....The condition is ./builtin/TestTime.rb:266:in `test_localtime'(TestTime) ....The condition is ./builtin/TestTime.rb:417:in `test_s_gm'(TestTime) ....The condition is ./builtin/TestTime.rb:436:in `test_s_local'(TestTime) ....The condition is ./builtin/TestTime.rb:458:in `test_s_mktime'(TestTime) ....The condition is ======================================================================== Error Report ======================================================================== TestMath: --------- ./builtin/TestMath.rb:118:in `log'(TestMath) ./builtin/TestMath.rb:118:in `test_fns' ....Argument out of domain - "log" ========================================================================