Summary: | dev-lang/ruby-1.9.2_p290 drops ABI CFLAGS, breaks on portage-multilib | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nathan Phillip Brink (binki) (RETIRED) <binki> |
Component: | Current packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | esigra |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 306835 | ||
Attachments: |
ruby-1.9.2_p290-build.log
emerge--info.txt ruby-1.9-CFLAGS-multilib.patch |
Created attachment 286497 [details]
emerge--info.txt
Created attachment 286509 [details, diff]
ruby-1.9-CFLAGS-multilib.patch
Applying this patch and remembering to reinstall dev-ruby/rubygems under portage-multilib produces a working 32-bit ruby installation (with one minor modification to the multilib overlay which tommy should have committed within a day) :-).
Shouldn't this be reported upstream? Also, is this patch still valid/needed for ruby 1.9.3? |
Created attachment 286495 [details] ruby-1.9.2_p290-build.log In its universal binary support, ruby-1.9's configure.in removes -m32 and -m64 from CFLAGS. This breaks building a 32-bit ruby under portage-multilib. See build.log. I expect to be able to attach a tested patch which removes the RUBY_UNIVERSAL_ARCH and RUBY_DEFAULT_ARCH calls from configure.in soon.