+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nagios-plugin-dnsmaster-0.1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nagios-plugin-dnsmaster-0.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for nagios-plugin-dnsmaster-0.1
--- check_dnsmaster.o ---
cc   -c check_dnsmaster.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from check_dnsmaster.c:30:
/usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
check_dnsmaster.c: In function 'load_domain':
check_dnsmaster.c:209:17: warning: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration]
  209 |                 strlcpy(al->al_addr, a, sizeof(al->al_addr));
      |                 ^~~~~~~
      |                 strncpy
check_dnsmaster.c: In function 'check_dnsmaster_thread':
check_dnsmaster.c:341:17: warning: implicit declaration of function 'res_setservers'; did you mean 'res_isourserver'? [-Wimplicit-function-declaration]
  341 |                 res_setservers(&res, nameserver_socks, nameserver_count);
      |                 ^~~~~~~~~~~~~~
      |                 res_isourserver
check_dnsmaster.c: In function 'get_server_addr':
check_dnsmaster.c:479:35: error: invalid application of 'sizeof' to incomplete type 'union res_sockaddr_union'
  479 |         if ((addrs = malloc(sizeof(*addrs) * count)) == NULL)
      |                                   ^
check_dnsmaster.c:486:38: error: invalid use of undefined type 'union res_sockaddr_union'
  486 |                         memcpy(&addrs[count].sin, res->ai_addr,
      |                                      ^
check_dnsmaster.c:486:45: error: invalid use of undefined type 'union res_sockaddr_union'
  486 |                         memcpy(&addrs[count].sin, res->ai_addr,
      |                                             ^
check_dnsmaster.c:487:44: error: invalid use of undefined type 'union res_sockaddr_union'
  487 |                                sizeof(addrs[count].sin));
      |                                            ^
check_dnsmaster.c:487:51: error: invalid use of undefined type 'union res_sockaddr_union'
  487 |                                sizeof(addrs[count].sin));
      |                                                   ^
check_dnsmaster.c:491:38: error: invalid use of undefined type 'union res_sockaddr_union'
  491 |                         memcpy(&addrs[count].sin6, res->ai_addr,
      |                                      ^
check_dnsmaster.c:491:45: error: invalid use of undefined type 'union res_sockaddr_union'
  491 |                         memcpy(&addrs[count].sin6, res->ai_addr,
      |                                             ^
check_dnsmaster.c:492:44: error: invalid use of undefined type 'union res_sockaddr_union'
  492 |                                sizeof(addrs[count].sin6));
      |                                            ^
check_dnsmaster.c:492:51: error: invalid use of undefined type 'union res_sockaddr_union'
  492 |                                sizeof(addrs[count].sin6));
      |                                                   ^
*** [check_dnsmaster.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/net/nagios-plugin-dnsmaster/work/check_dnsmaster-0.1
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/net/nagios-plugin-dnsmaster/work/check_dnsmaster-0.1
*** Error code 2

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

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/nagios-plugin-dnsmaster