Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150384 - gems.eclass does not honor mkmf's $LDFLAGS
Summary: gems.eclass does not honor mkmf's $LDFLAGS
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-07 07:41 UTC by Nguyen Thai Ngoc Duy (RETIRED)
Modified: 2010-01-11 15:25 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2006-10-07 07:41:12 UTC
it calls make DLDFLAGS=$LDFLAGS which overrides $LDFLAGS completely. If $LDFLAGS contains some linking libraries, then the ebuild will emerge fine but not working.
Some ebuilds have work-around by not calling gems_src_install.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-07 07:47:43 UTC
The problem is that without that change, it tries to use the LDFLAGS used to build Ruby to build the rest (and they might not be adapt for that).
Comment 2 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2006-10-07 08:05:28 UTC
Perhaps we should patch mkmf :P I'll try to convice gem makers to use $libs instead of $LDFLAGS. Although I still want gems.eclass to append/override ldflags.
Comment 3 Alex Legler (RETIRED) archtester gentoo-dev Security 2010-01-11 15:25:38 UTC
gems.eclass is no longer used for new packages. Closing WONTFIX.