* Package: sys-process/atop-2.6.0 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux 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.15.8-gentoo-dist >>> Unpacking source... >>> Unpacking atop-2.6.0.tar.gz to /var/tmp/portage/sys-process/atop-2.6.0/work >>> Source unpacked in /var/tmp/portage/sys-process/atop-2.6.0/work >>> Preparing source in /var/tmp/portage/sys-process/atop-2.6.0/work/atop-2.6.0 ... * Applying atop-2.6.0-build.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-process/atop-2.6.0/work/atop-2.6.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-process/atop-2.6.0/work/atop-2.6.0 ... make -j4 x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -O2 -I. -Wall -Wno-stringop-truncation -c -o atop.o atop.c ./mkdate x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -O2 -I. -Wall -Wno-stringop-truncation -c -o various.o various.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -O2 -I. -Wall -Wno-stringop-truncation -c -o deviate.o deviate.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -O2 -I. -Wall -Wno-stringop-truncation -c -o procdbase.o procdbase.c various.c: In function 'val2valstr': various.c:333:50: warning: '%d' directive output between 1 and 10 bytes may cause result to exceed 'INT_MAX' [-Wformat-overflow=] 333 | sprintf(strvalue, "%*llde%d%s", | ^~ various.c:333:43: note: directive argument in the range [0, 2147483647] 333 | sprintf(strvalue, "%*llde%d%s", | ^~~~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -O2 -I. -Wall -Wno-stringop-truncation -c -o acctproc.o acctproc.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -O2 -I. -Wall -Wno-stringop-truncation -c -o photoproc.o photoproc.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -O2 -I. -Wall -Wno-stringop-truncation -c -o photosyst.o photosyst.c photosyst.c: In function 'lvmmapname': photosyst.c:1624:38: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'? 1624 | char path[PATH_MAX]; | ^~~~~~~~ | AF_MAX photosyst.c:1624:38: note: each undeclared identifier is reported only once for each function it appears in photosyst.c:1624:33: warning: unused variable 'path' [-Wunused-variable] 1624 | char path[PATH_MAX]; | ^~~~ photosyst.c: In function 'get_infiniband': photosyst.c:1863:38: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'? 1863 | char path[PATH_MAX], *p; | ^~~~~~~~ | AF_MAX photosyst.c:1863:33: warning: unused variable 'path' [-Wunused-variable] 1863 | char path[PATH_MAX], *p; | ^~~~ photosyst.c: In function 'ibprep': photosyst.c:1979:22: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'? 1979 | char path[PATH_MAX], linebuf[64], speedunit; | ^~~~~~~~ | AF_MAX photosyst.c:1979:17: warning: unused variable 'path' [-Wunused-variable] 1979 | char path[PATH_MAX], linebuf[64], speedunit; | ^~~~ x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -O2 -I. -Wall -Wno-stringop-truncation -c -o rawlog.o rawlog.c make: *** [: photosyst.o] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: sys-process/atop-2.6.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-process/atop-2.6.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-process/atop-2.6.0::gentoo'`. * The complete build log is located at '/var/log/portage/sys-process:atop-2.6.0:20211216-161601.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-process/atop-2.6.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-process/atop-2.6.0/temp/environment'. * Working directory: '/var/tmp/portage/sys-process/atop-2.6.0/work/atop-2.6.0' * S: '/var/tmp/portage/sys-process/atop-2.6.0/work/atop-2.6.0'