x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DULOGD_CONFIGFILE=\/etc/ulogd.conf\ -DULOGD_LOGFILE_DEFAULT=\/var/lib/log/ulogd.log\ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wextra -Wno-unused-parameter -DULOGD2_LIBDIR=\/usr/lib/ulogd\ -O2 -pipe -march=native -c -o ulogd.o ulogd.c ulogd.c: In function load_all_plugins: ulogd.c:735:12: error: PATH_MAX undeclared (first use in this function) 735 | char path[PATH_MAX]; | ^~~~~~~~ ulogd.c:735:12: 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 Mon Mar 30 13:39:06 UTC 2020 /var/db/repos/musl Fri Mar 27 00:25:27 UTC 2020 emerge -qpvO app-admin/ulogd [ebuild N ] app-admin/ulogd-2.0.7-r1 USE="nfct nflog -dbi -doc -json -mysql -nfacct -pcap -postgres (-selinux) -sqlite -ulog"
Created attachment 627434 [details] emerge-info.txt
Created attachment 627436 [details] app-admin:ulogd-2.0.7-r1:20200330-145527.log
Created attachment 627438 [details] emerge-history.txt
Created attachment 627440 [details] environment
Created attachment 627442 [details] etc.portage.tbz2
Created attachment 627444 [details] logs.tbz2
Created attachment 627446 [details] temp.tbz2
I suspect this is a case of a missing #include <limits.h> which is required explicitly on musl-libc.
https://git.alpinelinux.org/aports/tree/main/ulogd/musl-fixes.patch
Make a PR for a -r2. This contains the necessary patch for closing this bug. More info here: https://github.com/gentoo/gentoo/pull/20092
New
Sorry, new version is out. Please test and report back