Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294738 - sci-biology/vaal: fails with forced --as-needed
Summary: sci-biology/vaal: 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 QA (vote)
Assignee: Andrey Kislyuk (RETIRED)
URL: http://www.gentoo.org/proj/en/qa/asne...
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2009-11-26 17:30 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-02-14 20:11 UTC (History)
3 users (show)

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


Attachments
Build log (vaal-1.2:20091126-171400.log,673.38 KB, text/plain)
2009-11-26 17:31 UTC, Diego Elio Pettenò (RETIRED)
Details
adding patches (vaal-1.2.diff,645 bytes, patch)
2010-02-14 13:37 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
fixing as-needed issues (vaal-1.2-as-needed.patch,905 bytes, patch)
2010-02-14 13:38 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
respecting {LD,CXX,C}FLAGS (vaal-1.2-respect-flags.patch,1.79 KB, patch)
2010-02-14 13:38 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
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 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