* Package: sys-libs/libstatgrab-0.91 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking libstatgrab-0.91.tar.gz to /var/tmp/portage/sys-libs/libstatgrab-0.91/work >>> Source unpacked in /var/tmp/portage/sys-libs/libstatgrab-0.91/work >>> Preparing source in /var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91 ... * Applying libstatgrab-0.91-tinfo.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I m4 ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --force-missing ... [ ok ] * Running elibtoolize in: libstatgrab-0.91/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91 ... >>> Working in BUILD_DIR: "/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91_build" * econf: updating libstatgrab-0.91/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libstatgrab-0.91/config.guess with /usr/share/gnuconfig/config.guess /var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91/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 --libdir=/usr/lib --docdir=/usr/share/doc/libstatgrab-0.91 --enable-shared --disable-static --disable-setgid-binaries --disable-setuid-binaries --with-ncurses --disable-static 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 whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-gentoo-linux-musl checking host system type... x86_64-gentoo-linux-musl 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 whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-gentoo-linux-musl-gcc... none checking dependency style of x86_64-gentoo-linux-musl-gcc... (cached) none checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C99... none needed checking for x86_64-gentoo-linux-musl-g++... x86_64-gentoo-linux-musl-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-gentoo-linux-musl-g++ accepts -g... yes checking dependency style of x86_64-gentoo-linux-musl-g++... none checking dependency style of x86_64-gentoo-linux-musl-g++... (cached) none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep 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 how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... 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 stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for size_t... yes checking for ssize_t... yes checking for off_t... yes checking for pid_t... yes checking for uid_t in sys/types.h... yes checking for uid_t in sys/types.h... (cached) yes checking for time_t... yes checking for unsigned long long int... yes checking for long long int... yes checking for unsigned long long int... (cached) yes checking whether _AIX is declared... no checking whether __linux is declared... yes checking whether __sun is declared... no checking whether __hpux is declared... no checking which _XOPEN_SOURCE macro must be defined... none (XPG6) checking for library containing gethostent... none required checking for library containing setsockopt... none required checking for malloc... yes checking for realloc... yes checking for library containing getmntent... none required checking for atoll... yes checking for bzero... yes checking for fcntl... yes checking for flock... yes checking for getloadavg... yes checking for getmntent... (cached) yes checking for getmntent_r... yes checking for seteuid... yes checking for setegid... yes checking for setresuid... yes checking for setresgid... yes checking for setvbuf... yes checking for statfs... yes checking for statvfs... yes checking for statvfs64... yes checking for strerror_r... yes checking for strlcat... yes checking for strlcpy... yes checking for strndup... yes checking for strnlen... yes checking for vsprintf... yes checking for vsnprintf... yes checking whether strlcat is declared... yes checking whether strlcpy is declared... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for stdint.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/unistd.h usability... no checking sys/unistd.h presence... no checking for sys/unistd.h... no checking whether F_SETLK is declared... yes checking whether compiling for native Win32... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking libdevinfo.h usability... no checking libdevinfo.h presence... no checking for libdevinfo.h... no checking mach/machine.h usability... no checking mach/machine.h presence... no checking for mach/machine.h... no checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking sys/fstyp.h usability... no checking sys/fstyp.h presence... no checking for sys/fstyp.h... no checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking sys/mnttent.h usability... no checking sys/mnttent.h presence... no checking for sys/mnttent.h... no checking sys/mnttab.h usability... no checking sys/mnttab.h presence... no checking for sys/mnttab.h... no checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking for sys/param.h... yes checking for sys/mount.h... yes checking for sys/proc.h... no checking for sys/swap.h... yes checking for sys/sysctl.h... no checking for sys/systeminfo.h... no checking for sys/user.h... yes checking for arpa/inet.h... yes checking for netinet/in.h... yes checking for net/if.h... yes checking for netinet/if_ether.h... yes checking for sys/sar.h... no checking for sys/sysinfo.h... yes checking for strncpy... yes checking for format string for pid_t... %d checking for format string for uid_t... %u checking for format string for gid_t... %u checking for format string for time_t... %ld checking for format string for size_t... %zu checking for format string for ssize_t... %zd checking whether struct sg_vector needs alignment helper... no checking for unspecified array size for last struct member... yes checking for array length of 0... yes checking for struct statvfs... yes checking for struct statvfs.f_fstypename... no checking for struct statvfs.f_basetype... no checking for struct statvfs.f_iosize... no checking for struct statvfs.f_frsize... yes checking for struct statvfs64... yes checking for struct statvfs64.f_fstypename... no checking for struct statvfs64.f_basetype... no checking for struct statvfs64.f_iosize... no checking for struct statvfs64.f_frsize... yes checking for sysfs... no checking for getutxent... yes checking for setutxent... yes checking for endutxent... yes checking whether getutxent is declared... yes checking whether setutxent is declared... yes checking whether endutxent is declared... yes checking for struct utmpx... yes checking for struct utmpx.ut_type... yes checking for struct utmpx.ut_host... yes checking for struct utmpx.ut_syslen... no checking size of utmpx.ut_id... 0 checking for setutent... yes checking for endutent... yes checking for getutent... yes checking whether getutent is declared... yes checking whether setutent is declared... yes checking whether endutent is declared... yes checking for struct utmp... yes checking for struct utmp.ut_line... yes checking for struct utmp.ut_type... yes checking for struct utmp.ut_name... yes checking for struct utmp.ut_user... yes checking for struct utmp.ut_host... yes checking for struct utmp.ut_pid... yes checking for struct utmp.ut_id... yes checking for struct utmp.ut_time... yes checking size of utmp.ut_id... 0 checking for struct sockaddr_storage.ss_family... yes checking for struct sockaddr_storage.__ss_family... no configure: WARNING: Build on unknown OS: linux-musl - many functions might be not functional checking whether MNT_MNTTAB is declared... no checking for /proc/mounts... yes checking whether setmntent is declared... yes checking whether endmntent is declared... yes checking for struct mntent... yes checking for struct mnttab... no checking apparent thread safety of getmntent... no checking return type of getmntent_r... struct mntent * checking for struct statfs... yes checking for struct statfs.f_favail... no checking for struct statfs.f_iosize... no checking for struct statfs.f_frsize... yes checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking how to print strings... printf 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 how to control symbol visibility... unknown checking for isnan in -lm... no checking for fabs in -lm... yes checking for working ncurses... ncurses.h checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sys/termios.h usability... yes checking sys/termios.h presence... yes checking for sys/termios.h... yes checking whether to build examples... no checking for applicable docbook2man... /usr/bin/docbook2x-man configure: enabling build of manpages using /usr/bin/docbook2x-man checking for applicable perl5 interpreter... /usr/bin/perl configure: enabling build of test automation using /usr/bin/perl checking return type of strerror_r... int checking whether compiling for native Win32... (cached) no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking whether PTHREAD_ONCE_INIT needs braces... no checking whether PTHREAD_MUTEX_INITIALIZER needs braces... no checking for library containing sem_init... none required checking if liblog4cplus is wanted... check checking if liblog4cplus wants a prefix... no 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 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... mt checking if mt is a manifest tool... no 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 how to run the C++ preprocessor... x86_64-gentoo-linux-musl-g++ -E checking for ld used by x86_64-gentoo-linux-musl-g++... /usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-gentoo-linux-musl-g++ linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-gentoo-linux-musl-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-gentoo-linux-musl-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-gentoo-linux-musl-g++ static flag -static works... yes checking if x86_64-gentoo-linux-musl-g++ supports -c -o file.o... yes checking if x86_64-gentoo-linux-musl-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-gentoo-linux-musl-g++ linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/libstatgrab/Makefile config.status: creating src/statgrab/Makefile config.status: creating src/saidar/Makefile config.status: creating docs/Makefile config.status: creating docs/libstatgrab/Makefile config.status: creating docs/statgrab/Makefile config.status: creating docs/saidar/Makefile config.status: creating tests/Makefile config.status: creating tests/testlib/Makefile config.status: creating tests/single_threaded/Makefile config.status: creating tests/multi_threaded/Makefile config.status: creating examples/Makefile config.status: creating libstatgrab.pc config.status: creating src/statgrab/statgrab-make-mrtg-config config.status: creating src/statgrab/statgrab-make-mrtg-index config.status: creating src/libstatgrab/statgrab.h config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91 ... >>> Working in BUILD_DIR: "/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91_build" make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91_build' Making all in src make[2]: Entering directory '/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91_build/src' Making all in libstatgrab make[3]: Entering directory '/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91_build/src/libstatgrab' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91/src/libstatgrab -I../.. -DBUILD_LIBSTATGRAB -D_GNU_SOURCE -O2 -pipe -march=native -c -o cpu_stats.lo /var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91/src/libstatgrab/cpu_stats.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91/src/libstatgrab -I../.. -DBUILD_LIBSTATGRAB -D_GNU_SOURCE -O2 -pipe -march=native -c /var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91/src/libstatgrab/cpu_stats.c -fPIC -DPIC -o .libs/cpu_stats.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91/src/libstatgrab -I../.. -DBUILD_LIBSTATGRAB -D_GNU_SOURCE -O2 -pipe -march=native -c -o disk_stats.lo /var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91/src/libstatgrab/disk_stats.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91/src/libstatgrab -I../.. -DBUILD_LIBSTATGRAB -D_GNU_SOURCE -O2 -pipe -march=native -c /var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91/src/libstatgrab/disk_stats.c -fPIC -DPIC -o .libs/disk_stats.o /var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91/src/libstatgrab/disk_stats.c: In function ‘init_valid_fs_types’: /var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91/src/libstatgrab/disk_stats.c:534:31: error: ‘VALID_FS_TYPES’ undeclared (first use in this function) 534 | const char *int_valid_fs[] = VALID_FS_TYPES; | ^~~~~~~~~~~~~~ /var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91/src/libstatgrab/disk_stats.c:534:31: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [Makefile:519: disk_stats.lo] Error 1 make[3]: Leaving directory '/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91_build/src/libstatgrab' make[2]: *** [Makefile:393: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91_build/src' make[1]: *** [Makefile:548: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91_build' make: *** [Makefile:415: all] Error 2 * ERROR: sys-libs/libstatgrab-0.91::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-libs/libstatgrab-0.91::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-libs/libstatgrab-0.91::gentoo'`. * The complete build log is located at '/var/log/portage/sys-libs:libstatgrab-0.91:20200403-183053.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/libstatgrab-0.91/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/libstatgrab-0.91/temp/environment'. * Working directory: '/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91_build' * S: '/var/tmp/portage/sys-libs/libstatgrab-0.91/work/libstatgrab-0.91'