From: Luis Lavena Date: 2009-12-16T14:55:51+09:00 Subject: [ruby-core:27185] [Bug #2485] cannot cross-compile 1.8.7-p174 with 1.8.7-p174 Bug #2485: cannot cross-compile 1.8.7-p174 with 1.8.7-p174 http://redmine.ruby-lang.org/issues/show/2485 Author: Luis Lavena Status: Open, Priority: Normal Assigned to: Yui NARUSE, Category: build ruby -v: ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux] Apologies if I'm being stubborn but the previous statements in ticket #2464 and #2484 for 1.9.1 version are not true. I just tried to compile Ruby 1.8.7-p174 using 1.8.7-p174, as indicated in the DevelopersHowto recently edited, with the exact same results:

Creating library file: libmsvcrt-ruby18.dll.a
/home/luis/.rake-compiler/sources/ruby-1.8.7-p174/ext/extmk.rb:356: undefined method `<<' for nil:NilClass (NoMethodError)
make: *** [all] Error 1
Added '-v' option to MINIRUBY in the Makefile, and the results match:

Creating library file: libmsvcrt-ruby18.dll.a
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]
/home/luis/.rake-compiler/sources/ruby-1.8.7-p174/ext/extmk.rb:356: undefined method `<<' for nil:NilClass (NoMethodError)
make: *** [all] Error 1
This also happens for 1.9.1, which will be reported in it's own ticket. This also happens on Ubuntu 9.10 with GCC 4.3 and OSX 10.5 (Leopard) This contradicts the previous statement and rejection of being invalid, as this issue is clearly not a mismatch of version but clearly a bug. Please let me know if you require more details or be willing to accept a patch for the different issues exposed here and in the other bug reports already rejected. Thank you. -- Luis Lavena ---------------------------------------- http://redmine.ruby-lang.org