* Package: app-admin/ulogd-2.0.7-r1 * Repository: gentoo * Upstream: https://bugzilla.netfilter.org/enter_bug.cgi?product=ulogd * USE: abi_x86_64 amd64 elibc_musl kernel_linux nfct nflog userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.5.13-gentoo * Adding group 'ulogd' to your system ... * - Groupid: next available * Adding user 'ulogd' to your system ... * - Userid: 981 * - Shell: /sbin/nologin * - Home: /var/log/ulogd * - Groups: ulogd * - GECOS: added by portage for ulogd * - Creating /var/log/ulogd in / >>> Unpacking source... >>> Unpacking ulogd-2.0.7.tar.bz2 to /var/tmp/portage/app-admin/ulogd-2.0.7-r1/work >>> Source unpacked in /var/tmp/portage/app-admin/ulogd-2.0.7-r1/work >>> Preparing source in /var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7 ... * econf: updating ulogd-2.0.7/build-aux/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ulogd-2.0.7/build-aux/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/ulogd-2.0.7-r1 --htmldir=/usr/share/doc/ulogd-2.0.7-r1/html --libdir=/usr/lib --without-dbi --without-jansson --disable-nfacct --enable-nfct --enable-nflog --without-mysql --without-pcap --without-pgsql --without-sqlite --disable-ulog checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking for style of include used by make... GNU checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... yes checking dependency style of x86_64-gentoo-linux-musl-gcc... none checking for x86_64-gentoo-linux-musl-ar... x86_64-gentoo-linux-musl-ar checking the archiver (x86_64-gentoo-linux-musl-ar) interface... ar checking whether make supports nested variables... (cached) yes checking whether make sets $(MAKE)... (cached) yes checking for x86_64-gentoo-linux-musl-gcc... (cached) x86_64-gentoo-linux-musl-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... (cached) yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-gentoo-linux-musl-gcc... (cached) none checking build system type... x86_64-gentoo-linux-musl checking host system type... x86_64-gentoo-linux-musl checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-gentoo-linux-musl-gcc... /usr/x86_64-gentoo-linux-musl/bin/ld checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-gentoo-linux-musl-nm -B checking the name lister (/usr/bin/x86_64-gentoo-linux-musl-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert x86_64-gentoo-linux-musl file names to x86_64-gentoo-linux-musl format... func_convert_file_noop checking how to convert x86_64-gentoo-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-gentoo-linux-musl/bin/ld option to reload object files... -r checking for x86_64-gentoo-linux-musl-objdump... x86_64-gentoo-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-gentoo-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-gentoo-linux-musl-ar... (cached) x86_64-gentoo-linux-musl-ar checking for archiver @FILE support... @ checking for x86_64-gentoo-linux-musl-strip... x86_64-gentoo-linux-musl-strip checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib checking command to parse /usr/bin/x86_64-gentoo-linux-musl-nm -B output from x86_64-gentoo-linux-musl-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-gentoo-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-gentoo-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-gentoo-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-gentoo-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-gentoo-linux-musl-gcc static flag -static works... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-gentoo-linux-musl-gcc linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for library containing dlopen... none required checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for vprintf... yes checking for _doprnt... no checking for socket... yes checking for strerror... yes checking for library containing pthread_create... none required checking for x86_64-gentoo-linux-musl-pkg-config... /usr/bin/x86_64-gentoo-linux-musl-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBNFNETLINK... yes checking for LIBNETFILTER_LOG... yes checking for LIBNETFILTER_CONNTRACK... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating include/Makefile config.status: creating include/ulogd/Makefile config.status: creating include/libipulog/Makefile config.status: creating include/linux/Makefile config.status: creating include/linux/netfilter/Makefile config.status: creating include/linux/netfilter_ipv4/Makefile config.status: creating libipulog/Makefile config.status: creating input/Makefile config.status: creating input/packet/Makefile config.status: creating input/flow/Makefile config.status: creating input/sum/Makefile config.status: creating filter/Makefile config.status: creating filter/raw2packet/Makefile config.status: creating filter/packet2flow/Makefile config.status: creating output/Makefile config.status: creating output/pcap/Makefile config.status: creating output/mysql/Makefile config.status: creating output/pgsql/Makefile config.status: creating output/sqlite3/Makefile config.status: creating output/dbi/Makefile config.status: creating src/Makefile config.status: creating Makefile config.status: creating Rules.make config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Ulogd configuration: Default plugins directory: /usr/lib/ulogd Input plugins: NFLOG plugin: yes NFCT plugin: yes NFACCT plugin: no ULOG plugin: no Output plugins: PCAP plugin: no PGSQL plugin: no MySQL plugin: no SQLITE3 plugin: no DBI plugin: no JSON plugin: no You can now run 'make' and 'make install' >>> Source configured. >>> Compiling source in /var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7' Making all in include make[2]: Entering directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/include' Making all in ulogd make[3]: Entering directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/include/ulogd' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/include/ulogd' Making all in libipulog make[3]: Entering directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/include/libipulog' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/include/libipulog' Making all in linux make[3]: Entering directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/include/linux' Making all in netfilter make[4]: Entering directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/include/linux/netfilter' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/include/linux/netfilter' Making all in netfilter_ipv4 make[4]: Entering directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/include/linux/netfilter_ipv4' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/include/linux/netfilter_ipv4' make[4]: Entering directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/include/linux' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/include/linux' make[3]: Leaving directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/include/linux' make[3]: Entering directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/include' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/include' make[2]: Leaving directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/include' Making all in libipulog make[2]: Entering directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/libipulog' /bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 libipulog.lo libipulog.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 libipulog.c -fPIC -DPIC -o .libs/libipulog.o /bin/sh ../libtool --tag=CC --mode=link x86_64-gentoo-linux-musl-gcc -Wall -Wextra -Wno-unused-parameter -DULOGD2_LIBDIR=\"/usr/lib/ulogd\" -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libipulog.la libipulog.lo libtool: link: x86_64-gentoo-linux-musl-ar cru .libs/libipulog.a .libs/libipulog.o libtool: link: x86_64-gentoo-linux-musl-ranlib .libs/libipulog.a libtool: link: ( cd ".libs" && rm -f "libipulog.la" && ln -s "../libipulog.la" "libipulog.la" ) make[2]: Leaving directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/libipulog' Making all in src make[2]: Entering directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/src' 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 ulogd.c:735:7: warning: unused variable ‘path’ [-Wunused-variable] 735 | char path[PATH_MAX]; | ^~~~ make[2]: *** [Makefile:443: ulogd.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7/src' make[1]: *** [Makefile:517: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7' make: *** [Makefile:404: all] Error 2 * ERROR: app-admin/ulogd-2.0.7-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-admin/ulogd-2.0.7-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-admin/ulogd-2.0.7-r1::gentoo'`. * The complete build log is located at '/var/log/portage/app-admin:ulogd-2.0.7-r1:20200330-145527.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7' * S: '/var/tmp/portage/app-admin/ulogd-2.0.7-r1/work/ulogd-2.0.7'