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>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
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 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ò <>.