+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/miniupnpd-2.1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/miniupnpd-2.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for miniupnpd-2.1
./genconfig.sh 
Configuring compilation for [SunOS] [5.11] with [ipf] firewall software.
Please edit config.h for more compilation options.
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DDEFAULT_CONFIG=\"/opt/local/etc/miniupnpd.conf\" -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -W -Wstrict-prototypes -fno-common -DSOLARIS2=`uname -r | cut -d. -f2` -c -o miniupnpd.o miniupnpd.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DDEFAULT_CONFIG=\"/opt/local/etc/miniupnpd.conf\" -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -W -Wstrict-prototypes -fno-common -DSOLARIS2=`uname -r | cut -d. -f2` -c -o upnphttp.o upnphttp.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DDEFAULT_CONFIG=\"/opt/local/etc/miniupnpd.conf\" -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -W -Wstrict-prototypes -fno-common -DSOLARIS2=`uname -r | cut -d. -f2` -c -o upnpdescgen.o upnpdescgen.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DDEFAULT_CONFIG=\"/opt/local/etc/miniupnpd.conf\" -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -W -Wstrict-prototypes -fno-common -DSOLARIS2=`uname -r | cut -d. -f2` -c -o upnpsoap.o upnpsoap.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DDEFAULT_CONFIG=\"/opt/local/etc/miniupnpd.conf\" -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -W -Wstrict-prototypes -fno-common -DSOLARIS2=`uname -r | cut -d. -f2` -c -o upnpredirect.o upnpredirect.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DDEFAULT_CONFIG=\"/opt/local/etc/miniupnpd.conf\" -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -W -Wstrict-prototypes -fno-common -DSOLARIS2=`uname -r | cut -d. -f2` -c -o getifaddr.o getifaddr.c
getifaddr.c: In function 'getifaddr':
getifaddr.c:63:9: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
   63 |         strncpy(ifr.ifr_name, ifname, IFNAMSIZ);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
getifaddr.c:83:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
   83 |                 strncpy(ifr.ifr_name, ifname, IFNAMSIZ);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DDEFAULT_CONFIG=\"/opt/local/etc/miniupnpd.conf\" -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -W -Wstrict-prototypes -fno-common -DSOLARIS2=`uname -r | cut -d. -f2` -c -o daemonize.o daemonize.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DDEFAULT_CONFIG=\"/opt/local/etc/miniupnpd.conf\" -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -W -Wstrict-prototypes -fno-common -DSOLARIS2=`uname -r | cut -d. -f2` -c -o upnpglobalvars.o upnpglobalvars.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DDEFAULT_CONFIG=\"/opt/local/etc/miniupnpd.conf\" -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -W -Wstrict-prototypes -fno-common -DSOLARIS2=`uname -r | cut -d. -f2` -c -o options.o options.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DDEFAULT_CONFIG=\"/opt/local/etc/miniupnpd.conf\" -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -W -Wstrict-prototypes -fno-common -DSOLARIS2=`uname -r | cut -d. -f2` -c -o upnppermissions.o upnppermissions.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DDEFAULT_CONFIG=\"/opt/local/etc/miniupnpd.conf\" -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -W -Wstrict-prototypes -fno-common -DSOLARIS2=`uname -r | cut -d. -f2` -c -o minissdp.o minissdp.c
minissdp.c: In function 'ProcessSSDPRequest':
minissdp.c:862:20: warning: implicit declaration of function 'CMSG_SPACE' [-Wimplicit-function-declaration]
  862 |         char cmbuf[CMSG_SPACE(sizeof(struct in_pktinfo))];
      |                    ^~~~~~~~~~
minissdp.c:872:18: error: 'struct msghdr' has no member named 'msg_control'
  872 |                 .msg_control = cmbuf,
      |                  ^~~~~~~~~~~
minissdp.c:873:18: error: 'struct msghdr' has no member named 'msg_controllen'
  873 |                 .msg_controllen = sizeof(cmbuf)
      |                  ^~~~~~~~~~~~~~
minissdp.c:915:21: warning: implicit declaration of function 'CMSG_FIRSTHDR' [-Wimplicit-function-declaration]
  915 |         for(cmptr = CMSG_FIRSTHDR(&mh); cmptr != NULL; cmptr = CMSG_NXTHDR(&mh, cmptr))
      |                     ^~~~~~~~~~~~~
minissdp.c:915:19: warning: assignment to 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  915 |         for(cmptr = CMSG_FIRSTHDR(&mh); cmptr != NULL; cmptr = CMSG_NXTHDR(&mh, cmptr))
      |                   ^
minissdp.c:915:64: warning: implicit declaration of function 'CMSG_NXTHDR' [-Wimplicit-function-declaration]
  915 |         for(cmptr = CMSG_FIRSTHDR(&mh); cmptr != NULL; cmptr = CMSG_NXTHDR(&mh, cmptr))
      |                                                                ^~~~~~~~~~~
minissdp.c:915:62: warning: assignment to 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  915 |         for(cmptr = CMSG_FIRSTHDR(&mh); cmptr != NULL; cmptr = CMSG_NXTHDR(&mh, cmptr))
      |                                                              ^
minissdp.c:922:51: warning: implicit declaration of function 'CMSG_DATA' [-Wimplicit-function-declaration]
  922 |                         pi = (struct in_pktinfo *)CMSG_DATA(cmptr);
      |                                                   ^~~~~~~~~
minissdp.c:922:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  922 |                         pi = (struct in_pktinfo *)CMSG_DATA(cmptr);
      |                              ^
minissdp.c:940:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  940 |                         sdl = (struct sockaddr_dl *)CMSG_DATA(cmptr);
      |                               ^
minissdp.c:941:81: warning: implicit declaration of function 'link_ntoa'; did you mean '_link_ntoa'? [-Wimplicit-function-declaration]
  941 |                         syslog(LOG_DEBUG, "sdl_index = %d  %s", sdl->sdl_index, link_ntoa(sdl));
      |                                                                                 ^~~~~~~~~
      |                                                                                 _link_ntoa
*** Error code 1

Stop.
bmake: stopped in /home/pbulk/build/net/miniupnpd/work/miniupnpd-2.1
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/net/miniupnpd
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/net/miniupnpd