from ./log.h:37, from tools/lxc_attach.c:46: ./compiler.h:26:10: fatal error: sys/cdefs.h: No such file or directory 26 | #include <sys/cdefs.h> | ^~~~~~~~~~~~~ compilation terminated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200311-204810 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-9.2.0 * [2] x86_64-gentoo-linux-musl-9.3.0 clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-bin-1.41.1 [2] rust-1.41.1 * The following VMs are available for generation-2: repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Sun, 15 Mar 2020 10:38:48 +0000 emerge -qpvO app-emulation/lxc [ebuild N ] app-emulation/lxc-3.1.0-r1 USE="pam seccomp templates -apparmor -examples (-selinux)"
Created attachment 619750 [details] emerge-info.txt
Created attachment 619752 [details] app-emulation:lxc-3.1.0-r1:20200315-120222.log
Created attachment 619754 [details] emerge-history.txt
Created attachment 619756 [details] environment
Created attachment 619758 [details] etc.portage.tbz2
Created attachment 619760 [details] logs.tbz2
Created attachment 619762 [details] temp.tbz2
musl upstream has a FAQ entry specifically for this error: https://wiki.musl-libc.org/faq.html#Q:-When-compiling-something-against-musl,-I-get-error-messages-about-%3Ccode%3Esys/cdefs.h%3C/code%3E We will need to check/report upstream and patch affected code temporarily.
The first attempt to tinderbox a musl image failed at all. I'll mass close therefore all filed bug reports of the last days related to this tinderbox image. Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.