Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248013 - net-irc/bobotpp: fails with forced --as-needed
Summary: net-irc/bobotpp: fails with forced --as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Packages in net-irc
URL: http://www.gentoo.org/proj/en/qa/asne...
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2008-11-21 17:25 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-12-21 15:33 UTC (History)
1 user (show)

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


Attachments
Build log (net-irc:bobotpp-2.2.2:20081121-162732.log,15.24 KB, text/plain)
2008-11-21 17:26 UTC, Diego Elio Pettenò (RETIRED)
Details
adding patch to ebuild and running autotools (bobotpp-2.2.2.diff,849 bytes, patch)
2009-10-15 18:40 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
fixing as-needed issues (bobotpp-2.2.2-as-needed.patch,639 bytes, patch)
2009-10-15 18:40 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
fixing as-needed issues (bobotpp-2.2.2-as-needed.patch,568 bytes, patch)
2009-10-16 05:24 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 2008-11-21 17:25:59 UTC
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).

Check the attached build log.

Thanks,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-21 17:26:23 UTC
Created attachment 172728 [details]
Build log
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-10-15 18:40:14 UTC
Created attachment 207230 [details, diff]
adding patch to ebuild and running autotools
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-10-15 18:40:38 UTC
Created attachment 207233 [details, diff]
fixing as-needed issues
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-10-15 23:26:04 UTC
You should actually be able to just drop the whole setting in [] since setting LIBS is the default behaviour of AC_CHECK_LIB...
Comment 5 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-10-16 05:24:34 UTC
Created attachment 207272 [details, diff]
fixing as-needed issues

Removing obsolete TRUE values for AC_CHECK_LIB as they mimic default behaviour, as Diego suggested. Thanks!
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-12-21 15:33:25 UTC
+  21 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> bobotpp-2.2.2.ebuild,
+  +files/bobotpp-2.2.2-asneeded.patch:
+  Fix building with -Wl,--as-needed wrt #248013 by Kacper Kowalik.