+ 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/stund-0.97/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/stund-0.97/work.log
===> Building for stund-0.97
g++  -c  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -O -Wall server.cxx -o server.o
g++  -c  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -O -Wall stun.cxx -o stun.o
g++  -c  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -O -Wall udp.cxx -o udp.o
g++  -c  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -O -Wall client.cxx -o client.o
stun.cxx: In function 'void stunSendTest(Socket, StunAddress4&, const StunAtrString&, const StunAtrString&, int, bool)':
stun.cxx:1741:9: warning: variable 'discard' set but not used [-Wunused-but-set-variable]
 1741 |    bool discard=false;
      |         ^~~~~~~
stun.cxx: In function 'NatType stunNatType(StunAddress4&, bool, bool*, bool*, int, StunAddress4*)':
stun.cxx:1913:17: warning: variable 'testIchangedAddr' set but not used [-Wunused-but-set-variable]
 1913 |    StunAddress4 testIchangedAddr;
      |                 ^~~~~~~~~~~~~~~~
stun.cxx: In function 'int stunOpenSocket(StunAddress4&, StunAddress4*, int, StunAddress4*, bool)':
stun.cxx:2298:17: warning: variable 'changedAddr' set but not used [-Wunused-but-set-variable]
 2298 |    StunAddress4 changedAddr = resp.changedAddress.ipv4;
      |                 ^~~~~~~~~~~
stun.cxx: In function 'bool stunOpenSocketPair(StunAddress4&, StunAddress4*, int*, int*, int, StunAddress4*, bool)':
stun.cxx:2393:20: warning: variable 'changedAddr' set but not used [-Wunused-but-set-variable]
 2393 |       StunAddress4 changedAddr = resp.changedAddress.ipv4;
      |                    ^~~~~~~~~~~
stun.cxx: In function 'void computeHmac(char*, const char*, int, const char*, int)':
stun.cxx:723: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]
  723 |    strncpy(hmac,"hmac-not-implemented",20);
      |    ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stun.cxx: In function 'bool stunServerProcessMsg(char*, unsigned int, StunAddress4&, StunAddress4&, StunAddress4&, StunAddress4&, StunMessage*, StunAddress4*, StunAtrString*, bool*, bool*, bool)':
stun.cxx:1109:32: warning: 'hmac' may be used uninitialized [-Wmaybe-uninitialized]
 1109 |                      if (memcmp(buf, hmac, 20) != 0)
      |                          ~~~~~~^~~~~~~~~~~~~~~
In file included from /usr/include/string.h:34,
                 from /opt/tools/gcc13/include/c++/13.3.0/cstring:42,
                 from stun.cxx:2:
/usr/include/iso/string_iso.h:69:12: note: by argument 2 of type 'const void*' to 'int std::memcmp(const void*, const void*, size_t)' declared here
   69 | extern int memcmp(const void *, const void *, size_t);
      |            ^~~~~~
stun.cxx:1098:36: note: 'hmac' declared here
 1098 |                      unsigned char hmac[20];
      |                                    ^~~~
stun.cxx:1109:32: warning: 'hmac' may be used uninitialized [-Wmaybe-uninitialized]
 1109 |                      if (memcmp(buf, hmac, 20) != 0)
      |                          ~~~~~~^~~~~~~~~~~~~~~
/usr/include/iso/string_iso.h:69:12: note: by argument 2 of type 'const void*' to 'int std::memcmp(const void*, const void*, size_t)' declared here
   69 | extern int memcmp(const void *, const void *, size_t);
      |            ^~~~~~
stun.cxx:1098:36: note: 'hmac' declared here
 1098 |                      unsigned char hmac[20];
      |                                    ^~~~
g++ -Wl,-R/opt/pkg/lib -g -O -Wall -o server  server.o stun.o udp.o
g++ -Wl,-R/opt/pkg/lib -g -O -Wall -o client  client.o stun.o udp.o
Undefined			first referenced
 symbol  			    in file
send                                udp.o
__xnet_sendto                       udp.o
__xnet_socket                       stun.o
gethostbyname                       stun.o
recvfrom                            udp.o
__xnet_bind                         udp.o
ld: fatal: symbol referencing errors. No output written to server
collect2: error: ld returned 1 exit status
gmake: *** [Makefile:40: server] Error 1
gmake: *** Waiting for unfinished jobs....
Undefined			first referenced
 symbol  			    in file
send                                udp.o
__xnet_sendto                       udp.o
__xnet_socket                       stun.o
gethostbyname                       stun.o
recvfrom                            udp.o
__xnet_bind                         udp.o
ld: fatal: symbol referencing errors. No output written to client
collect2: error: ld returned 1 exit status
gmake: *** [Makefile:46: client] Error 1
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/stund
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/stund