+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xl2tpd-20171013/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xl2tpd-20171013/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xl2tpd-20171013 --- pfc --- --- xl2tpd.o --- --- pty.o --- --- misc.o --- --- control.o --- --- avp.o --- --- call.o --- --- network.o --- --- pfc --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -Os -Wall -DSANITY -DNETBSD -DIP_ALLOCATION -c contrib/pfc.c --- xl2tpd.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -Os -Wall -DSANITY -DNETBSD -DIP_ALLOCATION -c xl2tpd.c --- pty.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -Os -Wall -DSANITY -DNETBSD -DIP_ALLOCATION -c pty.c --- network.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -Os -Wall -DSANITY -DNETBSD -DIP_ALLOCATION -c network.c --- control.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -Os -Wall -DSANITY -DNETBSD -DIP_ALLOCATION -c control.c --- misc.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -Os -Wall -DSANITY -DNETBSD -DIP_ALLOCATION -c misc.c --- avp.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -Os -Wall -DSANITY -DNETBSD -DIP_ALLOCATION -c avp.c --- call.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -Os -Wall -DSANITY -DNETBSD -DIP_ALLOCATION -c call.c --- pfc --- contrib/pfc.c:25:10: fatal error: pcap.h: No such file or directory 25 | #include | ^~~~~~~~ compilation terminated. *** [pfc] Error code 1 bmake: stopped in /home/pbulk/build/net/xl2tpd/work/xl2tpd-master --- pty.o --- In file included from l2tp.h:32, from pty.c:31: scheduler.h:27:20: error: field 'tv' has incomplete type 27 | struct timeval tv; /* Scheduled time to execute */ | ^~ In file included from l2tp.h:36, from pty.c:31: call.h:90:20: error: field 'lastsent' has incomplete type 90 | struct timeval lastsent; /* When did we last send something? */ | ^~~~~~~~ pty.c:49:10: fatal error: util.h: No such file or directory 49 | #include | ^~~~~~~~ compilation terminated. *** [pty.o] Error code 1 bmake: stopped in /home/pbulk/build/net/xl2tpd/work/xl2tpd-master --- avp.o --- avp.c: In function 'challenge_avp': avp.c:1153:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 1153 | bcopy (&raw[3].s, (t->chal_us.challenge), size); | ^~~~~ avp.c:1153:5: warning: incompatible implicit declaration of built-in function 'bcopy' avp.c: In function 'chalresp_avp': avp.c:1205:5: warning: incompatible implicit declaration of built-in function 'bcopy' 1205 | bcopy (&raw[3].s, t->chal_them.reply, MD_SIG_SIZE); | ^~~~~ --- network.o --- network.c: In function 'udp_xmit': network.c:276:15: warning: implicit declaration of function 'CMSG_SPACE' [-Wimplicit-function-declaration] 276 | char cbuf[CMSG_SPACE(sizeof (unsigned int) + sizeof (struct in_pktinfo))]; | ^~~~~~~~~~ network.c:287:9: error: 'struct msghdr' has no member named 'msg_control' 287 | msgh.msg_control = cbuf; | ^ network.c:288:9: error: 'struct msghdr' has no member named 'msg_controllen' 288 | msgh.msg_controllen = sizeof(cbuf); | ^ --- call.o --- call.c: In function 'get_call': call.c:678:9: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 678 | bcopy (&addr, &st->peer.sin_addr, sizeof (addr)); | ^~~~~ call.c:678:9: warning: incompatible implicit declaration of built-in function 'bcopy' --- network.o --- network.c:291:9: warning: implicit declaration of function 'CMSG_FIRSTHDR' [-Wimplicit-function-declaration] 291 | cmsg = CMSG_FIRSTHDR(&msgh); | ^~~~~~~~~~~~~ network.c:291:7: warning: assignment to 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 291 | cmsg = CMSG_FIRSTHDR(&msgh); | ^ network.c:294:21: warning: implicit declaration of function 'CMSG_LEN' [-Wimplicit-function-declaration] 294 | cmsg->cmsg_len = CMSG_LEN(sizeof(unsigned int)); | ^~~~~~~~ --- control.o --- control.c: In function 'expand_payload': control.c:1421:5: warning: converting a packed 'struct payload_hdr' pointer (alignment 1) to a '_u16' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 1421 | _u16 *r = (_u16 *) h; /* Nice to have raw word pointers */ | ^~~~ In file included from control.c:23: l2tp.h:94:8: note: defined here 94 | struct payload_hdr | ^~~~~~~~~~~ --- network.o --- network.c:299:25: warning: implicit declaration of function 'CMSG_DATA' [-Wimplicit-function-declaration] 299 | refp = (unsigned int *)CMSG_DATA(cmsg); | ^~~~~~~~~ network.c:299:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 299 | refp = (unsigned int *)CMSG_DATA(cmsg); | ^ network.c:333:9: error: 'struct msghdr' has no member named 'msg_controllen' 333 | msgh.msg_controllen = finallen; | ^ network.c:335:13: error: 'struct msghdr' has no member named 'msg_control' 335 | msgh.msg_control = NULL; | ^ network.c:346:9: error: 'struct msghdr' has no member named 'msg_flags' 346 | msgh.msg_flags = 0; | ^ network.c: In function 'network_thread': network.c:517:10: error: 'struct msghdr' has no member named 'msg_control' 517 | msgh.msg_control = cbuf; | ^ network.c:518:10: error: 'struct msghdr' has no member named 'msg_controllen' 518 | msgh.msg_controllen = sizeof(cbuf); | ^ network.c:523:10: error: 'struct msghdr' has no member named 'msg_flags' 523 | msgh.msg_flags = 0; | ^ network.c:559:13: warning: assignment to 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 559 | for (cmsg = CMSG_FIRSTHDR(&msgh); | ^ network.c:561:11: warning: implicit declaration of function 'CMSG_NXTHDR' [-Wimplicit-function-declaration] 561 | cmsg = CMSG_NXTHDR(&msgh,cmsg)) { | ^~~~~~~~~~~ network.c:561:9: warning: assignment to 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 561 | cmsg = CMSG_NXTHDR(&msgh,cmsg)) { | ^ network.c:574:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 574 | refp = (unsigned int *)CMSG_DATA(cmsg); | ^ *** [network.o] Error code 1 bmake: stopped in /home/pbulk/build/net/xl2tpd/work/xl2tpd-master --- xl2tpd.o --- In file included from xl2tpd.c:45: l2tp.h:185:23: error: field 'my_addr' has incomplete type 185 | struct in_pktinfo my_addr; /* Address of my endpoint */ | ^~~~~~~ xl2tpd.c: In function 'start_pppd': xl2tpd.c:570:13: warning: implicit declaration of function 'setenv'; did you mean 'getenv'? [-Wimplicit-function-declaration] 570 | setenv( "CALLER_ID", c->dialing, 1 ); | ^~~~~~ | getenv *** [xl2tpd.o] Error code 1 bmake: stopped in /home/pbulk/build/net/xl2tpd/work/xl2tpd-master 4 errors bmake: stopped in /home/pbulk/build/net/xl2tpd/work/xl2tpd-master *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/xl2tpd