+ 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/ait-1.8rc4/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ait-1.8rc4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for ait-1.8rc4
--- config.h ---
--- command.o ---
--- config.h ---
if [ -z "" ]; then  echo "#define BACKUP_DIR	NULL" > config.h;  else  echo "#define BACKUP_DIR	\"\"" > config.h;  fi
--- command.o ---
cc -O3 -Wall -c command.c
--- display.o ---
cc -O3 -Wall -c display.c
In file included from display.c:8:0:
termbox.h: In function 'tb_sendf':
termbox.h:1779:5: warning: implicit declaration of function 'vsnprintf' [-Wimplicit-function-declaration]
     rv = vsnprintf(buf, sizeof(buf), fmt, vl);
     ^
termbox.h: In function 'tb_strerror':
termbox.h:1902:13: warning: implicit declaration of function 'strerror_r' [-Wimplicit-function-declaration]
             strerror_r(global.last_errno, global.errbuf, sizeof(global.errbuf));
             ^
termbox.h: In function 'init_term_attrs':
termbox.h:1965:5: warning: implicit declaration of function 'cfmakeraw' [-Wimplicit-function-declaration]
     cfmakeraw(&tios);
     ^
--- command.o ---
command.c: In function 'insert_str':
command.c:233:5: error: 'for' loop initial declarations are only allowed in C99 mode
     for(int i = 0; i < len; i++) {
     ^
command.c:233:5: note: use option -std=c99 or -std=gnu99 to compile your code
command.c: In function 'insert_unicode':
command.c:257:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for(int i = 0; i < len; i++) {
   ^
command.c: In function 'jumptorow':
--- display.o ---
termbox.h: In function 'load_terminfo':
termbox.h:2283:9: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration]
         snprintf_or_return(rv, tmp, sizeof(tmp), "%s/.terminfo", home);
         ^
termbox.h:626:16: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
         (rv) = snprintf((str), (sz), (fmt), __VA_ARGS__);                      \
                ^
termbox.h:2283:9: note: in expansion of macro 'snprintf_or_return'
         snprintf_or_return(rv, tmp, sizeof(tmp), "%s/.terminfo", home);
         ^
termbox.h:626:16: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
         (rv) = snprintf((str), (sz), (fmt), __VA_ARGS__);                      \
                ^
termbox.h:2295:9: note: in expansion of macro 'snprintf_or_return'
         snprintf_or_return(rv, tmp, sizeof(tmp), "%s", dirs);
         ^
termbox.h: In function 'load_terminfo_from_path':
termbox.h:626:16: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
         (rv) = snprintf((str), (sz), (fmt), __VA_ARGS__);                      \
                ^
termbox.h:2327:5: note: in expansion of macro 'snprintf_or_return'
     snprintf_or_return(rv, tmp, sizeof(tmp), "%s/%c/%s", path, term[0], term);
     ^
termbox.h: In function 'extract_esc_mouse':
termbox.h:2742:13: error: 'for' loop initial declarations are only allowed in C99 mode
             for (size_t i = 0; i < in->len; i++) {
             ^
termbox.h:2742:13: note: use option -std=c99 or -std=gnu99 to compile your code
--- command.o ---
command.c:387:11: error: redefinition of 'i'
   for(int i = 0; i < curwp->w_rows && pageln <= lastln; i++) {
           ^
command.c:368:25: note: previous definition of 'i' was here
   int line = -1, j = 0, i = 0, current, lastln, pageln;
                         ^
command.c:387:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for(int i = 0; i < curwp->w_rows && pageln <= lastln; i++) {
   ^
command.c:430:9: error: 'for' loop initial declarations are only allowed in C99 mode
         for(int i = 0; i < curwp->w_rows && pageln <= lastln; i++) {
         ^
command.c: In function 'jumpword':
command.c:619:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for(point_t cur = 0; cur < diff; cur++) {
   ^
command.c:646:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for(int i = 0; i < diff; i++) {
   ^
command.c: In function 'get_current_path':
command.c:660:3: error: 'for' loop initial declarations are only allowed in C99 mode
--- display.o ---
display.c: In function 'display':
display.c:186:9: error: 'for' loop initial declarations are only allowed in C99 mode
         for(int num = 0; *uni != '\n' && num < limit ; x++, num++) {
         ^
display.c: In function 'update_display':
display.c:560:5: error: 'for' loop initial declarations are only allowed in C99 mode
     for(int i = curwp->w_top; i < curwp->w_rows+curwp->w_top+1; i++)
     ^
display.c:568:7: error: 'for' loop initial declarations are only allowed in C99 mode
       for(int i = wp->w_top; i < wp->w_rows+wp->w_top+1; i++)
       ^
display.c: In function 'clrtoeol':
display.c:690:5: error: 'for' loop initial declarations are only allowed in C99 mode
     for(int i=0; i<size; i++) {
     ^
display.c:695:5: error: 'for' loop initial declarations are only allowed in C99 mode
     for(int i=0; i<size; i++) {
     ^
In file included from display.c:8:0:
termbox.h: In function 'handle_resize':
--- command.o ---
   for(int i = strlen(curbp->b_fname) - 1; i > -1; i--) {
   ^
command.c:666:11: error: redefinition of 'i'
   for(int i = 0; i <= cutoff; i++)
           ^
command.c:660:11: note: previous definition of 'i' was here
   for(int i = strlen(curbp->b_fname) - 1; i > -1; i--) {
           ^
command.c:666:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for(int i = 0; i <= cutoff; i++)
   ^
command.c: In function 'killbuffer':
command.c:781:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for(window_t *wp = wheadp; wp != NULL; wp = wp->w_next) {
   ^
command.c: In function 'copy_cut':
command.c:839:7: error: 'for' loop initial declarations are only allowed in C99 mode
       for(point_t pt = curbp->b_mark-1; pt > curbp->b_point; pt--) {
       ^
command.c:849:7: error: 'for' loop initial declarations are only allowed in C99 mode
       for(point_t pt = curbp->b_mark; pt < curbp->b_point; pt++) {
       ^
command.c: In function 'paste_internal':
--- display.o ---
termbox.h:2845:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     write(global.resize_pipefd[1], &sig, sizeof(sig));
          ^
--- command.o ---
command.c:892:5: error: 'for' loop initial declarations are only allowed in C99 mode
     for(int i = 0, cc = col; scrap[i] != '\0'; i++) {
     ^
command.c: In function 'clipboard':
command.c:925:5: error: 'for' loop initial declarations are only allowed in C99 mode
     for(int i = 0; gtemp[i] != '\0'; i++) {
     ^
command.c: In function 'lowercaseword':
command.c:1207:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for(int i = sword, k = 0; i < eword; i++, k++) {
   ^
command.c:1212:11: error: redefinition of 'i'
   for(int i = sword, k = 0; i < eword; i++, k++) {
           ^
command.c:1207:11: note: previous definition of 'i' was here
   for(int i = sword, k = 0; i < eword; i++, k++) {
           ^
command.c:1212:22: error: redefinition of 'k'
   for(int i = sword, k = 0; i < eword; i++, k++) {
                      ^
command.c:1207:22: note: previous definition of 'k' was here
   for(int i = sword, k = 0; i < eword; i++, k++) {
                      ^
command.c:1212:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for(int i = sword, k = 0; i < eword; i++, k++) {
   ^
command.c: In function 'uppercaseword':
command.c:1254:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for(int i = sword, k = 0; i < eword; i++, k++) {
   ^
command.c:1259:11: error: redefinition of 'i'
   for(int i = sword, k = 0; i < eword; i++, k++) {
           ^
command.c:1254:11: note: previous definition of 'i' was here
   for(int i = sword, k = 0; i < eword; i++, k++) {
           ^
command.c:1259:22: error: redefinition of 'k'
--- display.o ---
termbox.h: In function 'wait_event':
termbox.h:2525:17: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
             read(global.resize_pipefd[0], &ignore, sizeof(ignore));
                 ^
--- command.o ---
   for(int i = sword, k = 0; i < eword; i++, k++) {
                      ^
command.c:1254:22: note: previous definition of 'k' was here
   for(int i = sword, k = 0; i < eword; i++, k++) {
                      ^
command.c:1259:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for(int i = sword, k = 0; i < eword; i++, k++) {
   ^
command.c: In function 'gotochar':
command.c:1328:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for(point_t poi = curbp->b_point; poi > eol; poi -= utf8_size(*ptr(curbp,poi)))
   ^
command.c: In function 'start_kbd_macro':
command.c:1440:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for(int i = 0; i < record_buffer_index; i++) {
   ^
--- display.o ---
*** [display.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/editors/ait/work/ait
--- command.o ---
*** [command.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/editors/ait/work/ait
bmake: 2 errors

bmake: stopped making "all" in /home/pbulk/build/editors/ait/work/ait
*** Error code 2

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

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