* Package: net-misc/netkit-bootpd-2.4-r1:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking bootpd-2.4.tar.gz to /var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/work >>> Source unpacked in /var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/work >>> Preparing source in /var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/work/bootpd-2.4 ... * Applying netkit-bootpd-2.4.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/work/bootpd-2.4 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/work/bootpd-2.4 ... make -j4 linux make CC="x86_64-pc-linux-gnu-gcc" \ SYSDEFS="-Dlinux" \ SYSLIBS="" \ LOG_FACILITY="-DLOG_BOOTP=LOG_LOCAL2" \ OPTDEFS="-DSYSLOG -DDEBUG" make[1]: Entering directory '/var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/work/bootpd-2.4' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c bootpd.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c dovend.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c readfile.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c hash.c readfile.c: In function ‘readtab’: readfile.c:347:33: error: implicit declaration of function ‘ctime’ [-Werror=implicit-function-declaration] 347 | strcpy(timestr, ctime(&(st.st_mtime))); | ^~~~~ readfile.c:67:1: note: ‘ctime’ is defined in header ‘’; did you forget to ‘#include ’? 66 | #include "bootpd.h" +++ |+#include 67 | readfile.c:347:33: warning: passing argument 2 of ‘strcpy’ makes pointer from integer without a cast [-Wint-conversion] 347 | strcpy(timestr, ctime(&(st.st_mtime))); | ^~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from /usr/include/sys/errno.h:1, from readfile.c:37: /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘int’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ bootpd.c: In function ‘main’: bootpd.c:484:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 484 | if ((int) signal(SIGHUP, catcher) < 0) { | ^ bootpd.c:488:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 488 | if ((int) signal(SIGUSR1, catcher) < 0) { | ^ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c dumptab.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c lookup.c dumptab.c: In function ‘dump_host’: dumptab.c:263:50: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int32_t’ {aka ‘int’} [-Wformat=] 263 | fprintf(fp, "\\\n\t:to=%ld:", hp->time_offset); | ~~^ ~~~~~~~~~~~~~~~ | | | | | int32_t {aka int} | long int | %d x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c getif.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c hwaddr.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c tzone.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -DLOG_BOOTP=LOG_LOCAL2 -c report.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c bootpef.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c bootpgw.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c bootptest.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c print-bootp.c bootptest.c:117:1: error: return type defaults to ‘int’ [-Werror=implicit-int] 117 | main(argc, argv) | ^~~~ bootptest.c: In function ‘main’: bootptest.c:289:25: error: implicit declaration of function ‘getpid’; did you mean ‘getif’? [-Werror=implicit-function-declaration] 289 | xid = (int32_t) getpid(); | ^~~~~~ | getif bootptest.c:305:21: error: implicit declaration of function ‘getether’ [-Werror=implicit-function-declaration] 305 | if (getether(ifr->ifr_name, eaddr)) { | ^~~~~~~~ bootptest.c:315:17: error: implicit declaration of function ‘gethostname’; did you mean ‘gethostbyname’? [-Werror=implicit-function-declaration] 315 | gethostname(hostname, sizeof(hostname)); | ^~~~~~~~~~~ | gethostbyname bootptest.c:344:21: error: implicit declaration of function ‘read’; did you mean ‘fread’? [-Werror=implicit-function-declaration] 344 | n = read(fd, bp->bp_vend, n); | ^~~~ | fread bootptest.c:345:17: error: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Werror=implicit-function-declaration] 345 | close(fd); | ^~~~~ | pclose bootptest.c:367:9: error: implicit declaration of function ‘send_request’ [-Werror=implicit-function-declaration] 367 | send_request(s); | ^~~~~~~~~~~~ bootptest.c: At top level: bootptest.c:425:1: error: return type defaults to ‘int’ [-Werror=implicit-int] 425 | send_request(s) | ^~~~~~~~~~~~ print-bootp.c: In function ‘bootp_print’: print-bootp.c:149:21: error: implicit declaration of function ‘printfn’; did you mean ‘printf’? [-Werror=implicit-function-declaration] 149 | if (printfn(bp->bp_sname, ep)) { | ^~~~~~~ | printf print-bootp.c: In function ‘rfc1048_print’: print-bootp.c:313:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 313 | printf(" |(%d>%d)", len, ep - bp); | ~^ ~~~~~~~ | | | | int long int | %ld x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c getether.c cc1: some warnings being treated as errors make[1]: *** [Makefile:183: bootptest.o] Error 1 make[1]: *** Waiting for unfinished jobs.... getether.c:330:1: error: return type defaults to ‘int’ [-Werror=implicit-int] 330 | getether(ifname, eap) | ^~~~~~~~ getether.c: In function ‘getether’: getether.c:348:9: error: implicit declaration of function ‘close’; did you mean ‘closelog’? [-Werror=implicit-function-declaration] 348 | close(fd); | ^~~~~ | closelog cc1: some warnings being treated as errors make[1]: *** [Makefile:183: getether.o] Error 1 cc1: some warnings being treated as errors make[1]: *** [Makefile:183: print-bootp.o] Error 1 cc1: some warnings being treated as errors make[1]: *** [Makefile:183: readfile.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/work/bootpd-2.4' make: *** [Makefile:127: linux] Error 2 * ERROR: net-misc/netkit-bootpd-2.4-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/netkit-bootpd-2.4-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/netkit-bootpd-2.4-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:netkit-bootpd-2.4-r1:20221005-205238.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/work/bootpd-2.4' * S: '/var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/work/bootpd-2.4'