https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-text/texlive-core-2023-r10 fails to compile. Discovered on: amd64 (internal ref: tinderbox_musl) System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Created attachment 910173 [details] build.log build log and emerge --info
Created attachment 910174 [details] 1-config.log 1-config.log
configure:23373: checking requested system `kpathsea' library configure:23390: x86_64-pc-linux-musl-gcc -o conftest -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fpermissive -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 conftest.c -lkpathsea >&5 In file included from /usr/include/kpathsea/kpathsea.h:15, from conftest.c:42: /usr/include/kpathsea/getopt.h:133:20: error: conflicting types for 'getopt'; have 'int(void)' 133 | extern KPSEDLL int getopt (); | ^~~~~~ In file included from /usr/include/kpathsea/c-unistd.h:31, from /usr/include/kpathsea/c-std.h:38, from /usr/include/kpathsea/config.h:88, from /usr/include/kpathsea/kpathsea.h:3: /usr/include/unistd.h:127:5: note: previous declaration of 'getopt' with type 'int(int, char * const*, const char *)' 127 | int getopt(int, char * const [], const char *); | ^~~~~~ configure:23390: $? = 1