make -j1 CC=x86_64-gentoo-linux-musl-gcc CFLAGS=-O2 -pipe -march=native -fno-common -falign-functions=32:25:16 LDFLAGS=-Wl,-O1 -Wl,--as-needed x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c leave.c leave.c:45:10: fatal error: sys/cdefs.h: No such file or directory 45 | #include <sys/cdefs.h> | ^~~~~~~~~~~~~ compilation terminated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200316-165821 ------------------------------------------------------------------- Please see the tracker bug for details. 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 * timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Sun Mar 22 16:14:27 UTC 2020 /var/db/repos/musl Sun Mar 22 15:02:57 UTC 2020 emerge -qpvO app-misc/leave [ebuild N ] app-misc/leave-20100918-r1
Created attachment 624524 [details] emerge-info.txt
Created attachment 624526 [details] app-misc:leave-20100918-r1:20200322-173941.log
Created attachment 624528 [details] emerge-history.txt
Created attachment 624530 [details] environment
Created attachment 624532 [details] etc.portage.tbz2
Created attachment 624534 [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 bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f6504be54b3199f7ed43664f9189be3f9e5d365 commit 0f6504be54b3199f7ed43664f9189be3f9e5d365 Author: David Seifert <soap@gentoo.org> AuthorDate: 2022-07-31 20:03:27 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2022-07-31 20:03:27 +0000 app-misc/leave: update EAPI 6 -> 8 Closes: https://bugs.gentoo.org/714020 Signed-off-by: David Seifert <soap@gentoo.org> app-misc/leave/files/leave-20100918-makefile.patch | 8 ++++ app-misc/leave/files/leave-20100918-posix.patch | 55 ++++++++++++++++++++++ app-misc/leave/files/leave-fix-makefile.diff | 20 -------- ...20100918-r1.ebuild => leave-20100918-r2.ebuild} | 21 ++++----- 4 files changed, 72 insertions(+), 32 deletions(-)