+ 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
  CC       Rbind.lo
  CC       Rbindresvport.lo
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
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
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
  CC       Rgetpeername.lo
  CC       Rgetsockname.lo
  CC       Rgetsockopt.lo
  CC       Rlisten.lo
  CC       Rrresvport.lo
  CC       address.lo
  CC       addressmatch.lo
  CC       authneg.lo
  CC       broken.lo
  CC       client.lo
  CC       clientconfig.lo
  CC       clientprotocol.lo
  CC       config.lo
  CC       connectchild.lo
  CC       debug.lo
  CC       fmt.lo
  CC       fmt_customer.lo
  CC       fmt_protocol.lo
  CC       gssapi.lo
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
  CC       hostid.lo
  CC       httpproxy.lo
  CC       hw.lo
  CC       iface.lo
  CC       io.lo
  CC       iobuf.lo
  CC       ipv6.lo
  CC       log.lo
log.c:817:4: warning: 'format' attribute cannot be applied to a function that does not take variable arguments [-Wattributes]
  817 |    int priority;
      |    ^~~
  CC       method.lo
  CC       parse_util.lo
  CC       protocol.lo
  CC       serr.lo
  CC       showconfig.lo
  CC       sockaddr.lo
  CC       socket.lo
  CC       socketopt.lo
  CC       sockopt.lo
  CC       time.lo
  CC       tostring.lo
  CC       udp.lo
  CC       udp_util.lo
  CC       upnp.lo
  CC       userio.lo
  CC       util.lo
  CC       hstrerror.lo
  CC       setproctitle.lo
  CC       strvis.lo
  CC       config_parse.lo
  CC       config_scan.lo
  CCLD     libsocks.la
Making all in dlib64
  CC       libdsocks_la-interposition.lo
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
  CC       libdsocks_la-Rbind.lo
  CC       libdsocks_la-Rbindresvport.lo
  CC       libdsocks_la-Rcompat.lo
../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
  CC       libdsocks_la-Rgethostbyname.lo
  CC       libdsocks_la-Rgetpeername.lo
  CC       libdsocks_la-Rgetsockname.lo
  CC       libdsocks_la-Rgetsockopt.lo
  CC       libdsocks_la-Rlisten.lo
  CC       libdsocks_la-Rrresvport.lo
  CC       libdsocks_la-address.lo
  CC       libdsocks_la-addressmatch.lo
  CC       libdsocks_la-authneg.lo
  CC       libdsocks_la-broken.lo
  CC       libdsocks_la-client.lo
  CC       libdsocks_la-clientconfig.lo
  CC       libdsocks_la-clientprotocol.lo
  CC       libdsocks_la-config.lo
  CC       libdsocks_la-config_parse.lo
  CC       libdsocks_la-config_scan.lo
  CC       libdsocks_la-connectchild.lo
  CC       libdsocks_la-debug.lo
  CC       libdsocks_la-fmt.lo
  CC       libdsocks_la-fmt_customer.lo
  CC       libdsocks_la-fmt_protocol.lo
  CC       libdsocks_la-gssapi.lo
../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
  CC       libdsocks_la-hostid.lo
  CC       libdsocks_la-httpproxy.lo
  CC       libdsocks_la-hw.lo
  CC       libdsocks_la-iface.lo
  CC       libdsocks_la-io.lo
  CC       libdsocks_la-iobuf.lo
  CC       libdsocks_la-ipv6.lo
  CC       libdsocks_la-log.lo
../lib/log.c:817:4: warning: 'format' attribute cannot be applied to a function that does not take variable arguments [-Wattributes]
  817 |    int priority;
      |    ^~~
  CC       libdsocks_la-method.lo
  CC       libdsocks_la-parse_util.lo
  CC       libdsocks_la-protocol.lo
  CC       libdsocks_la-serr.lo
  CC       libdsocks_la-showconfig.lo
  CC       libdsocks_la-sockaddr.lo
  CC       libdsocks_la-socket.lo
  CC       libdsocks_la-socketopt.lo
  CC       libdsocks_la-sockopt.lo
  CC       libdsocks_la-time.lo
  CC       libdsocks_la-tostring.lo
  CC       libdsocks_la-udp.lo
  CC       libdsocks_la-udp_util.lo
  CC       libdsocks_la-upnp.lo
  CC       libdsocks_la-userio.lo
  CC       libdsocks_la-util.lo
  CC       libdsocks_la-hstrerror.lo
  CC       libdsocks_la-setproctitle.lo
  CC       libdsocks_la-strvis.lo
  CCLD     libdsocks.la
Making all in dlib
  CC       libdsocks_la-interposition.lo
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
  CC       libdsocks_la-int_osf2.lo
  CC       libdsocks_la-int_osf3.lo
  CC       libdsocks_la-Raccept.lo
  CC       libdsocks_la-Rbind.lo
  CC       libdsocks_la-Rbindresvport.lo
  CC       libdsocks_la-Rcompat.lo
../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
  CC       libdsocks_la-Rgethostbyname.lo
  CC       libdsocks_la-Rgetpeername.lo
  CC       libdsocks_la-Rgetsockname.lo
  CC       libdsocks_la-Rgetsockopt.lo
  CC       libdsocks_la-Rlisten.lo
  CC       libdsocks_la-Rrresvport.lo
  CC       libdsocks_la-address.lo
  CC       libdsocks_la-addressmatch.lo
  CC       libdsocks_la-authneg.lo
  CC       libdsocks_la-broken.lo
  CC       libdsocks_la-client.lo
  CC       libdsocks_la-clientconfig.lo
  CC       libdsocks_la-clientprotocol.lo
  CC       libdsocks_la-config.lo
  CC       libdsocks_la-config_parse.lo
  CC       libdsocks_la-config_scan.lo
  CC       libdsocks_la-connectchild.lo
  CC       libdsocks_la-debug.lo
  CC       libdsocks_la-fmt.lo
  CC       libdsocks_la-fmt_customer.lo
  CC       libdsocks_la-fmt_protocol.lo
  CC       libdsocks_la-gssapi.lo
../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
  CC       libdsocks_la-hostid.lo
  CC       libdsocks_la-httpproxy.lo
  CC       libdsocks_la-hw.lo
  CC       libdsocks_la-iface.lo
  CC       libdsocks_la-io.lo
  CC       libdsocks_la-iobuf.lo
  CC       libdsocks_la-ipv6.lo
  CC       libdsocks_la-log.lo
../lib/log.c:817:4: warning: 'format' attribute cannot be applied to a function that does not take variable arguments [-Wattributes]
  817 |    int priority;
      |    ^~~
  CC       libdsocks_la-method.lo
  CC       libdsocks_la-parse_util.lo
  CC       libdsocks_la-protocol.lo
  CC       libdsocks_la-serr.lo
  CC       libdsocks_la-showconfig.lo
  CC       libdsocks_la-sockaddr.lo
  CC       libdsocks_la-socket.lo
  CC       libdsocks_la-socketopt.lo
  CC       libdsocks_la-sockopt.lo
  CC       libdsocks_la-time.lo
  CC       libdsocks_la-tostring.lo
  CC       libdsocks_la-udp.lo
  CC       libdsocks_la-udp_util.lo
  CC       libdsocks_la-upnp.lo
  CC       libdsocks_la-userio.lo
  CC       libdsocks_la-util.lo
  CC       libdsocks_la-hstrerror.lo
  CC       libdsocks_la-setproctitle.lo
  CC       libdsocks_la-strvis.lo
  CCLD     libdsocks.la
Making all in sockd
  CC       addressmatch.o
  CC       authneg.o
  CC       broken.o
  CC       clientprotocol.o
  CC       config.o
  CC       config_parse.o
  CC       config_scan.o
  CC       debug.o
  CC       errorsymbols.o
  CC       fmt.o
  CC       fmt_customer.o
  CC       fmt_protocol.o
  CC       gssapi.o
../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
  CC       hostid.o
  CC       httpproxy.o
  CC       hw.o
  CC       iface.o
  CC       io.o
  CC       iobuf.o
  CC       ipv6.o
  CC       krb5.o
  CC       log.o
../lib/log.c:817:4: warning: 'format' attribute cannot be applied to a function that does not take variable arguments [-Wattributes]
  817 |    int priority;
      |    ^~~
  CC       method.o
  CC       parse_util.o
  CC       protocol.o
  CC       serr.o
  CC       showconfig.o
  CC       sockaddr.o
  CC       socket.o
  CC       socketopt.o
  CC       sockopt.o
  CC       tcpinfo.o
  CC       time.o
  CC       tostring.o
  CC       udp_util.o
  CC       upnp.o
  CC       userio.o
  CC       util.o
  CC       in_cksum.o
  CC       accesscheck.o
  CC       auth_bsd.o
  CC       auth_pam.o
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
  CC       bandwidth.o
  CC       bandwidth_key.o
  CC       checkmodule.o
  CC       cpu.o
  CC       cpuaffinity.o
  CC       cpupolicy.o
  CC       dante_udp.o
  CC       fmt_sockd.o
  CC       getoutaddr.o
  CC       ldap.o
  CC       ldap_key.o
  CC       ldap_util.o
  CC       math.o
  CC       method_gssapi.o
  CC       method_uname.o
  CC       monitor.o
  CC       monitor_util.o
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
  CC       pac.o
  CC       pac_key.o
  CC       privileges.o
  CC       redirect.o
  CC       redirect_key.o
  CC       rule.o
  CC       serverconfig.o
  CC       session.o
  CC       shmem.o
  CC       shmemconfig.o
  CC       sockd.o
  CC       sockd_child.o
  CC       sockd_icmp.o
  CC       sockd_io.o
  CC       sockd_io_misc.o
  CC       sockd_negotiate.o
  CC       sockd_protocol.o
  CC       sockd_request.o
  CC       sockd_socket.o
  CC       sockd_tcp.o
  CC       sockd_udp.o
  CC       sockd_util.o
  CC       statistics.o
  CC       udp_port.o
  CC       interposition.o
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
  CC       setproctitle.o
  CC       strvis.o
  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-trunk/net/dante
*** Error code 1

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