+ 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/dante-1.4.3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dante-1.4.3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for dante-1.4.3
Making all in include
/opt/pkg/bin/bmake  all-am
Making all in lib
  CC       Raccept.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       Rbind.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       Rbindresvport.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
Rbindresvport.c: In function 'Rbindresvport':
Rbindresvport.c:75:14: warning: implicit declaration of function 'bindresvport'; did you mean 'Rbindresvport'? [-Wimplicit-function-declaration]
   75 |       return bindresvport(s, _sin);
      |              ^~~~~~~~~~~~
      |              Rbindresvport
  CC       Rcompat.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
Rcompat.c: In function 'Rwritev':
Rcompat.c:94:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   94 |    msg.msg_iov    = iov;
      |                   ^
Rcompat.c: In function 'Rsend':
Rcompat.c:110:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  110 |    struct iovec iov = { msg, len };
      |                         ^~~
  CC       Rconnect.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
Rconnect.c: In function 'Rconnect':
Rconnect.c:436:16: warning: implicit declaration of function 'bindresvport'; did you mean 'Rbindresvport'? [-Wimplicit-function-declaration]
  436 |                bindresvport(s, TOIN(&socksfd.local));
      |                ^~~~~~~~~~~~
      |                Rbindresvport
  CC       Rgethostbyname.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       Rgetpeername.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       Rgetsockname.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       Rgetsockopt.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       Rlisten.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       Rrresvport.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       address.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       addressmatch.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       authneg.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       broken.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       client.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       clientconfig.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       clientprotocol.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       config.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       connectchild.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       debug.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       fmt.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       fmt_customer.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       fmt_protocol.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       gssapi.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
gssapi.c: In function 'gssapi_encode_write':
gssapi.c:1044:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1044 |    input_token.value  = msg;
      |                       ^
gssapi.c: In function 'gssapi_encode_write_udp':
gssapi.c:1568:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1568 |    input_token.value  = msg;
      |                       ^
  CC       hostcache.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       hostid.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       httpproxy.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       hw.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       iface.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       io.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       iobuf.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       ipv6.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       log.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       method.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       parse_util.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       protocol.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       serr.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       showconfig.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       sockaddr.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       socket.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       socketopt.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       sockopt.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       time.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       tostring.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       udp.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       udp_util.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       upnp.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       userio.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       util.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       hstrerror.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       setproctitle.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       strvis.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       config_parse.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       config_scan.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CCLD     libsocks.la
Making all in dlib64
  CC       libdsocks_la-interposition.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
In file included from ../dlib/interposition.c:48:
../include/common.h:799: warning: "socket" redefined
  799 | #define socket(d, t, p)       socks_socket((d), (t), (p))
      | 
In file included from ../include/osdep.h:90,
                 from ../include/common.h:57:
/usr/include/sys/socket.h:531: note: this is the location of the previous definition
  531 | #define socket  __xnet_socket
      | 
../dlib/interposition.c:2776:4: warning: 'format' attribute cannot be applied to a function that does not take variable arguments [-Wattributes]
 2776 |    HAVE_PROT_VPRINTF_1 format;
      |    ^~~~~~~~~~~~~~~~~~~
../dlib/interposition.c:2788:4: warning: 'format' attribute cannot be applied to a function that does not take variable arguments [-Wattributes]
 2788 |    HAVE_PROT_VFPRINTF_1 stream;
      |    ^~~~~~~~~~~~~~~~~~~~
  CC       libdsocks_la-Raccept.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Rbind.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Rbindresvport.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Rcompat.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
../lib/Rcompat.c: In function 'Rwritev':
../lib/Rcompat.c:94:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   94 |    msg.msg_iov    = iov;
      |                   ^
../lib/Rcompat.c: In function 'Rsend':
../lib/Rcompat.c:110:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  110 |    struct iovec iov = { msg, len };
      |                         ^~~
  CC       libdsocks_la-Rconnect.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Rgethostbyname.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Rgetpeername.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Rgetsockname.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Rgetsockopt.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Rlisten.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Rrresvport.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-address.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-addressmatch.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-authneg.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-broken.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-client.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-clientconfig.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-clientprotocol.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-config.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-config_parse.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-config_scan.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-connectchild.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-debug.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-fmt.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-fmt_customer.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-fmt_protocol.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-gssapi.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
../lib/gssapi.c: In function 'gssapi_encode_write':
../lib/gssapi.c:1044:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1044 |    input_token.value  = msg;
      |                       ^
../lib/gssapi.c: In function 'gssapi_encode_write_udp':
../lib/gssapi.c:1568:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1568 |    input_token.value  = msg;
      |                       ^
  CC       libdsocks_la-hostcache.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-hostid.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-httpproxy.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-hw.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-iface.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-io.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-iobuf.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-ipv6.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-log.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-method.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-parse_util.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-protocol.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-serr.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-showconfig.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-sockaddr.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-socket.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-socketopt.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-sockopt.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-time.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-tostring.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-udp.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-udp_util.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-upnp.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-userio.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-util.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-hstrerror.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-setproctitle.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-strvis.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CCLD     libdsocks.la
Making all in dlib
  CC       libdsocks_la-interposition.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
In file included from interposition.c:48:
../include/common.h:799: warning: "socket" redefined
  799 | #define socket(d, t, p)       socks_socket((d), (t), (p))
      | 
In file included from ../include/osdep.h:90,
                 from ../include/common.h:57:
/usr/include/sys/socket.h:531: note: this is the location of the previous definition
  531 | #define socket  __xnet_socket
      | 
interposition.c:2776:4: warning: 'format' attribute cannot be applied to a function that does not take variable arguments [-Wattributes]
 2776 |    HAVE_PROT_VPRINTF_1 format;
      |    ^~~~~~~~~~~~~~~~~~~
interposition.c:2788:4: warning: 'format' attribute cannot be applied to a function that does not take variable arguments [-Wattributes]
 2788 |    HAVE_PROT_VFPRINTF_1 stream;
      |    ^~~~~~~~~~~~~~~~~~~~
  CC       libdsocks_la-int_osf1.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-int_osf2.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-int_osf3.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Raccept.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Rbind.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Rbindresvport.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Rcompat.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
../lib/Rcompat.c: In function 'Rwritev':
../lib/Rcompat.c:94:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   94 |    msg.msg_iov    = iov;
      |                   ^
../lib/Rcompat.c: In function 'Rsend':
../lib/Rcompat.c:110:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  110 |    struct iovec iov = { msg, len };
      |                         ^~~
  CC       libdsocks_la-Rconnect.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Rgethostbyname.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Rgetpeername.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Rgetsockname.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Rgetsockopt.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Rlisten.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-Rrresvport.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-address.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-addressmatch.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-authneg.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-broken.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-client.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-clientconfig.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-clientprotocol.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-config.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-config_parse.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-config_scan.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-connectchild.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-debug.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-fmt.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-fmt_customer.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-fmt_protocol.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-gssapi.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
../lib/gssapi.c: In function 'gssapi_encode_write':
../lib/gssapi.c:1044:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1044 |    input_token.value  = msg;
      |                       ^
../lib/gssapi.c: In function 'gssapi_encode_write_udp':
../lib/gssapi.c:1568:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1568 |    input_token.value  = msg;
      |                       ^
  CC       libdsocks_la-hostcache.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-hostid.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-httpproxy.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-hw.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-iface.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-io.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-iobuf.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-ipv6.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-log.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-method.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-parse_util.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-protocol.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-serr.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-showconfig.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-sockaddr.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-socket.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-socketopt.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-sockopt.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-time.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-tostring.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-udp.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-udp_util.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-upnp.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-userio.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-util.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-hstrerror.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-setproctitle.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       libdsocks_la-strvis.lo
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CCLD     libdsocks.la
Making all in sockd
  CC       addressmatch.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       authneg.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       broken.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       clientprotocol.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       config.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       config_parse.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       config_scan.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       debug.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       errorsymbols.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       fmt.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       fmt_customer.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       fmt_protocol.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       gssapi.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
../lib/gssapi.c: In function 'gssapi_encode_write':
../lib/gssapi.c:1044:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1044 |    input_token.value  = msg;
      |                       ^
../lib/gssapi.c: In function 'gssapi_encode_write_udp':
../lib/gssapi.c:1568:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1568 |    input_token.value  = msg;
      |                       ^
  CC       hostcache.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       hostid.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       httpproxy.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       hw.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       iface.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       io.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       iobuf.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       ipv6.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       krb5.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       log.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       method.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       parse_util.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       protocol.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       serr.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       showconfig.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       sockaddr.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       socket.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       socketopt.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       sockopt.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       tcpinfo.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       time.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       tostring.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       udp_util.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       upnp.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       userio.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       util.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       in_cksum.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       accesscheck.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       auth_bsd.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       auth_pam.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
auth_pam.c: In function 'pam_passwordcheck':
auth_pam.c:129:24: warning: assignment to 'int (*)(int,  struct pam_message **, struct pam_response **, void *)' from incompatible pointer type 'int (*)(int,  const struct pam_message **, struct pam_response **, void *)' [-Wincompatible-pointer-types]
  129 |    pamconv.conv        = pam_conversation;
      |                        ^
  CC       auth_password.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       bandwidth.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       bandwidth_key.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       checkmodule.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       cpu.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       cpuaffinity.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       cpupolicy.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       dante_udp.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       fmt_sockd.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       getoutaddr.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       ldap.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       ldap_key.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       ldap_util.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       math.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       method_gssapi.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       method_uname.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       monitor.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       monitor_util.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
monitor_util.c: In function 'send_monitor':
monitor_util.c:169:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  169 |    iov[ioc].iov_base  = monitor;
      |                       ^
  CC       mother_util.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       pac.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       pac_key.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       privileges.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       redirect.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       redirect_key.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       rule.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       serverconfig.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       session.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       shmem.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       shmemconfig.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       sockd.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       sockd_child.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       sockd_icmp.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       sockd_io.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       sockd_io_misc.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       sockd_negotiate.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       sockd_protocol.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       sockd_request.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       sockd_socket.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       sockd_tcp.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       sockd_udp.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       sockd_util.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       statistics.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       udp_port.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       interposition.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
In file included from ../dlib/interposition.c:48:
../include/common.h:799: warning: "socket" redefined
  799 | #define socket(d, t, p)       socks_socket((d), (t), (p))
      | 
In file included from ../include/osdep.h:90,
                 from ../include/common.h:57:
/usr/include/sys/socket.h:531: note: this is the location of the previous definition
  531 | #define socket  __xnet_socket
      | 
  CC       hstrerror.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       setproctitle.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CC       strvis.o
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
  CCLD     sockd
Undefined			first referenced
 symbol  			    in file
_res                                config.o
res_init                            config.o
ld: fatal: symbol referencing errors. No output written to sockd
collect2: error: ld returned 1 exit status
*** [sockd] Error code 1

bmake[1]: stopped in /home/pbulk/build/net/dante/work/dante-1.4.3/sockd
1 error

bmake[1]: stopped in /home/pbulk/build/net/dante/work/dante-1.4.3/sockd
*** [all-recursive] Error code 1

bmake: stopped in /home/pbulk/build/net/dante/work/dante-1.4.3
1 error

bmake: stopped in /home/pbulk/build/net/dante/work/dante-1.4.3
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/dante
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/dante