too long lines were shrinked: make -j4 x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wall -W -D_FILE_OFFSET_BITS=64 -DDWZ_VERSION='"0.14"' -DFSF_YEARS='"1992-2021"' -DRH_YEARS='"2001-2021"' -DSUSE_YEARS='"2019-2021"' -c -o dwz.o dwz.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wall -W -D_FILE_OFFSET_BITS=64 -DDWZ_VERSION='"0.14"' -DFSF_YEARS='"1992-2021"' -DRH_YEARS='"2001-2021"' -DSUSE_YEARS='"2019-2021"' -c -o hashtab.o hashtab.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wall -W -D_FILE_OFFSET_BITS=64 -DDWZ_VERSION='"0.14"' -DFSF_YEARS='"1992-2021"' -DRH_YEARS='"2001-2021"' -DSUSE_YEARS='"2019-2021"' -c -o sha1.o sha1.c dwz.c:23:10: fatal error: error.h: No such file or directory 23 | #include <error.h> | ^~~~~~~~~ compilation terminated. x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wall -W -D_FILE_OFFSET_BITS=64 -DDWZ_VERSION='"0.14"' -DFSF_YEARS='"1992-2021"' -DRH_YEARS='"2001-2021"' -DSUSE_YEARS='"2019-2021"' -c -o dwarfnames.o dwarfnames.c ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-j4-20211213-184654 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-11.2.1 * clang version 13.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.57.0 * php cli: HEAD of ::gentoo commit 83472ff90967205b78f227645536f5768bf2fd5e Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Dec 15 03:51:45 2021 +0000 2021-12-15 03:51:44 UTC emerge -qpvO sys-devel/dwz [ebuild N ] sys-devel/dwz-0.14 USE="-test"
Created attachment 759067 [details] emerge-info.txt
Created attachment 759068 [details] emerge-history.txt
Created attachment 759069 [details] environment
Created attachment 759070 [details] etc.portage.tar.bz2
Created attachment 759071 [details] sys-devel:dwz-0.14:20211215-043849.log
Created attachment 759072 [details] temp.tar.bz2
dwz uses <error.h> which is GNU extension and seems to be not supported in musl. If you need to support building dwz with musl, you can submit patch (e.g. change code to use portable functions instead of error.h, or make its use optional) to mailing list at https://sourceware.org/mailman/listinfo/dwz.
tinderbox_musl has reproduced this issue with version 0.15-r1 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7c4e417ac9c0e113dbf679baca04019dcb85723 commit c7c4e417ac9c0e113dbf679baca04019dcb85723 Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> AuthorDate: 2024-11-22 06:55:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-01 11:25:58 +0000 sys-devel/dwz: fix hardcoded readelf, pull error-standalone Closes: https://bugs.gentoo.org/829239 Closes: https://bugs.gentoo.org/902197 Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Signed-off-by: Sam James <sam@gentoo.org> sys-devel/dwz/dwz-0.15-r3.ebuild | 72 ++++++++++++++++++++++++++++++ sys-devel/dwz/files/dwz-0.15-readelf.patch | 43 ++++++++++++++++++ 2 files changed, 115 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ccf7e0e8dae6c81674d1f0ded6b0f16e54db378 commit 0ccf7e0e8dae6c81674d1f0ded6b0f16e54db378 Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> AuthorDate: 2024-11-30 11:12:07 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-01 11:25:57 +0000 sys-libs/error-standalone: new package, add 1.0 Needed for sys-devel/dwz and dev-util/debugedit, see referenced bugs. Tested on: * Ryzen: amd64, x86 * RockPro64: arm, arm64 * StarFive VisionFive2: riscv Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Bug: https://bugs.gentoo.org/902197 Bug: https://bugs.gentoo.org/829239 Signed-off-by: Sam James <sam@gentoo.org> sys-libs/error-standalone/Manifest | 1 + sys-libs/error-standalone/error-standalone-1.0.ebuild | 12 ++++++++++++ sys-libs/error-standalone/metadata.xml | 12 ++++++++++++ 3 files changed, 25 insertions(+)