This is an auto-filed bug because media-sound/chuck calls g++ directly.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.
If you think it doesn't make sense fix these type of issues, I'd like to point out that won't be possible use a different CXX implementation (like clang++) by setting the CXX variable. So this issue has been reproduced by setting the CXX variable to x86_64-pc-linux-gnu-g++ and by removing the /usr/bin/g++ - /usr/bin/c++ binaries.
Created attachment 641132 [details]
build log and emerge --info
ci has reproduced this issue with version 126.96.36.199 - Updating summary.
ci has reproduced this issue with version 188.8.131.52 - Updating summary.
The bug has been closed via the following commit(s):
Author: Miroslav Šulc <email@example.com>
AuthorDate: 2022-06-21 04:33:34 +0000
Commit: Miroslav Šulc <firstname.lastname@example.org>
CommitDate: 2022-06-21 04:33:34 +0000
media-sound/chuck: fixed hardcoded toolchain
Signed-off-by: Miroslav Šulc <email@example.com>
media-sound/chuck/chuck-184.108.40.206.ebuild | 4 +-
.../chuck/files/chuck-220.127.116.11-makefile.patch | 50 ++++++++++++++++++++++
2 files changed, 52 insertions(+), 2 deletions(-)