Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246726 - app-accessibility/speech-tools: fails with forced --as-needed
Summary: app-accessibility/speech-tools: 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: Jesus Rivero (RETIRED)
URL: http://www.gentoo.org/proj/en/qa/asne...
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2008-11-14 14:17 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-07-01 12:40 UTC (History)
4 users (show)

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


Attachments
Build log (app-accessibility:speech-tools-1.2.96_beta:20081114-141037.log,51.21 KB, text/plain)
2008-11-14 14:17 UTC, Diego Elio Pettenò (RETIRED)
Details

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-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.