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

Bug 250002

Summary: x11-libs/xpa shared libraries built without respecting LDFLAGS
Product: Gentoo Linux Reporter: Joshua Rich <joshua.rich>
Component: Current packagesAssignee: Sébastien Fabbro (RETIRED) <bicatali>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331933    
Attachments: patch to make build respect LDFLAGS

Description Joshua Rich 2008-12-06 03:35:09 UTC
For x11-libs/xpa-2.1.8, a QA notice is printed upon emerging:

 * QA Notice: Files built without respecting LDFLAGS have been detected
 *  Please include the following list of files in your report:
 * /usr/lib/tclxpa/libtclxpa.so.1.0
 * /usr/lib/libxpa.so.1.0

Attached patch to ebuild fixes this by using sed to substitute the LDFLAGS environment variable into the link command.


Reproducible: Always
Comment 1 Joshua Rich 2008-12-06 03:38:05 UTC
Created attachment 174384 [details, diff]
patch to make build respect LDFLAGS

The sed command might be a bit over-zealous in substituting LDFLAGS into the mklib script, please adjust if necessary.
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2008-12-06 11:51:09 UTC
Fixed, thanks for the patch!
Comment 3 Joshua Rich 2008-12-07 07:44:24 UTC
(In reply to comment #2)
> Fixed, thanks for the patch!
> 

Thanks Sébastien.

Just a heads-up, some of the other dependencies of sci-astronomy/ds9 also do not respect LDFLAGS (funtools is at least one where a similar sed line in the ebuild will fix it), will file some bugs.

Thanks and regards,

Joshua Rich