make all-am make[1]: Entering directory '/var/tmp/portage/net-misc/bsdwhois-1.43.2.1/work/bsdwhois-1.43.2.1' x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -c whois.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -c strnstr.c strnstr.c:41:10: fatal error: sys/cdefs.h: No such file or directory 41 | #include <sys/cdefs.h> | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:268: strnstr.o] Error 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-j4-20211210-222208 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-11.2.1 * 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 Ruby profiles: (none found) php cli: HEAD of ::gentoo commit 3c1bd7a78c20a7350fcc53603035d5bd261e4704 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Dec 11 06:36:44 2021 +0000 2021-12-11 06:36:42 UTC emerge -qpvO net-misc/bsdwhois [ebuild N ] net-misc/bsdwhois-1.43.2.1
Created attachment 758427 [details] emerge-info.txt
Created attachment 758428 [details] emerge-history.txt
Created attachment 758429 [details] environment
Created attachment 758430 [details] etc.portage.tar.bz2
Created attachment 758431 [details] logs.tar.bz2
Created attachment 758432 [details] net-misc:bsdwhois-1.43.2.1:20211211-071254.log
Created attachment 758433 [details] temp.tar.bz2
Created attachment 787211 [details, diff] updated bsdwhois-1.43.2.1 patch for musl The Gentoo tree already includes a patch for musl, but it's incomplete. This is an updated version, which removes <sys/cdefs.h> from: * whois.c * strnstr.c
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3690d57e4ec3c647da56c2cdd563c530f5d03eb1 commit 3690d57e4ec3c647da56c2cdd563c530f5d03eb1 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-24 01:56:01 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-24 03:13:48 +0000 net-misc/bsdwhois: fix build on musl Thanks-to: CFuga <cfuga@cfuga.mx> Closes: https://bugs.gentoo.org/828901 Signed-off-by: Sam James <sam@gentoo.org> .../bsdwhois/files/bsdwhois-1.43.2.1-musl-cdefs.patch | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-)