Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 248013

Summary: net-irc/bobotpp: fails with forced --as-needed
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Packages in net-irc <net-irc>
Status: RESOLVED FIXED    
Severity: normal CC: xarthisius
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/proj/en/qa/asneeded.xml
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 129413    
Attachments: Build log
adding patch to ebuild and running autotools
fixing as-needed issues
fixing as-needed issues

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.