+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mdd-20230428/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mdd-20230428/work.log
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for mdd-20230428
--- mdd.o ---
--- sender.o ---
--- receiver.o ---
--- sniffer.o ---
--- mdd.o ---
gcc -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/opt/local/include -I/usr/include -c mdd.c
--- sender.o ---
gcc -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/opt/local/include -I/usr/include -c sender.c
--- receiver.o ---
gcc -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/opt/local/include -I/usr/include -c receiver.c
--- sniffer.o ---
gcc -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/opt/local/include -I/usr/include -c sniffer.c
--- receiver.o ---
receiver.c: In function 'receiver':
receiver.c:105:41: error: 'SO_REUSEPORT' undeclared (first use in this function); did you mean 'SO_REUSEADDR'?
  105 |         if ((setsockopt(sd, SOL_SOCKET, SO_REUSEPORT, &on, sizeof(on))) == -1) {
      |                                         ^~~~~~~~~~~~
      |                                         SO_REUSEADDR
receiver.c:105:41: note: each undeclared identifier is reported only once for each function it appears in
receiver.c:129:18: error: 'struct sockaddr_in' has no member named 'sin_len'
  129 |         send_addr.sin_len = sizeof(send_addr);
      |                  ^
receiver.c:151:9: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
  151 |         bzero(&mr, sizeof(mr));
      |         ^~~~~
receiver.c:151:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
receiver.c:174:18: error: 'struct sockaddr_in' has no member named 'sin_len'
  174 |         recv_addr.sin_len = sizeof(recv_addr);
      |                  ^
--- sender.o ---
sender.c: In function 'sender':
sender.c:98:41: error: 'SO_REUSEPORT' undeclared (first use in this function); did you mean 'SO_REUSEADDR'?
   98 |         if ((setsockopt(sd, SOL_SOCKET, SO_REUSEPORT, &on, sizeof(on))) == -1) {
      |                                         ^~~~~~~~~~~~
      |                                         SO_REUSEADDR
sender.c:98:41: note: each undeclared identifier is reported only once for each function it appears in
sender.c:127:18: error: 'struct sockaddr_in' has no member named 'sin_len'
  127 |         send_addr.sin_len = sizeof(send_addr);
      |                  ^
sender.c:145:10: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
  145 |          bzero(&ms, sizeof(ms));
      |          ^~~~~
sender.c:145:10: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
sender.c:168:18: error: 'struct sockaddr_in' has no member named 'sin_len'
  168 |         recv_addr.sin_len = sizeof(recv_addr);
      |                  ^
--- receiver.o ---
receiver.c:241:30: warning: implicit declaration of function 'le64toh' [-Wimplicit-function-declaration]
  241 |                 mdd_offset = le64toh(packet->mdd_offset);
      |                              ^~~~~~~
receiver.c:243:33: warning: implicit declaration of function 'le32toh' [-Wimplicit-function-declaration]
  243 |                 mdd_operation = le32toh(packet->mdd_operation);
      |                                 ^~~~~~~
--- sniffer.o ---
sniffer.c: In function 'sniffer':
sniffer.c:80:41: error: 'SO_REUSEPORT' undeclared (first use in this function); did you mean 'SO_REUSEADDR'?
   80 |         if ((setsockopt(rd, SOL_SOCKET, SO_REUSEPORT, &on, sizeof(on))) == -1) {
      |                                         ^~~~~~~~~~~~
      |                                         SO_REUSEADDR
sniffer.c:80:41: note: each undeclared identifier is reported only once for each function it appears in
sniffer.c:93:18: error: 'struct sockaddr_in' has no member named 'sin_len'
   93 |         recv_addr.sin_len = sizeof(recv_addr);
      |                  ^
sniffer.c:116:9: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
  116 |         bzero(&m, sizeof(m));
      |         ^~~~~
sniffer.c:116:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
sniffer.c:143:45: warning: implicit declaration of function 'le32toh' [-Wimplicit-function-declaration]
  143 |                         int mdd_operation = le32toh(packet.mdd_operation);
      |                                             ^~~~~~~
--- mdd.o ---
mdd.c: In function 'local_addr_dst':
mdd.c:270:9: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
  270 |         bzero(&src, sizeof(src));
      |         ^~~~~
mdd.c:270:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
--- sender.o ---
sender.c:254:41: warning: implicit declaration of function 'htole32' [-Wimplicit-function-declaration]
  254 |                 packet->mdd_operation = htole32(mdd_operation);
      |                                         ^~~~~~~
--- mdd.o ---
mdd.c:272:12: error: 'struct sockaddr_in' has no member named 'sin_len'
  272 |         src.sin_len = sizeof(src);
      |            ^
mdd.c:277:12: error: 'struct sockaddr_in' has no member named 'sin_len'
  277 |         dst.sin_len = sizeof(dst);
      |            ^
--- sender.o ---
sender.c:255:38: warning: implicit declaration of function 'htole64' [-Wimplicit-function-declaration]
  255 |                 packet->mdd_offset = htole64(mdd_offset);
      |                                      ^~~~~~~
sender.c:274:41: warning: implicit declaration of function 'le32toh' [-Wimplicit-function-declaration]
  274 |                         mdd_operation = le32toh(packet->mdd_operation);
      |                                         ^~~~~~~
--- receiver.o ---
receiver.c:336:41: warning: implicit declaration of function 'fpurge' [-Wimplicit-function-declaration]
  336 |                                         fpurge(stdin);
      |                                         ^~~~~~
receiver.c:348:33: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration]
  348 |                                 bcopy(write_buf + write_size,
      |                                 ^~~~~
receiver.c:348:33: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch]
receiver.c: In function 'resend_req':
receiver.c:398:40: warning: implicit declaration of function 'htole32' [-Wimplicit-function-declaration]
  398 |                 packet.mdd_operation = htole32(OP_RESEND_REQ);
      |                                        ^~~~~~~
--- sniffer.o ---
sniffer.c:144:44: warning: implicit declaration of function 'le64toh' [-Wimplicit-function-declaration]
  144 |                         off_t mdd_offset = le64toh(packet.mdd_offset);
      |                                            ^~~~~~~
--- receiver.o ---
receiver.c:399:37: warning: implicit declaration of function 'htole64' [-Wimplicit-function-declaration]
  399 |                 packet.mdd_offset = htole64(offset);
      |                                     ^~~~~~~
--- sender.o ---
sender.c:275:38: warning: implicit declaration of function 'le64toh' [-Wimplicit-function-declaration]
  275 |                         mdd_offset = le64toh(packet->mdd_offset);
      |                                      ^~~~~~~
--- receiver.o ---
*** [receiver.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/mbone/mdd/work/mdd-20230428
--- sender.o ---
*** [sender.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/mbone/mdd/work/mdd-20230428
--- mdd.o ---
*** [mdd.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/mbone/mdd/work/mdd-20230428
--- sniffer.o ---
*** [sniffer.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/mbone/mdd/work/mdd-20230428
bmake: 4 errors

bmake: stopped making "all" in /home/pbulk/build/mbone/mdd/work/mdd-20230428
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-2024Q4-x86_64/mbone/mdd
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-2024Q4-x86_64/mbone/mdd