| x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -DVERSION=\1.0\ -DHAVE_PAM -DHAVE_SHADOW -DHAVE_PASSWD -DHAVE_HASH -DHAVE_XRENDER -DHAVE_XCURSOR -DHAVE_XPM -c -o auth_sha1.o auth_sha1.c auth_sha1.c:33:10: fatal error: sys/cdefs.h: No such file or directory 33 | #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 x11-misc/alock [ebuild N ] x11-misc/alock-1.0.0 USE="pam -doc -imlib"
Created attachment 623324 [details] emerge-info.txt
Created attachment 623326 [details] emerge-history.txt
Created attachment 623328 [details] environment
Created attachment 623330 [details] etc.portage.tbz2
Created attachment 623332 [details] logs.tbz2
Created attachment 623334 [details] temp.tbz2
Created attachment 623336 [details] x11-misc:alock-1.0.0:20200320-153907.log
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.
Created attachment 741567 [details] alock-9999.ebuild Allot has changed within the alock project since 1.0.0 release. https://github.com/mgumz/alock auth_sha* has folded into auth_hash.c #include <sys/cdefs.h> references were removed While there hasn't been an official tagged release since then, the latest master builds cleanly on AMD64 (I don't have access to a musl deployment). ebuild also in the Oubliette overlay.
tinderbox_musl has reproduced this issue with version 1.0.0-r1 - Updating summary.