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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL: http://www.gentoo.org/proj/en/qa/asne...
Whiteboard:
Keywords:
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: ---


Attachments
Build log (net-misc:ipsc-0.4.3.2-r1:20081122-000848.log,1.70 KB, text/plain)
2008-11-22 00:28 UTC, Diego Elio Pettenò (RETIRED)
Details
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 http://blog.flameeyes.eu/2008/11/14/problems-and-mitigation-strategies-for-as-needed for details).

Check the attached build log.

Thanks,
Diego
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-0.4.3.2-r2 (18 Feb 2009)
+
+  18 Feb 2009; <chainsaw@gentoo.org> -ipsc-0.4.3.2-r1.ebuild,
+  +ipsc-0.4.3.2-r2.ebuild:
+  New and improved sed statement by Kevin Pyle <kevin.pyle@bluecoat.com>
+  keeps LDFLAGS from being ignored. Closes bug #248101 filed by Diego E.
+  Flameeyes Pettenò <flameeyes@gentoo.org>.