Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247067 - dev-libs/log4cpp: fails with forced --as-needed
Summary: dev-libs/log4cpp: 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: C++ Team [disbanded]
Depends on:
Blocks: as-needed
  Show dependency tree
Reported: 2008-11-16 14:34 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-06-29 19:10 UTC (History)
1 user (show)

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

Build log (dev-libs:log4cpp-1.0:20081116-143140.log,61.67 KB, text/plain)
2008-11-16 14:35 UTC, Diego Elio Pettenò (RETIRED)

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-16 14:34:40 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-16 14:35:03 UTC
Created attachment 171982 [details]
Build log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-06-29 19:10:24 UTC
To be honest, I couldn't reproduce this. It's using the same .m4 macro as 'protobuf', so presumably this should fix it:

+  29 Jun 2010; Samuli Suominen <>
+  +files/1.0-asneeded.patch, log4cpp-1.0.ebuild:
+  Fix building with -Wl,--as-needed wrt #247067 by Diego E. Pettenò and
+  Kacper Kowalik.