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

Bug 246726

Summary: app-accessibility/speech-tools: fails with forced --as-needed
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Jesus Rivero (RETIRED) <neurogeek>
Status: RESOLVED FIXED    
Severity: normal CC: accessibility, esigra, n-roeser, sound
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-14 14:17:29 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-14 14:17:44 UTC
Created attachment 171716 [details]
Build log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-07-01 12:40:30 UTC
This bug was reported against 1.2.96_beta, and there is now append-ldflags $(no-as-needed) in 1.2.96_beta-r2's ebuild.

That's only a workaround. But we have also 2.0.95_beta in Portage which didn't fail here with forced asneeded, therefore this is fixed by 2.0.95_beta:

+  01 Jul 2010; Samuli Suominen <ssuominen@gentoo.org>
+  speech-tools-1.2.96_beta-r2.ebuild, speech-tools-2.0.95_beta.ebuild:
+  Fix -Wl,--no-as-needed to $(no-as-needed) in -1.2.96_beta-r2.ebuild and
+  remove it entirely from -2.0.95_beta.ebuild wrt #246726.