This is an auto-filed bug because media-sound/wav2json 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. NOTE: 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 641232 [details] build.log build log and emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa97c3df1c9977df01e201ea5de2e243c4d50133 commit aa97c3df1c9977df01e201ea5de2e243c4d50133 Author: Jakov Smolic <jakov.smolic@sartura.hr> AuthorDate: 2021-04-30 16:14:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-05-04 22:17:08 +0000 media-sound/wav2json: Respect CFLAGS/LDFLAGS/CXX Closes: https://bugs.gentoo.org/727778 Closes: https://bugs.gentoo.org/724844 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Sam James <sam@gentoo.org> .../wav2json/files/wav2json-0.4-Makefile.patch | 35 ++++++++++++++++++++++ media-sound/wav2json/wav2json-0.4.ebuild | 19 +++++++----- 2 files changed, 47 insertions(+), 7 deletions(-)