Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250002 - x11-libs/xpa shared libraries built without respecting LDFLAGS
Summary: x11-libs/xpa shared libraries built without respecting LDFLAGS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Sébastien Fabbro (RETIRED)
Depends on:
Blocks: ldflags
  Show dependency tree
Reported: 2008-12-06 03:35 UTC by Joshua Rich
Modified: 2010-08-09 21:00 UTC (History)
0 users

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

patch to make build respect LDFLAGS (xpa-2.1.8-respect-ldflags.patch,305 bytes, patch)
2008-12-06 03:38 UTC, Joshua Rich
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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/
 * /usr/lib/

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