+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cmu-dhcpd-3.3.7.9/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cmu-dhcpd-3.3.7.9/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for cmu-dhcpd-3.3.7.9 --- dhcp.o --- --- main.o --- --- dhcp.o --- cc -O -DNO_SNMP -c dhcp.c --- main.o --- cc -O -DNO_SNMP -c main.c --- dhcp.o --- In file included from dhcp.c:42: dhcpd.h:182:8: warning: type defaults to 'int' in declaration of 'ping' [-Wimplicit-int] 182 | extern ping(); | ^~~~ dhcp.c: In function 'init_dhcp': dhcp.c:144:9: warning: implicit declaration of function 'report'; did you mean 'rresvport'? [-Wimplicit-function-declaration] 144 | report(LOG_INFO,"using last binds dir %s",bindingsdir); | ^~~~~~ | rresvport dhcp.c: In function 'dhcp_opts': dhcp.c:588:35: warning: implicit declaration of function 'dhcp_opts_field' [-Wimplicit-function-declaration] 588 | if ((dhcp_opts_field_rc = dhcp_opts_field(cp + VEND_OFFSET, pktlen - VEND_OFFSET, cl, &errstr)) >= 0) { | ^~~~~~~~~~~~~~~ dhcp.c: In function 'free_client_info': dhcp.c:934:9: warning: implicit declaration of function 'del_bindata' [-Wimplicit-function-declaration] 934 | del_bindata(cl->cliid); | ^~~~~~~~~~~ dhcp.c: In function 'dhcp_discover': dhcp.c:1309:60: warning: implicit declaration of function 'access_network'; did you mean 'inet_network'? [-Wimplicit-function-declaration] 1309 | rc=access_network(c->code,ROAMING_ACCESS|REG_ACCESS|DHCP_ACCESS); | ^~~~~~~~~~~~~~ | inet_network dhcp.c:1565:12: warning: implicit declaration of function 'fill_header' [-Wimplicit-function-declaration] 1565 | if(fill_header(rpkt,hp,&bootsize)){ | ^~~~~~~~~~~ --- main.o --- main.c: In function 'signal': main.c:72:63: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 72 | struct sigaction so,sa = {NULL,0,SA_NOMASK|SA_RESTART,NULL}; | ^~~~ main.c:72:63: note: (near initialization for 'sa.sa_mask.__val[2]') In file included from main.c:83: dhcpd.h: At top level: dhcpd.h:182:8: warning: type defaults to 'int' in declaration of 'ping' [-Wimplicit-int] 182 | extern ping(); | ^~~~ --- dhcp.o --- In file included from dhcp.c:41: dhcp.c: In function 'send_dhcp_reply': bootpd.h:64:28: warning: implicit declaration of function 'get_errmsg' [-Wimplicit-function-declaration] 64 | #define get_network_errmsg get_errmsg | ^~~~~~~~~~ dhcp.c:4059:50: note: in expansion of macro 'get_network_errmsg' 4059 | report(LOG_ERR, " sendto: %s", get_network_errmsg()); | ^~~~~~~~~~~~~~~~~~ dhcp.c: In function 'create_lease': dhcp.c:4190:17: warning: implicit declaration of function 'fill_defaults2' [-Wimplicit-function-declaration] 4190 | fill_defaults2(hp,hp2); /* modify hp; info from hp2 is used to override info in hp */ | ^~~~~~~~~~~~~~ --- main.o --- main.c: In function 'main': main.c:864:9: warning: implicit declaration of function 'init_dhcp' [-Wimplicit-function-declaration] 864 | init_dhcp(); | ^~~~~~~~~ main.c:1093:17: warning: implicit declaration of function 'readconf' [-Wimplicit-function-declaration] 1093 | readconf(0); | ^~~~~~~~ main.c:1122:65: warning: implicit declaration of function 'dhcp_discover' [-Wimplicit-function-declaration] 1122 | case DHCPDISCOVER: dhcp_discover(bp); break; | ^~~~~~~~~~~~~ main.c:1123:65: warning: implicit declaration of function 'dhcp_request'; did you mean 'bootp_request'? [-Wimplicit-function-declaration] 1123 | case DHCPREQUEST: dhcp_request(bp); break; | ^~~~~~~~~~~~ | bootp_request main.c:1124:66: warning: implicit declaration of function 'dhcp_release' [-Wimplicit-function-declaration] 1124 | case DHCPRELEASE: dhcp_release(bp); break; | ^~~~~~~~~~~~ main.c:1125:66: warning: implicit declaration of function 'dhcp_decline' [-Wimplicit-function-declaration] 1125 | case DHCPDECLINE: dhcp_decline(bp); break; | ^~~~~~~~~~~~ main.c:1126:65: warning: implicit declaration of function 'dhcp_inform' [-Wimplicit-function-declaration] 1126 | case DHCPINFORM: dhcp_inform(bp); break; | ^~~~~~~~~~~ main.c:1160:25: warning: implicit declaration of function 'flush_disk' [-Wimplicit-function-declaration] 1160 | flush_disk(); | ^~~~~~~~~~ main.c:1172:25: warning: implicit declaration of function 'dumpbindings' [-Wimplicit-function-declaration] 1172 | dumpbindings(bootpd_dumpbind); | ^~~~~~~~~~~~ main.c: In function 'bootp_request': main.c:1579:68: warning: implicit declaration of function 'access_network'; did you mean 'inet_network'? [-Wimplicit-function-declaration] 1579 | rc=access_network(c->code,ROAMING_ACCESS|REG_ACCESS|BOOTP_ACCESS); | ^~~~~~~~~~~~~~ | inet_network main.c:1823:12: warning: implicit declaration of function 'fill_header' [-Wimplicit-function-declaration] 1823 | if(fill_header(bp,hp,&bootsize)) | ^~~~~~~~~~~ --- dovend.o --- cc -O -DNO_SNMP -c dovend.c In file included from dovend.c:19: dhcpd.h:182:8: warning: type defaults to 'int' in declaration of 'ping' [-Wimplicit-int] 182 | extern ping(); | ^~~~ --- readfile.o --- cc -O -DNO_SNMP -c readfile.c In file included from readfile.c:55: dhcpd.h:182:8: warning: type defaults to 'int' in declaration of 'ping' [-Wimplicit-int] 182 | extern ping(); | ^~~~ readfile.c: In function 'delete_changed': readfile.c:420:25: warning: implicit declaration of function 'reuse_addr'; did you mean 'si_addr'? [-Wimplicit-function-declaration] 420 | reuse_addr(hp); | ^~~~~~~~~~ | si_addr readfile.c: In function 'readtab': readfile.c:704:9: warning: implicit declaration of function 'readconf' [-Wimplicit-function-declaration] 704 | readconf(1); | ^~~~~~~~ --- hash.o --- cc -O -DNO_SNMP -c hash.c --- hashf.o --- cc -O -DNO_SNMP -c hashf.c hashf.c: In function 'hashf_Reset': hashf.c:153:17: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 153 | unlink(direntry->d_name); | ^~~~~~ --- dynamic.o --- cc -O -DNO_SNMP -c dynamic.c --- ping.o --- cc -O -DNO_SNMP -c ping.c --- dynamic.o --- In file included from dynamic.c:42: dhcpd.h:182:8: warning: type defaults to 'int' in declaration of 'ping' [-Wimplicit-int] 182 | extern ping(); | ^~~~ dynamic.c: In function 'readconf': dynamic.c:153:65: warning: implicit declaration of function 'get_errmsg' [-Wimplicit-function-declaration] 153 | report(LOG_ERR, "stat on \"%s\": %s", conffile, get_errmsg()); | ^~~~~~~~~~ dynamic.c: In function 'free_cable': dynamic.c:195:9: warning: implicit declaration of function 'del_string' [-Wimplicit-function-declaration] 195 | del_string(cable->name); | ^~~~~~~~~~ --- ping.o --- ping.c:31:10: fatal error: netinet/ip_var.h: No such file or directory 31 | #include <netinet/ip_var.h> | ^~~~~~~~~~~~~~~~~~ compilation terminated. *** [ping.o] Error code 1 bmake: stopped in /home/pbulk/build/net/cmu-dhcpd/work/CMU-dhcp-3.3.7+PU-9 1 error bmake: stopped in /home/pbulk/build/net/cmu-dhcpd/work/CMU-dhcp-3.3.7+PU-9 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/cmu-dhcpd *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/cmu-dhcpd