Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310727 - x11-wm/ratpoison: fails with forced --as-needed
Summary: x11-wm/ratpoison: 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: Desktop WM Team (OBSOLETE)
URL: http://www.gentoo.org/proj/en/qa/asne...
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2010-03-22 15:13 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-06-01 17:12 UTC (History)
2 users (show)

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


Attachments
Build log (ratpoison-1.4.5:20100321-191156.log,34.22 KB, text/plain)
2010-03-22 15:13 UTC, Diego Elio Pettenò (RETIRED)
Details
adding epatch (ratpoison-1.4.5.diff,278 bytes, patch)
2010-03-22 15:57 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
fixing as-needed issues (ratpoison-1.4.5-as-needed.patch,558 bytes, patch)
2010-03-22 15:57 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 2010-03-22 15:13:25 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 2010-03-22 15:13:37 UTC
Created attachment 224691 [details]
Build log
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-03-22 15:57:12 UTC
Created attachment 224701 [details, diff]
adding epatch
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-03-22 15:57:26 UTC
Created attachment 224703 [details, diff]
fixing as-needed issues
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-06-01 17:12:50 UTC
Fixed in tree, thanks!
+  01 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org>
+  ratpoison-1.4.5.ebuild, +files/ratpoison-1.4.5-asneeded.patch:
+  Fixing build with as-needed wrt bug 310727. Thanks Diego for report.
+