Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298152 - dev-libs/dvutil: fails with forced --as-needed
Summary: dev-libs/dvutil: 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: C++ Team [disbanded]
Depends on:
Blocks: as-needed
  Show dependency tree
Reported: 2009-12-23 23:41 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-03-06 21:46 UTC (History)
1 user (show)

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

Build log for dev-libs/dvnet (dvnet-0.9.21:20091223-192252.log,23.22 KB, text/plain)
2009-12-23 23:42 UTC, Diego Elio Pettenò (RETIRED)
adding patch to ebuild, general cleaning (dvutil-1.0.5.diff,1.50 KB, patch)
2010-02-06 11:57 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
fixing as-needed issues (dvutil-1.0.5-as-needed.patch,4.86 KB, patch)
2010-02-06 11:57 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-12-23 23:41:51 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-12-23 23:42:32 UTC
Created attachment 213996 [details]
Build log for dev-libs/dvnet

Check the test results, dvutil lacks a link to libssl.
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-02-06 11:57:36 UTC
Created attachment 218649 [details, diff]
adding patch to ebuild, general cleaning

* adding pkg-config to deps as we use it in configure
* removing flag-o-matic and append-flag
* updating header
* removing sed from src_unpack since it was modifying Now required changes are done in by supplied patch.
* removing obsolete ssl workaround, as --with-ssl flag is now introduced
* econf does not need to die
* there are no man files, removing obsolete doman
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-02-06 11:57:54 UTC
Created attachment 218651 [details, diff]
fixing as-needed issues
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-03-06 21:46:10 UTC
Thanks Diego and Kacper

+*dvutil-1.0.10 (06 Mar 2010)
+  06 Mar 2010; Samuli Suominen <>
+  files/dvutil-1.0.5-gcc44.patch, +dvutil-1.0.10.ebuild,
+  +files/dvutil-1.0.10-asneeded.patch:
+  Version bump wrt #299825. Fix -Wl,--as-needed issues wrt #247088 and
+  #298152.