Bug #1412: 1.8.7-p160 extmk.rb fails when cross compiling
http://redmine.ruby-lang.org/issues/show/1412

Author: Luis Lavena
Status: Open, Priority: Normal
Category: build
ruby -v: 1.8.7 patchlevel 160

Hello everybody,

I found that 1.8.7 (since p72) keeps failing to cross compile on either OSX or Linux.

The following is the error message I'm getting when executing make (by rake-compiler)

<pre><code>
Users/luis/.rake-compiler/sources/ruby-1.8.7-p160/ext/extmk.rb:356: undefined method `<<' for nil:NilClass (NoMethodError)
</code></pre>

While a similar error got fixed in 1.9.1 and 1.8.6, this seems didn't propagate/backported to 1.8.7 properly.

I've also tried branch 1_8_7 without success, with revision 23299

<pre><code>
luis@seyori ~/.rake-compiler/sources/ruby-1.8.7-dev$ svn info
Path: .
URL: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7
Repository Root: http://svn.ruby-lang.org/repos/ruby
Repository UUID: b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Revision: 23299
Node Kind: directory
Schedule: normal
Last Changed Author: shyouhei
Last Changed Rev: 23156
Last Changed Date: 2009-04-08 06:59:58 -0300 (Wed, 08 Apr 2009)
</code></pre>

Thank you


----------------------------------------
http://redmine.ruby-lang.org