/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:168:7: note: previous definition is here operator>>(bool& __n) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] field_binary.cpp:195:21: error: return type of out-of-line definition of 'ID3_FieldImpl::ParseBinary' differs from that in the declaration ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-j4-20220916-040004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.0 Python 3.10.7 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.63.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] 2) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): GNU Make 4.3.90 HEAD of ::gentoo commit eea4346d3a62953117475d04aa1e943b96144507 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Sep 17 19:46:48 2022 +0000 2022-09-17 19:46:47 UTC emerge -qpvO media-libs/id3lib [ebuild N ] media-libs/id3lib-3.8.3-r8 USE="-doc -static-libs"
Created attachment 809746 [details] emerge-info.txt
Created attachment 809749 [details] clang.tar.bz2
Created attachment 809752 [details] emerge-history.txt
Created attachment 809755 [details] environment
Created attachment 809758 [details] etc.portage.tar.bz2
Created attachment 809761 [details] logs.tar.bz2
Created attachment 809764 [details] media-libs:id3lib-3.8.3-r8:20220917-203620.log
Created attachment 809767 [details] temp.tar.bz2
Using reserved names?
*** Bug 893642 has been marked as a duplicate of this bug. ***
*** Bug 882795 has been marked as a duplicate of this bug. ***
*** Bug 730326 has been marked as a duplicate of this bug. ***
Turns out it's broken autoconf scripts. Surprise! There's a CXX_HAS_NO_BOOL, the corresponding check is `main() { bool b1=true; bool b2=false; }` which fails because of the missing type specifier for main. The build system then does a `#define bool int` which causes these errors. While we're on the topic of quality autoconf checks, there's also a CXX_HAS_BUGGY_FOR_LOOPS, checked via ` #include <iostream.h> int main (void) { for (int i=0;i<10;i++) { } for (int i=0;i<10;i++) { } ; return 0; } ` Which fails because iostream.h would have to be iostream. This one has been broken on gcc forever aswell but is "harmless" because it just leads to `#define for if(1) for`
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eccbaa58e0c21cc6df13f6028244158f144145a0 commit eccbaa58e0c21cc6df13f6028244158f144145a0 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-02-13 22:43:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-02-13 22:44:50 +0000 media-libs/id3lib: fix build with Clang, EAPI 8 Thanks to Jannik2099 for spotting the problem in configure. Closes: https://bugs.gentoo.org/871087 Signed-off-by: Sam James <sam@gentoo.org> .../id3lib/files/id3lib-3.8.3-configure-clang.patch | 21 +++++++++++++++++++++ ...3lib-3.8.3-r9.ebuild => id3lib-3.8.3-r10.ebuild} | 17 +++++++++-------- 2 files changed, 30 insertions(+), 8 deletions(-)