+ 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/ait-1.8rc4/work.log
+ su pbulk -c '"$@"' make /opt/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
if [ -z "" ]; then  echo "#define BACKUP_DIR	NULL" > config.h;  else  echo "#define BACKUP_DIR	\"\"" > config.h;  fi
cc -O3 -Wall -c command.c
In function 'writefile',
    inlined from 'savebuffer' at command.c:736:7:
command.c:746:3: warning: 'strncpy' output may be truncated copying 1024 bytes from a string of length 1024 [-Wstringop-truncation]
  746 |   strncpy(temp, curbp->b_fname, PATH_MAX);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
command.c: In function 'writefile':
command.c:746:3: warning: 'strncpy' output may be truncated copying 1024 bytes from a string of length 1024 [-Wstringop-truncation]
  746 |   strncpy(temp, curbp->b_fname, PATH_MAX);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -O3 -Wall -c display.c
In file included from display.c:8:
termbox.h: In function 'tb_strerror':
termbox.h:1902:13: warning: implicit declaration of function 'strerror_r'; did you mean 'strerror'? [-Wimplicit-function-declaration]
 1902 |             strerror_r(global.last_errno, global.errbuf, sizeof(global.errbuf));
      |             ^~~~~~~~~~
      |             strerror
termbox.h: In function 'init_term_attrs':
termbox.h:1965:5: warning: implicit declaration of function 'cfmakeraw' [-Wimplicit-function-declaration]
 1965 |     cfmakeraw(&tios);
      |     ^~~~~~~~~
termbox.h: In function 'update_term_size':
termbox.h:2153:20: error: storage size of 'sz' isn't known
 2153 |     struct winsize sz;
      |                    ^~
termbox.h:2157:9: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration]
 2157 |     if (ioctl(global.ttyfd, TIOCGWINSZ, &sz) == 0) {
      |         ^~~~~
termbox.h:2157:29: error: 'TIOCGWINSZ' undeclared (first use in this function)
 2157 |     if (ioctl(global.ttyfd, TIOCGWINSZ, &sz) == 0) {
      |                             ^~~~~~~~~~
termbox.h:2157:29: note: each undeclared identifier is reported only once for each function it appears in
termbox.h:2153:20: warning: unused variable 'sz' [-Wunused-variable]
 2153 |     struct winsize sz;
      |                    ^~
termbox.h: In function 'update_term_size_via_esc':
termbox.h:2187:20: error: storage size of 'timeout' isn't known
 2187 |     struct timeval timeout;
      |                    ^~~~~~~
termbox.h:2187:20: warning: unused variable 'timeout' [-Wunused-variable]
termbox.h: In function 'wait_event':
termbox.h:2486:20: error: storage size of 'tv' isn't known
 2486 |     struct timeval tv;
      |                    ^~
termbox.h:2486:20: warning: unused variable 'tv' [-Wunused-variable]
*** [display.o] Error code 1

bmake: stopped in /home/pbulk/build/editors/ait/work/ait
1 error

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

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/ait
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/ait