x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -Wall -ansi -DLINUX -D__UNIX__ -DVERSION_MIN=5 -DVERSION_MAJ=1 -DVERBOSE=0 -c jpegtoavi.c -o jpegtoavi.o jpegtoavi.c: In function get_file_list_stdin: jpegtoavi.c:109:11: error: PATH_MAX undeclared (first use in this function) 109 | char fn[PATH_MAX]; | ^~~~~~~~ jpegtoavi.c:109:11: 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-20200328-141627 ------------------------------------------------------------------- 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 22:37:37 UTC 2020 /var/db/repos/musl Thu Apr 2 19:02:24 UTC 2020 emerge -qpvO media-gfx/jpegtoavi [ebuild N ] media-gfx/jpegtoavi-1.5
Created attachment 629274 [details] emerge-info.txt
Created attachment 629276 [details] emerge-history.txt
Created attachment 629278 [details] environment
Created attachment 629280 [details] etc.portage.tbz2
Created attachment 629282 [details] media-gfx:jpegtoavi-1.5:20200402-234457.log
Created attachment 629284 [details] temp.tbz2
I suspect this is a case of a missing #include <limits.h> which is required explicitly on musl-libc.