+ 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/mdd-20190819/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mdd-20190819/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for mdd-20190819 --- mdd.o --- --- sender.o --- --- receiver.o --- --- sniffer.o --- --- mdd.o --- gcc -D_BSD_SOURCE -c mdd.c --- sniffer.o --- gcc -D_BSD_SOURCE -c sniffer.c --- receiver.o --- gcc -D_BSD_SOURCE -c receiver.c --- sender.o --- gcc -D_BSD_SOURCE -c sender.c --- mdd.o --- mdd.c: In function 'local_addr_dst': mdd.c:238:2: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 238 | bzero(&src, sizeof(src)); | ^~~~~ mdd.c:238:2: warning: incompatible implicit declaration of built-in function 'bzero' mdd.c:240:5: error: 'struct sockaddr_in' has no member named 'sin_len' 240 | src.sin_len = sizeof(src); | ^ mdd.c:245:5: error: 'struct sockaddr_in' has no member named 'sin_len' 245 | dst.sin_len = sizeof(dst); | ^ --- sniffer.o --- sniffer.c: In function 'sniffer': sniffer.c:79:34: error: 'SO_REUSEPORT' undeclared (first use in this function); did you mean 'SO_REUSEADDR'? 79 | if ((setsockopt(rd, SOL_SOCKET, SO_REUSEPORT, &on, sizeof(on))) == -1) { | ^~~~~~~~~~~~ | SO_REUSEADDR sniffer.c:79:34: note: each undeclared identifier is reported only once for each function it appears in sniffer.c:92:11: error: 'struct sockaddr_in' has no member named 'sin_len' 92 | recv_addr.sin_len = sizeof(recv_addr); | ^ sniffer.c:115:2: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 115 | bzero(&m, sizeof(m)); | ^~~~~ sniffer.c:115:2: warning: incompatible implicit declaration of built-in function 'bzero' sniffer.c:142:24: warning: implicit declaration of function 'le32toh' [-Wimplicit-function-declaration] 142 | int mdd_operation = le32toh(packet.mdd_operation); | ^~~~~~~ sniffer.c:143:23: warning: implicit declaration of function 'le64toh' [-Wimplicit-function-declaration] 143 | off_t mdd_offset = le64toh(packet.mdd_offset); | ^~~~~~~ --- sender.o --- sender.c: In function 'sender': sender.c:95:34: error: 'SO_REUSEPORT' undeclared (first use in this function); did you mean 'SO_REUSEADDR'? 95 | if ((setsockopt(sd, SOL_SOCKET, SO_REUSEPORT, &on, sizeof(on))) == -1) { | ^~~~~~~~~~~~ | SO_REUSEADDR sender.c:95:34: note: each undeclared identifier is reported only once for each function it appears in sender.c:124:11: error: 'struct sockaddr_in' has no member named 'sin_len' 124 | send_addr.sin_len = sizeof(send_addr); | ^ sender.c:142:9: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 142 | bzero(&ms, sizeof(ms)); | ^~~~~ sender.c:142:9: warning: incompatible implicit declaration of built-in function 'bzero' sender.c:165:11: error: 'struct sockaddr_in' has no member named 'sin_len' 165 | recv_addr.sin_len = sizeof(recv_addr); | ^ --- mdd.o --- *** [mdd.o] Error code 1 bmake: stopped in /home/pbulk/build/mbone/mdd/work/mdd-20190819 --- sender.o --- sender.c:254:27: warning: implicit declaration of function 'htole32' [-Wimplicit-function-declaration] 254 | packet->mdd_operation = htole32(mdd_operation); | ^~~~~~~ sender.c:255:24: warning: implicit declaration of function 'htole64' [-Wimplicit-function-declaration] 255 | packet->mdd_offset = htole64(mdd_offset); | ^~~~~~~ sender.c:275:20: warning: implicit declaration of function 'le32toh' [-Wimplicit-function-declaration] 275 | mdd_operation = le32toh(packet->mdd_operation); | ^~~~~~~ --- receiver.o --- receiver.c: In function 'receiver': receiver.c:103:34: error: 'SO_REUSEPORT' undeclared (first use in this function); did you mean 'SO_REUSEADDR'? 103 | if ((setsockopt(sd, SOL_SOCKET, SO_REUSEPORT, &on, sizeof(on))) == -1) { | ^~~~~~~~~~~~ | SO_REUSEADDR receiver.c:103:34: note: each undeclared identifier is reported only once for each function it appears in --- sender.o --- sender.c:276:17: warning: implicit declaration of function 'le64toh' [-Wimplicit-function-declaration] 276 | mdd_offset = le64toh(packet->mdd_offset); | ^~~~~~~ --- receiver.o --- receiver.c:127:11: error: 'struct sockaddr_in' has no member named 'sin_len' 127 | send_addr.sin_len = sizeof(send_addr); | ^ receiver.c:149:2: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 149 | bzero(&mr, sizeof(mr)); | ^~~~~ receiver.c:149:2: warning: incompatible implicit declaration of built-in function 'bzero' receiver.c:172:11: error: 'struct sockaddr_in' has no member named 'sin_len' 172 | recv_addr.sin_len = sizeof(recv_addr); | ^ --- sniffer.o --- *** [sniffer.o] Error code 1 bmake: stopped in /home/pbulk/build/mbone/mdd/work/mdd-20190819 --- receiver.o --- receiver.c:239:16: warning: implicit declaration of function 'le64toh' [-Wimplicit-function-declaration] 239 | mdd_offset = le64toh(packet->mdd_offset); | ^~~~~~~ receiver.c:241:19: warning: implicit declaration of function 'le32toh' [-Wimplicit-function-declaration] 241 | mdd_operation = le32toh(packet->mdd_operation); | ^~~~~~~ receiver.c:332:6: warning: implicit declaration of function 'fpurge' [-Wimplicit-function-declaration] 332 | fpurge(stdin); | ^~~~~~ receiver.c:344:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 344 | bcopy(write_buf + write_size, | ^~~~~ receiver.c:344:5: warning: incompatible implicit declaration of built-in function 'bcopy' receiver.c: In function 'resend_req': receiver.c:394:26: warning: implicit declaration of function 'htole32' [-Wimplicit-function-declaration] 394 | packet.mdd_operation = htole32(OP_RESEND_REQ); | ^~~~~~~ receiver.c:395:23: warning: implicit declaration of function 'htole64' [-Wimplicit-function-declaration] 395 | packet.mdd_offset = htole64(offset); | ^~~~~~~ --- sender.o --- *** [sender.o] Error code 1 bmake: stopped in /home/pbulk/build/mbone/mdd/work/mdd-20190819 --- receiver.o --- *** [receiver.o] Error code 1 bmake: stopped in /home/pbulk/build/mbone/mdd/work/mdd-20190819 4 errors bmake: stopped in /home/pbulk/build/mbone/mdd/work/mdd-20190819 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/mbone/mdd *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/mbone/mdd