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

Bug 246907

Summary: app-misc/toilet: fails with forced --as-needed
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Samuli Suominen (RETIRED) <ssuominen>
Status: RESOLVED FIXED    
Severity: normal    
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

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-15 14:36:12 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-15 14:36:28 UTC
Created attachment 171857 [details]
Build log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2008-11-25 08:20:16 UTC
(In reply to comment #1)
> Created an attachment (id=171857) [edit]
> Build log
> 

Using commit message:
------------------------------------------------------------------------------
LDADD -lcaca instead of -lcucul for bug 246907 for forced --as-needed. This is what upstream is trying to do with original Makefile.am, using pkg-config --libs cucul in LDFLAGS which returns -lcaca on system built with asneeded.
(Portage version: 2.2_rc15/cvs/Linux 2.6.27-gentoo-r3 i686)
------------------------------------------------------------------------------