Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394827 - net-analyzer/bwmon-1.3 fails to build
Summary: net-analyzer/bwmon-1.3 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-15 15:58 UTC by Andrew Savchenko
Modified: 2011-12-15 16:16 UTC (History)
0 users

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


Attachments
build.log (build.log,2.20 KB, text/plain)
2011-12-15 15:59 UTC, Andrew Savchenko
Details
emerge.info (emerge.info,5.60 KB, text/plain)
2011-12-15 15:59 UTC, Andrew Savchenko
Details
bwmon-1.3.ebuild.diff (bwmon-1.3.ebuild.diff,308 bytes, patch)
2011-12-15 16:00 UTC, Andrew Savchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2011-12-15 15:58:52 UTC
Hello,

bwmon fails to build with following:

x86_64-pc-linux-gnu-gcc -o bwmon -march=core2 -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -ftree-loop-linear -ftree-loop-im -fweb -frename-registers -fomit-frame-pointer -fexcess-precision=fast -pipe /var/tmp/portage/net-analyzer/bwmon-1.3/work/bwmon-1.3/include -D__THREADS -march=core2 --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=6144 -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -ftree-loop-linear -ftree-loop-im -fweb -frename-registers -fomit-frame-pointer -fexcess-precision=fast -pipe -Wl,-O1 -Wl,--as-needed src/bwmon.c -lncurses -lpthread
src/bwmon.c:2:19: fatal error: bwmon.h: No such file or directory

After a comparison to ebuild it is clear, that append-flags strips -I with a space between -I and its argument.
Comment 1 Andrew Savchenko gentoo-dev 2011-12-15 15:59:17 UTC
Created attachment 295935 [details]
build.log
Comment 2 Andrew Savchenko gentoo-dev 2011-12-15 15:59:40 UTC
Created attachment 295937 [details]
emerge.info

emerge --info
Comment 3 Andrew Savchenko gentoo-dev 2011-12-15 16:00:04 UTC
Created attachment 295939 [details, diff]
bwmon-1.3.ebuild.diff

Proposed fix.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-15 16:16:32 UTC
Committed. Thanks for reporting and for the fix.