Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294358 - app-misc/iguanaIR: fails with forced --as-needed
Summary: app-misc/iguanaIR: fails with forced --as-needed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Joerg Bornkessel (RETIRED)
Depends on:
Blocks: as-needed
  Show dependency tree
Reported: 2009-11-24 09:16 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-12-21 14:13 UTC (History)
2 users (show)

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

Build log (iguanaIR-0.93:20091124-002109.log,8.45 KB, text/plain)
2009-11-24 09:17 UTC, Diego Elio Pettenò (RETIRED)
adding epatch to ebuild (iguanaIR-0.93.diff,301 bytes, patch)
2009-12-13 16:59 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
fixing as-needed issues (iguanaIR-0.93-as-needed.patch,1.21 KB, patch)
2009-12-13 17:02 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
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 2009-11-24 09:16:20 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).

Please note that this bug _might_ apply to -Wl,--as-needed in LDFLAGS as well; in both cases it should be fixed. Also, if this is due to the package in question not respecting user-defined LDFLAGS, you should get to fix that too.

Check the attached build log.

Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-11-24 09:17:08 UTC
Created attachment 211028 [details]
Build log
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-12-13 16:59:56 UTC
Created attachment 212905 [details, diff]
adding epatch to ebuild
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-12-13 17:02:32 UTC
Created attachment 212906 [details, diff]
fixing as-needed issues

It's only workaround. To properly fix it, instead of hardcoding libraries to, it would be better to clean build system and write simple
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-12-21 14:13:18 UTC
+  21 Dec 2009; Samuli Suominen <> iguanaIR-0.93.ebuild,
+  +files/iguanaIR-0.93-asneeded.patch:
+  Fix building with -Wl,--as-needed wrt #294358 by Kacper Kowalik.