I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out http://blog.flameeyes.eu/2008/11/14/problems-and-mitigation-strategies-for-as-needed 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. Thanks, Diego P.S.: seems like the configure.ac is totally fucked up when it comes to libraries checks.
Created attachment 226601 [details] Build log
Created attachment 226741 [details, diff] updating ebuild Apart from adding patches (in order of appearance): * sorted inherit * removed obsolete use flags: - --without-ncurses is no longer valid - ipv6 is no longer valid * AT_M4DIR="${S}/m4" is not necessary (by default -I m4) * econf is now called in src_configure instead of src_compile * removed emake -j1 as parallel issues were also fixed * removed dodoc on non-existent file * fixed doins for /etc/gnunet.conf
Created attachment 226743 [details, diff] fixing as-needed issues
Created attachment 226745 [details, diff] fixing parallel build
Fixed in tree: + 20 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org> + +files/0.8.1-asneeded.patch, gnunet-0.8.1.ebuild, + +files/0.8.1-parallel-build.patch: + Fixing parallel build and --as-needed issues wrt bug 313165. Thanks Diego + for reporting