Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299077 - www-client/uget: fails with forced --as-needed
Summary: www-client/uget: 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: Alex Alexander (RETIRED)
URL: http://www.gentoo.org/proj/en/qa/asne...
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2009-12-31 11:34 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-02-21 01:21 UTC (History)
2 users (show)

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


Attachments
Build log (uget-1.5.0:20091230-202155.log,289.40 KB, text/plain)
2009-12-31 11:34 UTC, Diego Elio Pettenò (RETIRED)
Details
adding epatch and autotools to ebuild (uget-1.5.0.diff,539 bytes, patch)
2009-12-31 16:34 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
fixing as-needed issues (uget-1.5.0-as-needed.patch,1.42 KB, patch)
2009-12-31 16:34 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
failing tests - build.log (uget-1.5.0.log,45.06 KB, text/plain)
2009-12-31 16:37 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details

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-12-31 11:34:24 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-12-31 11:34:53 UTC
Created attachment 214714 [details]
Build log
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-12-31 16:34:14 UTC
Created attachment 214767 [details, diff]
adding epatch and autotools to ebuild
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-12-31 16:34:41 UTC
Created attachment 214768 [details, diff]
fixing as-needed issues
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-12-31 16:37:05 UTC
Created attachment 214769 [details]
failing tests - build.log

After applying patch ebuild fails tests for me, but it seems to be not related to as-needed or my fix.
Comment 5 Alex Alexander (RETIRED) gentoo-dev 2010-02-21 01:21:28 UTC
fixed :)

thanks to Diego for reporting and Kacper for patch.

@Kacper: if you still have that unrelated build issue please open another bug :)