+ 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/mlog-0.1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mlog-0.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for mlog-0.1
--- mlog ---
cc -pipe -O2  -Wl,-zrelro -Wl,-R/usr/pkg/lib -o mlog mlog.c 
mlog.c: In function 'wait_inotify':
mlog.c:85:2: error: 'for' loop initial declarations are only allowed in C99 mode
  for (int i = 0; i < logcnt; i++)
  ^
mlog.c:85:2: note: use option -std=c99 or -std=gnu99 to compile your code
mlog.c: In function 'main':
mlog.c:295:2: error: 'for' loop initial declarations are only allowed in C99 mode
  for (int i = 0; i < logcnt; i++) {
  ^
mlog.c:307:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (int i = 0; i < logcnt; i++)
   ^
mlog.c:312:12: error: redefinition of 'i'
   for (int i = 0; i < logcnt; i++) {
            ^
mlog.c:307:12: note: previous definition of 'i' was here
   for (int i = 0; i < logcnt; i++)
            ^
mlog.c:312:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (int i = 0; i < logcnt; i++) {
   ^
mlog.c:326:12: error: redefinition of 'i'
   for (int i = minidx + 1; i < logcnt; i++) {
            ^
mlog.c:312:12: note: previous definition of 'i' was here
   for (int i = 0; i < logcnt; i++) {
            ^
mlog.c:326:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (int i = minidx + 1; i < logcnt; i++) {
   ^
mlog.c:336:4: error: 'for' loop initial declarations are only allowed in C99 mode
    for (int i = 0; i < logcnt; i++) {
    ^
mlog.c:347:11: error: redefinition of 'i'
  for (int i = 0; i < logcnt; i++)
           ^
mlog.c:295:11: note: previous definition of 'i' was here
  for (int i = 0; i < logcnt; i++) {
           ^
mlog.c:347:2: error: 'for' loop initial declarations are only allowed in C99 mode
  for (int i = 0; i < logcnt; i++)
  ^
*** [mlog] Error code 1

bmake: stopped in /home/pbulk/build/sysutils/mlog/work/mlog-0.1
1 error

bmake: stopped in /home/pbulk/build/sysutils/mlog/work/mlog-0.1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/mlog
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/mlog