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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2013-04-22 13:00 UTC by Agostino Sarubbo
Modified: 2024-01-13 20:46 UTC (History)
1 user (show)

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


Attachments
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/logger.cc
g++ -c -march=native -O2 -pipe -o src/ndppd.o src/ndppd.cc
g++ -c -march=native -O2 -pipe -o src/iface.o src/iface.cc
g++ -c -march=native -O2 -pipe -o src/proxy.o src/proxy.cc
g++ -c -march=native -O2 -pipe -o src/address.o src/address.cc
g++ -c -march=native -O2 -pipe -o src/rule.o src/rule.cc
g++ -c -march=native -O2 -pipe -o src/session.o src/session.cc
g++ -c -march=native -O2 -pipe -o src/conf.o src/conf.cc
g++ -c -march=native -O2 -pipe -o src/route.o src/route.cc
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.
Comment 2 Larry the Git Cow gentoo-dev 2024-01-13 20:46:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a903b0ebc72f9f8b09efc4a35cde62a81e599e9

commit 4a903b0ebc72f9f8b09efc4a35cde62a81e599e9
Author:     Michael Mair-Keimberger <mmk@levelnine.at>
AuthorDate: 2023-12-30 16:19:56 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2024-01-13 20:45:49 +0000

    net-misc/ndppd: EAPI8 bump, minor improvements
    
    Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
    
    Closes: https://bugs.gentoo.org/466802
    Closes: https://bugs.gentoo.org/731682
    Closes: https://github.com/gentoo/gentoo/pull/34563
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 net-misc/ndppd/{ndppd-0.2.5.ebuild => ndppd-0.2.5-r1.ebuild} | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)