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

Bug 294738

Summary: sci-biology/vaal: 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: jlec, sci-biology, xarthisius
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
adding patches
fixing as-needed issues
respecting {LD,CXX,C}FLAGS

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-11-26 17:30:22 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-11-26 17:31:22 UTC
Created attachment 211269 [details]
Build log
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-02-14 13:37:50 UTC
Created attachment 219631 [details, diff]
adding patches

additionally removing "" from $S
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-02-14 13:38:08 UTC
Created attachment 219633 [details, diff]
fixing as-needed issues
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-02-14 13:38:51 UTC
Created attachment 219635 [details, diff]
respecting {LD,CXX,C}FLAGS
Comment 5 Andrey Kislyuk (RETIRED) gentoo-dev 2010-02-14 19:50:24 UTC
Fix in tree, thank you for your help
Comment 6 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-02-14 20:11:13 UTC
Closing:

  14 Feb 2010; Andrey Kislyuk <weaver@gentoo.org>
  +files/vaal-1.2-as-needed.patch, +files/vaal-1.2-respect-flags.patch,
  -vaal-1.2.ebuild, +vaal-1.2-r1.ebuild:
  Apply patches, fix bug 294738 and move binaries to libexec