too long lines were shrinked: [44/127] /usr/bin/x86_64-pc-linux-musl-g++ -DHAS_CAPTURE -DHAVE_STRLCPY -DPLATFORM_NAME=\"Linux\" -I/usr/include/tbb -I/usr/include/jsoncpp -I/var/tmp/portage/dev-debug/sysdig-0.29.3-r2/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/userspace/libsinsp/. -I/var/tmp/portage/dev-debug/sysdig-0.29.3 [45/127] /usr/bin/x86_64-pc-linux-musl-g++ -DHAS_CAPTURE -DHAVE_STRLCPY -DPLATFORM_NAME=\"Linux\" -I/usr/include/tbb -I/usr/include/jsoncpp -I/var/tmp/portage/dev-debug/sysdig-0.29.3-r2/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/userspace/libsinsp/. -I/var/tmp/portage/dev-debug/sysdig-0.29.3 [46/127] /usr/bin/x86_64-pc-linux-musl-g++ -DHAS_CAPTURE -DHAVE_STRLCPY -DPLATFORM_NAME=\"Linux\" -I/usr/include/tbb -I/usr/include/jsoncpp -I/var/tmp/portage/dev-debug/sysdig-0.29.3-r2/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/userspace/libsinsp/. -I/var/tmp/portage/dev-debug/sysdig-0.29.3 FAILED: libsinsp/CMakeFiles/sinsp.dir/sinsp.cpp.o /usr/bin/x86_64-pc-linux-musl-g++ -DHAS_CAPTURE -DHAVE_STRLCPY -DPLATFORM_NAME=\"Linux\" -I/usr/include/tbb -I/usr/include/jsoncpp -I/var/tmp/portage/dev-debug/sysdig-0.29.3-r2/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/userspace/libsinsp/. -I/var/tmp/portage/dev-debug/sysdig-0.29.3-r2/work/ In file included from /var/tmp/portage/dev-debug/sysdig-0.29.3-r2/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/userspace/libsinsp/sinsp.cpp:29: /var/tmp/portage/dev-debug/sysdig-0.29.3-r2/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/userspace/libsinsp/scap_open_exception.h:28:65: error: 'int32_t' does not name a type 28 | scap_open_exception(const std::string& error_str, const int32_t scap_rc): | ^~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_musl-20240406-125502 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-musl-13 * clang/llvm (if any): clang version 18.1.3 Target: x86_64-pc-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg /usr/lib/llvm/18 18.1.3 Python 3.11.9 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.77.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21] Available Java Virtual Machines: [1] openjdk-bin-17 [2] openjdk-bin-21 system-vm php cli (if any): go version go1.22.2 linux/amd64 HEAD of ::gentoo commit de3b750d9e00f17b64f81bcb844a9607bd23b2e0 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Apr 12 14:34:10 2024 +0000 2024-04-12 14:34:10 UTC emerge -qpvO dev-debug/sysdig [ebuild N ] dev-debug/sysdig-0.29.3-r2 USE="modules" LUA_SINGLE_TARGET="luajit"
Created attachment 890516 [details] emerge-info.txt
Created attachment 890517 [details] dev-debug:sysdig-0.29.3-r2:20240412-155401.log
Created attachment 890518 [details] emerge-history.txt.xz
Created attachment 890519 [details] environment
Created attachment 890520 [details] etc.clang.tar.xz
Created attachment 890521 [details] etc.portage.tar.xz
Created attachment 890522 [details] qlist-info.txt.xz
Created attachment 890523 [details] temp.tar.xz
I successfully recreated the problem in a gcc-musl chroot but found a related problem with the stage3 tarball: https://bugs.gentoo.org/929907 I'll provide a PR with the compile fix, but the missing libanl needs to be addressed as well to fully fix the problem.
(In reply to Holger Hoffstätte from comment #9) > I successfully recreated the problem in a gcc-musl chroot but found a > related problem with the stage3 tarball: https://bugs.gentoo.org/929907 > > I'll provide a PR with the compile fix, but the missing libanl needs to be > addressed as well to fully fix the problem. The libanl problem has been addresed in the ebuild with a musl-conditional patch.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=844fbd1e96beda0fb94ea06aba8f2618bfdad1f7 commit 844fbd1e96beda0fb94ea06aba8f2618bfdad1f7 Author: Holger Hoffstätte <holger@applied-asynchrony.com> AuthorDate: 2024-04-13 13:58:37 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2024-05-20 15:52:38 +0000 dev-debug/sysdig: don't try to link against libanl on musl libanl is an empty stub library since glibc-2.34 and does not exist on musl. Since sysdig uses c-ares and therefore does not even need glibc's async name lookups, we can safely remove it when building on musl. Bug: https://bugs.gentoo.org/929227 Bug: https://bugs.gentoo.org/929907 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/36237 Signed-off-by: Mike Gilbert <floppym@gentoo.org> dev-debug/sysdig/files/0.29.3-libs-no-libanl.patch | 16 ++++++++++++++++ dev-debug/sysdig/sysdig-0.29.3-r2.ebuild | 12 +++++++++--- 2 files changed, 25 insertions(+), 3 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=637ef57e26304673bd422589a7892988e9312b78 commit 637ef57e26304673bd422589a7892988e9312b78 Author: Holger Hoffstätte <holger@applied-asynchrony.com> AuthorDate: 2024-04-13 13:24:16 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2024-05-20 15:52:38 +0000 dev-debug/sysdig: add a missed <cstdint> include on musl Bug: https://bugs.gentoo.org/929227 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org> dev-debug/sysdig/files/0.29.3-libs-gcc13.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+)