In file included from conf.h:34, from conf.c:41: queue.h:40:10: fatal error: sys/cdefs.h: No such file or directory 40 | #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 app-admin/sud [ebuild N ] app-admin/sud-1.3-r1
Created attachment 622690 [details] emerge-info.txt
Created attachment 622692 [details] app-admin:sud-1.3-r1:20200319-130801.log
Created attachment 622694 [details] emerge-history.txt
Created attachment 622696 [details] environment
Created attachment 622698 [details] etc.portage.tbz2
Created attachment 622700 [details] logs.tbz2
Created attachment 622702 [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=d6b79ed69027be967e705cc4ab3116dbc539f69a commit d6b79ed69027be967e705cc4ab3116dbc539f69a Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-23 08:12:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-23 08:13:46 +0000 app-admin/sud: fix build on musl Closes: https://bugs.gentoo.org/713470 Signed-off-by: Sam James <sam@gentoo.org> app-admin/sud/files/sud-1.3-use-system-queue.patch | 68 ++++++++++++++++++++++ app-admin/sud/sud-1.3-r1.ebuild | 12 +++- 2 files changed, 77 insertions(+), 3 deletions(-)