Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248101 - net-misc/ipsc: fails with forced --as-needed
Summary: net-misc/ipsc: fails with forced --as-needed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
Depends on:
Blocks: as-needed
  Show dependency tree
Reported: 2008-11-22 00:28 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-02-18 16:26 UTC (History)
0 users

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

Build log (net-misc:ipsc-,1.70 KB, text/plain)
2008-11-22 00:28 UTC, Diego Elio Pettenò (RETIRED)
Patch to ipsc ebuild to add sed expressions to fix the upstream Makefile (ipsc.ebuild.patch,673 bytes, patch)
2009-02-14 03:40 UTC, Kevin Pyle
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 2008-11-22 00:28:10 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).

Check the attached build log.

Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-22 00:28:33 UTC
Created attachment 172795 [details]
Build log
Comment 2 Kevin Pyle 2009-02-14 03:40:53 UTC
Created attachment 181948 [details, diff]
Patch to ipsc ebuild to add sed expressions to fix the upstream Makefile

The upstream Makefile had explicit rules that ignored user LDFLAGS and specified the required library too early in the link line.  The ebuild already fixed two other QA issues (explicit CC, explicit CFLAGS).  This patch extends the ebuild to delete the incorrect rules, so that GNU make implicit rules are used instead.
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2009-02-18 16:26:25 UTC
Your contribution to Gentoo Linux is highly appreciated :)

+*ipsc- (18 Feb 2009)
+  18 Feb 2009; <> -ipsc-,
+  +ipsc-
+  New and improved sed statement by Kevin Pyle <>
+  keeps LDFLAGS from being ignored. Closes bug #248101 filed by Diego E.
+  Flameeyes Pettenò <>.