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

Bug 247001

Summary: app-text/xml2doc: fails with forced --as-needed
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo SGML project <sgml>
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
Patch to extend ebuild sed calls to fix various QA issues

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-16 00:04:21 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-16 00:04:56 UTC
Created attachment 171918 [details]
Build log
Comment 2 Kevin Pyle 2009-01-24 05:39:47 UTC
Created attachment 179513 [details, diff]
Patch to extend ebuild sed calls to fix various QA issues

This patch removes an assignment to $CC, which would interfere with cross-compiling, and rewrites the link directive to move -lxml2 after the object files.  It also deletes the unnecessary explicit rules for how to build each object file.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-02 10:07:12 UTC
Considering this fixed as I've committed it to -r1; thanks Kevin!