* Package: sys-apps/netkit-base-0.17-r9 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux pie split-usr ssp userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking netkit-base-0.17.tar.gz to /var/tmp/portage/sys-apps/netkit-base-0.17-r9/work >>> Source unpacked in /var/tmp/portage/sys-apps/netkit-base-0.17-r9/work >>> Preparing source in /var/tmp/portage/sys-apps/netkit-base-0.17-r9/work/netkit-base-0.17 ... * Applying 003_all_netkit-base-0.17-gcc4.patch ... [ ok ] * Applying 004_all_netkit-base-0.17-misc-fixes.patch ... [ ok ] * Applying 005_all_netkit-base-0.17-no-rpc.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/netkit-base-0.17-r9/work/netkit-base-0.17 ... Directories: /bin /usr/bin /usr/sbin /usr/man Checking if C compiler works... yes Checking if x86_64-gentoo-linux-musl-gcc accepts gcc warnings... yes Checking if x86_64-gentoo-linux-musl-gcc accepts -O2... yes Checking for BSD signal semantics... yes Checking for socklen_t... yes Checking for snprintf declaration... ok Checking for snprintf implementation... ok Generating MCONFIG... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/netkit-base-0.17-r9/work/netkit-base-0.17 ... make -j1 (cd inetd && make) make[1]: Entering directory '/var/tmp/portage/sys-apps/netkit-base-0.17-r9/work/netkit-base-0.17/inetd' x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -Wall -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline inetd.c -c inetd.c: In function ‘discard_stupid_environment’: inetd.c:253:12: error: ‘__environ’ undeclared (first use in this function) 253 | for (i=0; __environ[i]; i++) { | ^~~~~~~~~ inetd.c:253:12: note: each undeclared identifier is reported only once for each function it appears in inetd.c: In function ‘launch’: inetd.c:467:3: warning: implicit declaration of function ‘fcntl’ [-Wimplicit-function-declaration] 467 | fcntl(sep->se_fd, F_SETFL, O_NDELAY); | ^~~~~ inetd.c:467:3: warning: nested extern declaration of ‘fcntl’ [-Wnested-externs] inetd.c:467:21: error: ‘F_SETFL’ undeclared (first use in this function) 467 | fcntl(sep->se_fd, F_SETFL, O_NDELAY); | ^~~~~~~ inetd.c:467:30: error: ‘O_NDELAY’ undeclared (first use in this function); did you mean ‘LOG_NDELAY’? 467 | fcntl(sep->se_fd, F_SETFL, O_NDELAY); | ^~~~~~~~ | LOG_NDELAY make[1]: *** [../MRULES:4: inetd.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-apps/netkit-base-0.17-r9/work/netkit-base-0.17/inetd' make: *** [Makefile:9: inetd.build] Error 2 * ERROR: sys-apps/netkit-base-0.17-r9::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/netkit-base-0.17-r9::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/netkit-base-0.17-r9::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:netkit-base-0.17-r9:20200405-191915.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/netkit-base-0.17-r9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/netkit-base-0.17-r9/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/netkit-base-0.17-r9/work/netkit-base-0.17' * S: '/var/tmp/portage/sys-apps/netkit-base-0.17-r9/work/netkit-base-0.17'