% DEFS.................: % x86_64-gentoo-linux-musl-gcc -c -DVERSION=\"1.3a\" -pipe -march=native -fno-diagnostics-color -O2 main.c In file included from main.c:31: queue.h:38:10: fatal error: sys/cdefs.h: No such file or directory 38 | #include <sys/cdefs.h> | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:15: all] Error 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-j4-20211215-000030 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-11.2.0 * clang version 13.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.9 Available Rust versions: [1] rust-1.57.0 * The following VMs are available for generation-2: Available Java Virtual Machines: (none found) php cli: HEAD of ::gentoo commit c9e73f8513e6f144bf4022ef6a9f21316951472a Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Dec 15 19:06:42 2021 +0000 2021-12-15 19:06:41 UTC emerge -qpvO net-analyzer/rtpbreak [ebuild N ] net-analyzer/rtpbreak-1.3a-r2
Created attachment 759241 [details] emerge-info.txt
Created attachment 759242 [details] emerge-history.txt
Created attachment 759243 [details] environment
Created attachment 759244 [details] etc.portage.tar.bz2
Created attachment 759245 [details] net-analyzer:rtpbreak-1.3a-r2:20211215-200102.log
Created attachment 759246 [details] temp.tar.bz2
This one is harder because it relies on LIST_FOREACH_SAFE which isn't in the glibc queue.h, so we can't just use the system one / standalone-queue.
(In reply to Sam James from comment #7) > This one is harder because it relies on LIST_FOREACH_SAFE which isn't in the > glibc queue.h, so we can't just use the system one / standalone-queue. Sam for this to work we might need our own headers. Mainly the sys-cdefs and sys-queue from BSD's [1]. Is feasible to add in our own headers. [1]: https://github.com/openembedded/openembedded-core/tree/master/meta/recipes-core/musl/bsd-headers