Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 150384

Summary: gems.eclass does not honor mkmf's $LDFLAGS
Product: Gentoo Linux Reporter: Nguyen Thai Ngoc Duy (RETIRED) <pclouds>
Component: EclassesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED WONTFIX    
Severity: major    
Priority: High    
Version: 2005.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.