This is an auto-filled bug because dev-libs/ntl calls cc directly. The issue was originally discovered on amd64, but it may be reproducible on other arches as well. Attached build log and emerge --info. NOTE: To reproduce this issue you may want to temporarily move the /usr/bin/cc - /usr/bin/gcc binaries.
Created attachment 634102 [details] build.log build log and emerge --info
Ebuild already sets CXX="$(tc-getCXX)" and CXXFLAGS="${CXXFLAGS}". Probably it is needed to also add CC="$(tc-getCC)" and CFLAGS="${CFLAGS}" there.
ci has reproduced this issue with version 11.4.4-r1 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3479b00f345a3df28d032ea905246867650168e0 commit 3479b00f345a3df28d032ea905246867650168e0 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2022-01-18 14:47:41 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2022-01-18 14:47:57 +0000 dev-libs/ntl: new upstream version 11.5.1. Closes: https://bugs.gentoo.org/718892 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> dev-libs/ntl/Manifest | 1 + dev-libs/ntl/{ntl-11.4.4-r1.ebuild => ntl-11.5.1.ebuild} | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-)