Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335546 - sys-block/fio does not respect LDFLAGS
Summary: sys-block/fio does not respect LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ldflags
  Show dependency tree
 
Reported: 2010-09-01 13:55 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-10-10 20:07 UTC (History)
0 users

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


Attachments
Build log (fio-1.34:20100901-001918.log,31.62 KB, text/plain)
2010-09-01 13:56 UTC, Diego Elio Pettenò (RETIRED)
Details
Patch to fio-1.34.ebuild to fix LDFLAGS issue and avoid duplicate link call (fio-1.34.ebuild.patch,719 bytes, patch)
2010-09-03 04:21 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 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.