Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459146 - dev-ruby/json-1.6.8 using old CFLAGS
Summary: dev-ruby/json-1.6.8 using old CFLAGS
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-25 12:38 UTC by Richard Freeman
Modified: 2013-02-26 12:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=dev-ruby/json-1.6.8' (einfo.txt,7.37 KB, text/plain)
2013-02-25 12:38 UTC, Richard Freeman
Details
build log (dev-ruby:json-1.6.8:20130225-122712.log,3.59 KB, text/plain)
2013-02-25 12:39 UTC, Richard Freeman
Details
emerge -pqv '=dev-ruby/json-1.6.8' (emergepqv.txt,109 bytes, text/plain)
2013-02-25 12:39 UTC, Richard Freeman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Freeman gentoo-dev 2013-02-25 12:38:00 UTC
This one is a bit bizarre.  Building dev-ruby/json-1.6.8 fails because the -combine flag is not recognized.  However, I removed that flag from my CFLAG a while back during a GCC upgrade.  Looking at the flags it is using it includes flags that I haven't used in quite a while.  Is it somehow caching the flags it is built with, or getting them from somewhere other than make.conf or /etc/portage/env.

Please note carefully the attached output of emerge --info '=dev-ruby/json-1.6.8' - that should pick up on any flags that portage is passing to the ebuild.

Reproducible: Always
Comment 1 Richard Freeman gentoo-dev 2013-02-25 12:38:39 UTC
Created attachment 340070 [details]
emerge --info '=dev-ruby/json-1.6.8'
Comment 2 Richard Freeman gentoo-dev 2013-02-25 12:39:10 UTC
Created attachment 340072 [details]
build log
Comment 3 Richard Freeman gentoo-dev 2013-02-25 12:39:37 UTC
Created attachment 340074 [details]
emerge -pqv '=dev-ruby/json-1.6.8'
Comment 4 Hans de Graaff gentoo-dev Security 2013-02-26 06:40:26 UTC
This is by design, all ruby extensions are compiled with the same CFLAGS as the original ruby interpreter to maximize compatibility. You can re-install your version of dev-lang/ruby to make the new CFLAGS effective there as well.
Comment 5 Richard Freeman gentoo-dev 2013-02-26 12:05:43 UTC
Indeed, that worked.  Thanks!