+ 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/mtm-1.2.1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mtm-1.2.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for mtm-1.2.1
--- config.h ---
cp -i config.def.h config.h
--- mtm ---
cc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-zrelro -pipe -O2 -I/usr/pkg/include/ncurses -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED -o mtm  vtparser.c mtm.c pair.c  -lncursesw -lutil
vtparser.c: In function 'handlechar':
vtparser.c:123:5: error: 'for' loop initial declarations are only allowed in C99 mode
     for (ACTION *a = vp->s->actions; a->cb; a++) if (w >= a->lo && w <= a->hi){
     ^
vtparser.c:123:5: note: use option -std=c99 or -std=gnu99 to compile your code
In file included from mtm.c:35:0:
config.h:70:28: fatal error: ncursesw/curses.h: No such file or directory
 #include NCURSESW_INCLUDE_H
                            ^
compilation terminated.
In file included from pair.c:3:0:
config.h:70:28: fatal error: ncursesw/curses.h: No such file or directory
 #include NCURSESW_INCLUDE_H
                            ^
compilation terminated.
*** [mtm] Error code 1

bmake: stopped making "all" in /home/pbulk/build/misc/mtm/work/mtm-1.2.1
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/misc/mtm/work/mtm-1.2.1
*** Error code 2

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

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/misc/mtm