Project

General

Profile

Actions

Bug #998

closed

Cross compile 1.9.1 snapshot fails building socket

Added by luislavena (Luis Lavena) almost 16 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
Backport:
[ruby-core:21243]

Description

=begin
Downloaded latest snapshot (09 January 2009) for 1.9 and during cross compilation, found a new error:

 
 compiling socket
 make[1]: Entering directory `/home/luislavena/.rake-compiler/builds/ruby-1.9.1-snapshot/ext/socket'
 generating constants.h
 /home/luislavena/.rake-compiler/sources/ruby-1.9.1-snapshot/ext/socket/mkconstants.rb:27:in `gsub': can't convert Hash into String (TypeError)
         from /home/luislavena/.rake-compiler/sources/ruby-1.9.1-snapshot/ext/socket/mkconstants.rb:27:in `c_str'
         from (ERB):4:in `gen_int_to_name_hash'
         from /home/luislavena/.rake-compiler/sources/ruby-1.9.1-snapshot/ext/socket/mkconstants.rb:136:in `reverse_each_name_with_prefix_optional'
         from /home/luislavena/.rake-compiler/sources/ruby-1.9.1-snapshot/ext/socket/mkconstants.rb:72:in `reverse_each_name'
         from /home/luislavena/.rake-compiler/sources/ruby-1.9.1-snapshot/ext/socket/mkconstants.rb:70:in `reverse_each'
         from /home/luislavena/.rake-compiler/sources/ruby-1.9.1-snapshot/ext/socket/mkconstants.rb:70:in `reverse_each_name'
         from /home/luislavena/.rake-compiler/sources/ruby-1.9.1-snapshot/ext/socket/mkconstants.rb:135:in `reverse_each_name_with_prefix_optional'
         from (ERB):2:in `gen_int_to_name_hash'
         from /home/luislavena/.rake-compiler/sources/ruby-1.9.1-snapshot/ext/socket/mkconstants.rb:179:in `def_intern'
         from /home/luislavena/.rake-compiler/sources/ruby-1.9.1-snapshot/ext/socket/mkconstants.rb:184
 make[1]: *** [constants.h] Error 1
 make[1]: Leaving directory `/home/luislavena/.rake-compiler/builds/ruby-1.9.1-snapshot/ext/socket'
 make: *** [exts] Error 1
 
 

It's using 1.8.6-p114 on x86-linux for cross compilation.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0