+ 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 --- cc -O -DNO_SNMP -c main.c --- dhcp.o --- cc -O -DNO_SNMP -c dhcp.c --- main.o --- main.c: In function 'signal': main.c:72:56: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] struct sigaction so,sa = {NULL,0,SA_NOMASK|SA_RESTART,NULL}; ^~~~ main.c:72:56: 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] extern ping(); ^~~~ main.c: In function 'main': main.c:864:2: warning: implicit declaration of function 'init_dhcp'; did you mean 'inet_ntop'? [-Wimplicit-function-declaration] init_dhcp(); ^~~~~~~~~ inet_ntop main.c:1093:4: warning: implicit declaration of function 'readconf'; did you mean 'readlink'? [-Wimplicit-function-declaration] readconf(0); ^~~~~~~~ readlink main.c:1122:30: warning: implicit declaration of function 'dhcp_discover' [-Wimplicit-function-declaration] case DHCPDISCOVER: dhcp_discover(bp); break; ^~~~~~~~~~~~~ main.c:1123:30: warning: implicit declaration of function 'dhcp_request'; did you mean 'bootp_request'? [-Wimplicit-function-declaration] case DHCPREQUEST: dhcp_request(bp); break; ^~~~~~~~~~~~ bootp_request main.c:1124:31: warning: implicit declaration of function 'dhcp_release' [-Wimplicit-function-declaration] case DHCPRELEASE: dhcp_release(bp); break; ^~~~~~~~~~~~ main.c:1125:31: warning: implicit declaration of function 'dhcp_decline' [-Wimplicit-function-declaration] case DHCPDECLINE: dhcp_decline(bp); break; ^~~~~~~~~~~~ main.c:1126:30: warning: implicit declaration of function 'dhcp_inform' [-Wimplicit-function-declaration] case DHCPINFORM: dhcp_inform(bp); break; ^~~~~~~~~~~ main.c:1160:4: warning: implicit declaration of function 'flush_disk'; did you mean 'push_ip'? [-Wimplicit-function-declaration] flush_disk(); ^~~~~~~~~~ push_ip --- dhcp.o --- In file included from dhcp.c:42: dhcpd.h:182:8: warning: type defaults to 'int' in declaration of 'ping' [-Wimplicit-int] extern ping(); ^~~~ --- main.o --- main.c:1172:4: warning: implicit declaration of function 'dumpbindings'; did you mean 'sigpending'? [-Wimplicit-function-declaration] dumpbindings(bootpd_dumpbind); ^~~~~~~~~~~~ sigpending --- dhcp.o --- dhcp.c: In function 'init_dhcp': dhcp.c:144:2: warning: implicit declaration of function 'report'; did you mean 'rresvport'? [-Wimplicit-function-declaration] report(LOG_INFO,"using last binds dir %s",bindingsdir); ^~~~~~ rresvport --- main.o --- main.c: In function 'bootp_request': main.c:1579:12: warning: implicit declaration of function 'access_network'; did you mean 'inet_network'? [-Wimplicit-function-declaration] rc=access_network(c->code,ROAMING_ACCESS|REG_ACCESS|BOOTP_ACCESS); ^~~~~~~~~~~~~~ inet_network main.c:1823:5: warning: implicit declaration of function 'fill_header'; did you mean 'ifr_hwaddr'? [-Wimplicit-function-declaration] if(fill_header(bp,hp,&bootsize)) ^~~~~~~~~~~ ifr_hwaddr --- dhcp.o --- dhcp.c: In function 'dhcp_opts': dhcp.c:588:28: warning: implicit declaration of function 'dhcp_opts_field'; did you mean 'dhcp_opts'? [-Wimplicit-function-declaration] if ((dhcp_opts_field_rc = dhcp_opts_field(cp + VEND_OFFSET, pktlen - VEND_OFFSET, cl, &errstr)) >= 0) { ^~~~~~~~~~~~~~~ dhcp_opts dhcp.c: In function 'free_client_info': dhcp.c:934:2: warning: implicit declaration of function 'del_bindata' [-Wimplicit-function-declaration] del_bindata(cl->cliid); ^~~~~~~~~~~ dhcp.c: In function 'dhcp_discover': dhcp.c:1309:11: warning: implicit declaration of function 'access_network'; did you mean 'inet_network'? [-Wimplicit-function-declaration] rc=access_network(c->code,ROAMING_ACCESS|REG_ACCESS|DHCP_ACCESS); ^~~~~~~~~~~~~~ inet_network dhcp.c:1565:5: warning: implicit declaration of function 'fill_header'; did you mean 'ifr_hwaddr'? [-Wimplicit-function-declaration] if(fill_header(rpkt,hp,&bootsize)){ ^~~~~~~~~~~ ifr_hwaddr 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'; did you mean 'getservent'? [-Wimplicit-function-declaration] #define get_network_errmsg get_errmsg ^~~~~~~~~~ dhcp.c:4059:36: note: in expansion of macro 'get_network_errmsg' report(LOG_ERR, " sendto: %s", get_network_errmsg()); ^~~~~~~~~~~~~~~~~~ dhcp.c: In function 'create_lease': dhcp.c:4190:3: warning: implicit declaration of function 'fill_defaults2' [-Wimplicit-function-declaration] fill_defaults2(hp,hp2); /* modify hp; info from hp2 is used to override info in hp */ ^~~~~~~~~~~~~~ --- 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] 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] extern ping(); ^~~~ readfile.c: In function 'delete_changed': readfile.c:420:4: warning: implicit declaration of function 'reuse_addr'; did you mean 'si_addr'? [-Wimplicit-function-declaration] reuse_addr(hp); ^~~~~~~~~~ si_addr readfile.c: In function 'readtab': readfile.c:704:2: warning: implicit declaration of function 'readconf'; did you mean 'readlink'? [-Wimplicit-function-declaration] readconf(1); ^~~~~~~~ readlink --- 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:3: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(direntry->d_name); ^~~~~~ unix --- dynamic.o --- cc -O -DNO_SNMP -c dynamic.c --- ping.o --- cc -O -DNO_SNMP -c ping.c ping.c:31:10: fatal error: netinet/ip_var.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. *** [ping.o] Error code 1 bmake: stopped in /home/pbulk/build/net/cmu-dhcpd/work/CMU-dhcp-3.3.7+PU-9 --- dynamic.o --- In file included from dynamic.c:42: dhcpd.h:182:8: warning: type defaults to 'int' in declaration of 'ping' [-Wimplicit-int] extern ping(); ^~~~ dynamic.c: In function 'readconf': dynamic.c:153:51: warning: implicit declaration of function 'get_errmsg'; did you mean 'getdelim'? [-Wimplicit-function-declaration] report(LOG_ERR, "stat on \"%s\": %s", conffile, get_errmsg()); ^~~~~~~~~~ getdelim dynamic.c: In function 'free_cable': dynamic.c:195:2: warning: implicit declaration of function 'del_string' [-Wimplicit-function-declaration] del_string(cable->name); ^~~~~~~~~~ 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-el8-trunk-x86_64/net/cmu-dhcpd *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/cmu-dhcpd