Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248197 - net-wireless/wavemon: fails with forced --as-needed
Summary: net-wireless/wavemon: fails with forced --as-needed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
Depends on:
Blocks: as-needed
  Show dependency tree
Reported: 2008-11-22 14:20 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-06-02 13:32 UTC (History)
0 users

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

Build log (wavemon-0.4.0b-r2:20081122-141551.log,27.27 KB, text/plain)
2008-11-22 14:20 UTC, Diego Elio Pettenò (RETIRED)
Patch to fix link ordering and respect LDFLAGS (wavemon-as-needed.patch,415 bytes, patch)
2009-02-14 02:14 UTC, Kevin Pyle
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-22 14:20:38 UTC
I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out for details).

Check the attached build log.

Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-22 14:20:59 UTC
Created attachment 172859 [details]
Build log
Comment 2 Kevin Pyle 2009-02-14 02:14:35 UTC
Created attachment 181943 [details, diff]
Patch to fix link ordering and respect LDFLAGS

The upstream ignores user LDFLAGS, and specifies the libraries too early in the link line.  This patch removes the explicit rule, so that GNU make's implicit linking rule is used.  The library variable is also renamed, so that the implicit rule will use the library.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-02 13:32:26 UTC
Thanks Kevin, patch applied.