x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xload-1.1.3/work/xload-1.1.3 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Wimplicit -Wnonnull -Winit-self -Wmain -Wmissing-braces -Wsequence-point -Wreturn-type -Wtrigraphs -Warray-bounds -Wwrite-strings -Waddress -Wint-to-pointer-cast -Wpointer-to-int-cast -fno-strict-aliasing -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o get_rload.o /var/tmp/portage/x11-apps/xload-1.1.3/work/xload-1.1.3/get_rload.c /var/tmp/portage/x11-apps/xload-1.1.3/work/xload-1.1.3/get_rload.c:27:10: fatal error: protocols/rwhod.h: No such file or directory 27 | #include <protocols/rwhod.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 * timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Fri Mar 20 20:38:39 UTC 2020 /var/db/repos/musl Wed Mar 18 03:21:45 UTC 2020 emerge -qpvO x11-apps/xload [ebuild N ] x11-apps/xload-1.1.3
Created attachment 623500 [details] emerge-info.txt
Created attachment 623502 [details] emerge-history.txt
Created attachment 623504 [details] environment
Created attachment 623506 [details] etc.portage.tbz2
Created attachment 623508 [details] logs.tbz2
Created attachment 623510 [details] temp.tbz2
Created attachment 623512 [details] x11-apps:xload-1.1.3:20200320-220454.log
No patch in Alpine... https://git.alpinelinux.org/aports/tree/testing/xload/APKBUILD
tinderbox_musl has reproduced this issue with version 1.1.4 - Updating summary.
This one came up as a support question today and was solved doing the following: 1. Download https://raw.githubusercontent.com/lattera/glibc/master/inet/protocols/rwhod.h 2. Place file in /usr/include/protocols/ 3. emerge -va x11-apps/xload I'm assuming Alpine has written their own version of rwod.h so I'll confirm this and see if there is a cleaner way can do the same in Gentoo once I'm back with a machine I can test on.
This should be fixed upstream in xload 1.2.0, by: commit f15b8097a00299291263cfe64947942564ccc373 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Feb 11 16:29:40 2024 -0800 Use autoconf to check for <protocols/rwhod.h> instead of OS-specific ifdefs Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Awesome, thanks Alan!