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

Bug 277938

Summary: sci-biology/velvet: fails with forced --as-needed
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Andrey Kislyuk (RETIRED) <weaver>
Status: RESOLVED FIXED    
Severity: QA CC: esigra, sci-biology, xarthisius
Priority: High Keywords: InVCS
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
fixing as-needed issues

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-15 13:40:13 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).

Please note that this bug _might_ apply to -Wl,--as-needed in LDFLAGS as well; in both cases it should be fixed. Also, if this is due to the package in question not respecting user-defined LDFLAGS, you should get to fix that too.

Check the attached build log.

Thanks,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-15 13:40:32 UTC
Created attachment 198057 [details]
Build log
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-10-10 12:40:50 UTC
Created attachment 206651 [details, diff]
fixing as-needed issues

Moving libs after *.o during linking
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-06-20 18:08:05 UTC
+  20 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org> velvet-0.7.62.ebuild,
+  +files/velvet-0.7.62-gentoo.diff:
+  Fix parallel build, respect FLAGS, fix --as-needed issues wrt bug 277938.
+  Thanks Diego for reporting.