mv RawIP.xsc RawIP.c x86_64-gentoo-linux-musl-gcc -c -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -DVERSION=\0.25\ -DXS_VERSION=\0.25\ -fPIC -I/usr/lib/perl5/5.30.1/x86_64-linux/CORE -D_LINUX_ -D_ETH_ -D_IFLIST_ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 RawIP.c RawIP.xs:31:10: fatal error: sys/cdefs.h: No such file or directory 31 | #include <sys/cdefs.h> | ^~~~~~~~~~~~~ compilation terminated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200316-165821 ------------------------------------------------------------------- gcc-config -l: [1] 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-1.41.1 * repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Wed, 18 Mar 2020 13:38:27 +0000 emerge -qpvO dev-perl/Net-RawIP [ebuild N ] dev-perl/Net-RawIP-0.250.0-r2 USE="-examples"
Created attachment 622210 [details] emerge-info.txt
Created attachment 622212 [details] dev-perl:Net-RawIP-0.250.0-r2:20200318-233817.log
Created attachment 622214 [details] emerge-history.txt
Created attachment 622216 [details] environment
Created attachment 622218 [details] etc.portage.tbz2
Created attachment 622220 [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.
tinderbox_musl has reproduced this issue with version 0.250.0-r3 - Updating summary.