libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libtirpc-1.2.5/work/libtirpc-1.2.5/src -I.. -I/var/tmp/portage/net-libs/libtirpc-1.2.5/work/libtirpc-1.2.5/tirpc -include config.h -DPORTMAP -DINET6 -D_GNU_SOURCE -Wall -pipe -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c /var/tmp/portage/net-libs/libtirpc-1.2.5/work/libtirpc-1.2.5/src/clnt_bcast.c -fPIC -DPIC -o .libs/libtirpc_la-clnt_bcast.o /var/tmp/portage/net-libs/libtirpc-1.2.5/work/libtirpc-1.2.5/src/clnt_bcast.c:43:10: fatal error: sys/queue.h: No such file or directory 43 | #include <sys/queue.h> | ^~~~~~~~~~~~~ compilation terminated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200311-204810 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-9.2.0 * [2] 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-bin-1.41.1 [2] rust-1.41.1 * The following VMs are available for generation-2: repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Sun, 15 Mar 2020 05:08:46 +0000 emerge -qpvO net-libs/libtirpc [ebuild N ] net-libs/libtirpc-1.2.5 USE="ipv6 (split-usr) -kerberos -static-libs"
Created attachment 619564 [details] emerge-info.txt
Created attachment 619566 [details] emerge-history.txt
Created attachment 619568 [details] environment
Created attachment 619570 [details] etc.portage.tbz2
Created attachment 619572 [details] logs.tbz2
Created attachment 619574 [details] net-libs:libtirpc-1.2.5:20200315-074310.log
Created attachment 619576 [details] temp.tbz2
This is fixable by adding an elibc_musl USE dep to pull in sys-libs/queue-standalone. musl upstream has a FAQ entry specifically for this error: https://wiki.musl-libc.org/faq.html#Q:-Why-is-%3Ccode%3Esys/queue.h%3C/code%3E-not-included?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b15434cb79125c39254a9dfcc0961820152d3bb9 commit b15434cb79125c39254a9dfcc0961820152d3bb9 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2020-03-15 18:40:35 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-03-15 18:41:30 +0000 net-libs/libtirpc: depend on sys-libs/queue-standalone for musl Closes: https://bugs.gentoo.org/712656 Package-Manager: Portage-2.3.92_p3, Repoman-2.3.20_p118 Signed-off-by: Mike Gilbert <floppym@gentoo.org> net-libs/libtirpc/libtirpc-1.2.5.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)