Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247001 - app-text/xml2doc: fails with forced --as-needed
Summary: app-text/xml2doc: 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: Gentoo SGML project
URL: http://www.gentoo.org/proj/en/qa/asne...
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2008-11-16 00:04 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-06-02 10:07 UTC (History)
0 users

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


Attachments
Build log (app-text:xml2doc-20030510-r1:20081115-193115.log,53.82 KB, text/plain)
2008-11-16 00:04 UTC, Diego Elio Pettenò (RETIRED)
Details
Patch to extend ebuild sed calls to fix various QA issues (xml2doc-ebuild.patch,562 bytes, patch)
2009-01-24 05:39 UTC, Kevin Pyle
Details | Diff

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