x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I. -c -o client/run_run_svcs.o client/run_run_svcs.c client/run_run_svcs.c: In function run_run_svcs: client/run_run_svcs.c:24:17: error: PATH_MAX undeclared (first use in this function) 24 | char pathbuf[PATH_MAX+1]; | ^~~~~~~~ client/run_run_svcs.c:24:17: note: each undeclared identifier is reported only once for each function it appears in ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-20200328-201618 ------------------------------------------------------------------- Please see the tracker bug for details. 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.42.0 * timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Thu Apr 2 16:07:47 UTC 2020 /var/db/repos/musl Thu Apr 2 13:46:05 UTC 2020 emerge -qpvO sys-apps/cinit [ebuild N ] sys-apps/cinit-0.2.1 USE="-doc"
Created attachment 629216 [details] emerge-info.txt
Created attachment 629218 [details] emerge-history.txt
Created attachment 629220 [details] environment
Created attachment 629222 [details] etc.portage.tbz2
Created attachment 629224 [details] sys-apps:cinit-0.2.1:20200402-190710.log
Created attachment 629226 [details] temp.tbz2
I suspect this is a case of a missing #include <limits.h> which is required explicitly on musl-libc.
*** This bug has been marked as a duplicate of bug 898542 ***