Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294682 - net-misc/xrdp: fails with forced --as-needed
Summary: net-misc/xrdp: fails with forced --as-needed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Patrick McLean
Depends on:
Blocks: as-needed
  Show dependency tree
Reported: 2009-11-26 08:46 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-05-14 12:41 UTC (History)
2 users (show)

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

Build (xrdp-0.4.1:20091126-052434.log,21.71 KB, text/plain)
2009-11-26 08:47 UTC, Diego Elio Pettenò (RETIRED)
adding epatch to ebuild (xrdp-0.4.1.diff,266 bytes, patch)
2009-12-07 21:28 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
fixing as-needed issues (xrdp-0.4.1-as-needed.patch,2.33 KB, patch)
2009-12-07 21:28 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
XRDP - Patch-Error (error-xrdp.txt,13.33 KB, text/plain)
2010-05-14 12:41 UTC, Thomas Rausch

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 08:46:55 UTC
I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out 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.

Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-11-26 08:47:11 UTC
Created attachment 211222 [details]
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-12-07 21:28:07 UTC
Created attachment 212409 [details, diff]
adding epatch to ebuild
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-12-07 21:28:34 UTC
Created attachment 212410 [details, diff]
fixing as-needed issues
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-12-21 14:09:29 UTC
+  21 Dec 2009; Samuli Suominen <> xrdp-0.4.1.ebuild,
+  +files/xrdp-0.4.1-asneeded.patch:
+  Fix building with -Wl,--as-needed wrt #294682 by Kacper Kowalik.
Comment 5 Thomas Rausch 2010-05-14 12:41:21 UTC
Created attachment 231437 [details]
XRDP - Patch-Error

On my system it does not work. :-(