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

Bug 335546

Summary: sys-block/fio does not respect LDFLAGS
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: QA    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331933    
Attachments: Build log
Patch to fio-1.34.ebuild to fix LDFLAGS issue and avoid duplicate link call

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-09-01 13:55:52 UTC
See attached build log.

(Please do not complain about the need for looking at the build log until you can provide an easy way to open bugs with the correct data picked out of a tinderbox log. Thanks.)
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-09-01 13:56:03 UTC
Created attachment 245625 [details]
Build log
Comment 2 Kevin Pyle 2010-09-03 04:21:09 UTC
Created attachment 245828 [details, diff]
Patch to fio-1.34.ebuild to fix LDFLAGS issue and avoid duplicate link call

This patch adds a sed call to fix the LDFLAGS issue reported in comment #0.  While testing, I noticed that fio is linked again during the install phase.  This is because the dependency rules specify that 'depend' has no prerequisites and that it is a prerequisite of fio.  Thus, depend is always rebuilt, and everything which depends on it must then be rebuilt because 'depend' is now newer.  As a minimal change, I simply delete the rule that makes 'depend' a prerequisite of 'fio'.
Comment 3 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2010-10-10 20:07:19 UTC
Fixed with permission from Robin.