+ 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/wap-utils-1.3.2nb11/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/wap-utils-1.3.2nb11/work.log
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for wap-utils-1.3.2nb11
--- ./stamp-h.in ---
cd . && autoheader
WARNING: 'autoheader' is missing on your system.  You should only need it if
         you modified 'acconfig.h' or 'configure.in'.  You might want
         to install the Autoconf and GNU m4 packages.  Grab them
         from any GNU archive site.
--- stamp-h ---
cd .  && CONFIG_FILES= CONFIG_HEADERS=config.h  /usr/bin/bash ./config.status
creating config.h
config.h is unchanged
--- config.h ---
--- all-recursive-am ---
/opt/pkg/bin/bmake  all-recursive
--- all-recursive ---
Making all in intl
Making all in lib
--- reset.o ---
--- snmp.o ---
--- reset.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl  -I/opt/pkg/include -I/opt/pkg/include/ncurses  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -c reset.c
--- snmp.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl  -I/opt/pkg/include -I/opt/pkg/include/ncurses  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -c snmp.c
--- libap.a ---
rm -f libap.a
ar cru libap.a reset.o snmp.o 
ranlib libap.a
Making all in src
--- ap-config.o ---
--- aps.o ---
--- ap_search.o ---
--- auth_mac.o ---
--- ap-config.o ---
gcc -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I..  -I/opt/pkg/include -I/opt/pkg/include/ncurses  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -c ap-config.c
--- aps.o ---
gcc -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I..  -I/opt/pkg/include -I/opt/pkg/include/ncurses  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -c aps.c
--- ap_search.o ---
gcc -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I..  -I/opt/pkg/include -I/opt/pkg/include/ncurses  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -c ap_search.c
--- auth_mac.o ---
gcc -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I..  -I/opt/pkg/include -I/opt/pkg/include/ncurses  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -c auth_mac.c
--- bridge.o ---
gcc -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I..  -I/opt/pkg/include -I/opt/pkg/include/ncurses  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -c bridge.c
--- cmd.o ---
gcc -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I..  -I/opt/pkg/include -I/opt/pkg/include/ncurses  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -c cmd.c
--- common.o ---
gcc -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I..  -I/opt/pkg/include -I/opt/pkg/include/ncurses  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -c common.c
--- file.o ---
gcc -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I..  -I/opt/pkg/include -I/opt/pkg/include/ncurses  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -c file.c
--- input.o ---
gcc -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I..  -I/opt/pkg/include -I/opt/pkg/include/ncurses  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -c input.c
--- menu.o ---
gcc -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I..  -I/opt/pkg/include -I/opt/pkg/include/ncurses  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -c menu.c
--- input.o ---
input.c: In function 'menu_choose':
input.c:81:43: error: invalid application of 'sizeof' to incomplete type 'ITEM' {aka 'struct tagITEM'}
   81 |     ITEM **menu_item = calloc(num, sizeof(ITEM)), **ip = menu_item;
      |                                           ^~~~
*** [input.o] Error code 1

bmake[2]: stopped making "all" in /home/pbulk/build/net/wap-utils/work/ap-utils-1.3.2/src
--- menu.o ---
menu.c: In function 'uni_menu':
menu.c:29:45: error: invalid application of 'sizeof' to incomplete type 'ITEM' {aka 'struct tagITEM'}
   29 |     ITEM **menu_item = calloc(num+1, sizeof(ITEM));
      |                                             ^~~~
*** [menu.o] Error code 1

bmake[2]: stopped making "all" in /home/pbulk/build/net/wap-utils/work/ap-utils-1.3.2/src
bmake[2]: 2 errors

bmake[2]: stopped making "all" in /home/pbulk/build/net/wap-utils/work/ap-utils-1.3.2/src
*** [all-recursive] Error code 1

bmake[1]: stopped making "all-recursive" in /home/pbulk/build/net/wap-utils/work/ap-utils-1.3.2
bmake[1]: 1 error

bmake[1]: stopped making "all-recursive" in /home/pbulk/build/net/wap-utils/work/ap-utils-1.3.2
*** [all-recursive-am] Error code 2

bmake: stopped making "all" in /home/pbulk/build/net/wap-utils/work/ap-utils-1.3.2
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/net/wap-utils/work/ap-utils-1.3.2
*** Error code 2

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

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/wap-utils