Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466802 - net-misc/ndppd : does not respect CXX
Summary: net-misc/ndppd : does not respect CXX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Jason A. Donenfeld
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2013-04-22 13:00 UTC by Agostino Sarubbo
Modified: 2013-05-30 10:16 UTC (History)
1 user (show)

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

patch against latest ebuild (ndppd-0.2.3.patch,541 bytes, patch)
2013-05-20 18:02 UTC, Michael Mair-Keimberger (iamnr3)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-04-22 13:00:43 UTC
You receive this bug because this package does not respect my system's CXX (x86_64-pc-linux-gnu-g++) and calls directly /usr/bin/g++(or similar)
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can;
2)inherit toolchain-funcs and use tc-export CXX
3)inherit toolchain-funcs and use emake CXX="$(tc-getCXX)"

From the build log:

g++ -c -march=native -O2 -pipe -o src/logger.o src/
g++ -c -march=native -O2 -pipe -o src/ndppd.o src/
g++ -c -march=native -O2 -pipe -o src/iface.o src/
g++ -c -march=native -O2 -pipe -o src/proxy.o src/
g++ -c -march=native -O2 -pipe -o src/address.o src/
g++ -c -march=native -O2 -pipe -o src/rule.o src/
g++ -c -march=native -O2 -pipe -o src/session.o src/
g++ -c -march=native -O2 -pipe -o src/conf.o src/
g++ -c -march=native -O2 -pipe -o src/route.o src/
g++ -o ndppd -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu  src/logger.o src/ndppd.o src/iface.o src/proxy.o src/address.o src/rule.o src/session.o src/conf.o src/route.o
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-05-20 18:02:48 UTC
Created attachment 348780 [details, diff]
patch against latest ebuild

updated the ebuild and added CXX="$(tc-getCXX)" accordingly. Please review.