Summary: | media-libs/id3lib-3.8.3-r8 - fatal error: too many errors emitted, stopping now [-ferror-limit=] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ago, jon.roadleybattin, marc_heimann |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
emerge-info.txt
clang.tar.bz2 emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 media-libs:id3lib-3.8.3-r8:20220917-203620.log temp.tar.bz2 |
Description
Toralf Förster
2022-09-17 20:37:33 UTC
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(-) |