Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 248101

Summary: net-misc/ipsc: fails with forced --as-needed
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Tony Vroon (RETIRED) <chainsaw>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/proj/en/qa/asneeded.xml
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 129413    
Attachments: Build log
Patch to ipsc ebuild to add sed expressions to fix the upstream Makefile

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>.