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
Created attachment 348780 [details, diff] patch against latest ebuild updated the ebuild and added CXX="$(tc-getCXX)" accordingly. Please review.
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(-)