+ 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/bridged-20010701/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bridged-20010701/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for bridged-20010701 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_LIBMD=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_SELECT=1 -c bridge.c bridge.c:70:18: error: 'ETHER_ADDR_LEN' undeclared here (not in a function) 70 | char mac[ETHER_ADDR_LEN]; | ^~~~~~~~~~~~~~ bridge.c: In function 'bpfbind': bridge.c:137:9: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 137 | bzero(&ifr, sizeof(struct ifreq)); | ^~~~~ bridge.c:137:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] bridge.c:142:22: error: 'SIOCGIFFLAGS' undeclared (first use in this function) 142 | if (ioctl(s, SIOCGIFFLAGS, &ifr) < 0) { | ^~~~~~~~~~~~ bridge.c:142:22: note: each undeclared identifier is reported only once for each function it appears in bridge.c:147:30: error: 'SIOCSIFFLAGS' undeclared (first use in this function) 147 | if (ioctl(s, SIOCSIFFLAGS, &ifr) < 0) { | ^~~~~~~~~~~~ bridge.c: In function 'bdglist': bridge.c:178:40: warning: implicit declaration of function 'bcmp' [-Wimplicit-function-declaration] 178 | if (nodes[i].inuse && !bcmp(p, nodes[i].mac, ETHER_ADDR_LEN)) { | ^~~~ bridge.c: In function 'bdglist_add': bridge.c:231:25: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 231 | bcopy(p, nodes[i].mac, ETHER_ADDR_LEN); | ^~~~~ bridge.c:231:25: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] bridge.c: In function 'duppkt': bridge.c:253:47: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 253 | if (!bcmp(digest, digests[i], 16)) { | ^~ <built-in>: note: built-in 'bcmp' declared here bridge.c:258:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 258 | bcopy(digest, digests[digests_p], 16); | ^~~~~ bridge.c: In function 'main': bridge.c:293:33: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 293 | bzero(ifb[n].mac, ETHER_ADDR_LEN); | ^~~~~ bridge.c:310:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 310 | bzero(digests, sizeof(digests)); | ^~~~~ bridge.c:332:17: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 332 | bcopy((char *) &fds, (char *) &tfds, sizeof(fd_set)); | ^~~~~ *** [bridge.o] Error code 1 bmake: stopped in /home/pbulk/build/net/bridged/work/bridged 1 error bmake: stopped in /home/pbulk/build/net/bridged/work/bridged *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/bridged *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/bridged