Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 313165 - net-p2p/gnunet: fails with forced --as-needed
Summary: net-p2p/gnunet: 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: Gentoo net-p2p team
Keywords: InVCS
Depends on:
Blocks: as-needed 276796
  Show dependency tree
Reported: 2010-04-05 01:55 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-06-20 13:57 UTC (History)
2 users (show)

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

Build log (gnunet-0.8.1:20100404-223934.log,7.97 KB, text/plain)
2010-04-05 01:56 UTC, Diego Elio Pettenò (RETIRED)
updating ebuild (gnunet-0.8.1.diff,1.88 KB, patch)
2010-04-06 15:31 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
fixing as-needed issues (0.8.1-asneeded.patch,1.33 KB, patch)
2010-04-06 15:31 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
fixing parallel build (0.8.1-parallel-build.patch,8.13 KB, patch)
2010-04-06 15:31 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 2010-04-05 01:55:52 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.


P.S.: seems like the is totally fucked up when it comes to libraries checks.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-04-05 01:56:23 UTC
Created attachment 226601 [details]
Build log
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-04-06 15:31:19 UTC
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
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-04-06 15:31:40 UTC
Created attachment 226743 [details, diff]
fixing as-needed issues
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-04-06 15:31:57 UTC
Created attachment 226745 [details, diff]
fixing parallel build
Comment 5 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-06-20 13:57:11 UTC
Fixed in tree:

+  20 Jun 2010; Kacper Kowalik <>
+  +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