+ 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/stund-0.97/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/stund-0.97/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
===> Building for stund-0.97
g++  -c -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -g -O -Wall server.cxx -o server.o
g++  -c -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -g -O -Wall stun.cxx -o stun.o
stun.cxx: In function 'int stunFindLocalInterfaces(UInt32*, int)':
stun.cxx:1642:20: error: 'SIOCGIFCONF' was not declared in this scope
 1642 |    int e = ioctl(s,SIOCGIFCONF,&ifc);
      |                    ^~~~~~~~~~~
stun.cxx:1660:19: error: 'SIOCGIFADDR' was not declared in this scope
 1660 |       e = ioctl(s,SIOCGIFADDR,&ifr2);
      |                   ^~~~~~~~~~~
stun.cxx: In function 'void computeHmac(char*, const char*, int, const char*, int)':
stun.cxx:722:11: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 20 bytes from a string of the same length [-Wstringop-truncation]
  722 |    strncpy(hmac,"hmac-not-implemented",20);
      |    ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake: *** [Makefile:49: stun.o] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/net/stund
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/net/stund