+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/knot-3.4.2nb3/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/knot-3.4.2nb3/work.log
===> Building for knot-3.4.2nb3
Making all in src
gmake[1]: Entering directory '/home/pbulk/build/net/knot/work/knot-3.4.2/src'
NOTE: Compilation of scanner.c can take several minutes!
/opt/local/bin/gmake  all-recursive
gmake[2]: Entering directory '/home/pbulk/build/net/knot/work/knot-3.4.2/src'
gmake[3]: Entering directory '/home/pbulk/build/net/knot/work/knot-3.4.2/src'
  CC       libknot/la-cookies.lo
  CC       libknot/la-descriptor.lo
  CC       libknot/la-dname.lo
  CC       libknot/la-error.lo
  CC       libknot/la-rdataset.lo
  CC       libknot/la-rrset-dump.lo
  CC       libknot/la-rrset.lo
  CC       libknot/la-tsig-op.lo
  CC       libknot/la-tsig.lo
  CC       libdnssec/la-keyid.lo
  CC       libdnssec/la-pem.lo
  CC       libdnssec/la-random.lo
  CC       libdnssec/la-tsig.lo
  CC       contrib/libcontrib_la-net.lo
contrib/net.c: In function 'net_cmsg_ecn_ptr':
contrib/net.c:357:31: error: implicit declaration of function 'CMSG_DATA' [-Werror=implicit-function-declaration]
  357 |                 return (int *)CMSG_DATA(cmsg);
      |                               ^~~~~~~~~
contrib/net.c:357:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  357 |                 return (int *)CMSG_DATA(cmsg);
      |                        ^
contrib/net.c:362:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  362 |                 return (int *)CMSG_DATA(cmsg);
      |                        ^
contrib/net.c: In function 'net_cmsg_ecn':
contrib/net.c:372:34: error: implicit declaration of function 'CMSG_FIRSTHDR' [-Werror=implicit-function-declaration]
  372 |         for (struct cmsghdr *c = CMSG_FIRSTHDR(msg); c != NULL; c = CMSG_NXTHDR(msg, c)) {
      |                                  ^~~~~~~~~~~~~
contrib/net.c:372:34: warning: initialization of 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
contrib/net.c:372:9: error: declaration of non-variable 'CMSG_FIRSTHDR' in 'for' loop initial declaration
  372 |         for (struct cmsghdr *c = CMSG_FIRSTHDR(msg); c != NULL; c = CMSG_NXTHDR(msg, c)) {
      |         ^~~
contrib/net.c:372:69: error: implicit declaration of function 'CMSG_NXTHDR' [-Werror=implicit-function-declaration]
  372 |         for (struct cmsghdr *c = CMSG_FIRSTHDR(msg); c != NULL; c = CMSG_NXTHDR(msg, c)) {
      |                                                                     ^~~~~~~~~~~
contrib/net.c:372:67: warning: assignment to 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  372 |         for (struct cmsghdr *c = CMSG_FIRSTHDR(msg); c != NULL; c = CMSG_NXTHDR(msg, c)) {
      |                                                                   ^
contrib/net.c: In function 'net_base_recv':
contrib/net.c:729:29: warning: pointer targets in initialization of 'char *' from 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  729 |                 .iov_base = buffer,
      |                             ^~~~~~
contrib/net.c:729:29: note: (near initialization for 'iov.iov_base')
contrib/net.c: In function 'net_dns_tcp_send':
contrib/net.c:795:29: warning: initialization of 'char *' from incompatible pointer type 'uint16_t *' {aka 'short unsigned int *'} [-Wincompatible-pointer-types]
  795 |                 .iov_base = &pktsize,
      |                             ^
contrib/net.c:795:29: note: (near initialization for 'iov[0].iov_base')
contrib/net.c: In function 'net_dns_tcp_recv':
contrib/net.c:827:29: warning: initialization of 'char *' from incompatible pointer type 'uint16_t *' {aka 'short unsigned int *'} [-Wincompatible-pointer-types]
  827 |                 .iov_base = &pktsize,
      |                             ^
contrib/net.c:827:29: note: (near initialization for 'iov.iov_base')
contrib/net.c:848:22: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'caddr_t' {aka 'char *'} differ in signedness [-Wpointer-sign]
  848 |         iov.iov_base = buffer;
      |                      ^
cc1: some warnings being treated as errors
gmake[3]: *** [Makefile:4804: contrib/libcontrib_la-net.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory '/home/pbulk/build/net/knot/work/knot-3.4.2/src'
gmake[2]: *** [Makefile:7320: all-recursive] Error 1
gmake[2]: Leaving directory '/home/pbulk/build/net/knot/work/knot-3.4.2/src'
gmake[1]: *** [Makefile:2545: all] Error 2
gmake[1]: Leaving directory '/home/pbulk/build/net/knot/work/knot-3.4.2/src'
gmake: *** [Makefile:495: all-recursive] Error 1
*** Error code 2

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

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