+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/whowatch-1.4nb6/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/whowatch-1.4nb6/work.log
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for whowatch-1.4nb6
--- process.o ---
--- whowatch.o ---
--- procinfo.o ---
--- process.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -Wall -I. -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c process.c
--- procinfo.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -Wall -I. -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c procinfo.c
--- whowatch.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -Wall -I. -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c whowatch.c
--- procinfo.o ---
In file included from procinfo.c:8:
whowatch.h:78:19: error: 'UT_NAMESIZE' undeclared here (not in a function)
   78 |         char name[UT_NAMESIZE + 1];     /* login name           */
      |                   ^~~~~~~~~~~
whowatch.h:79:18: error: 'UT_LINESIZE' undeclared here (not in a function)
   79 |         char tty[UT_LINESIZE + 1];      /* tty                  */
      |                  ^~~~~~~~~~~
whowatch.h:83:19: error: 'UT_HOSTSIZE' undeclared here (not in a function)
   83 |         char host[UT_HOSTSIZE + 1];
      |                   ^~~~~~~~~~~
procinfo.c: In function 'get_cmdline':
procinfo.c:236:17: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
  236 |                 bzero(buf, sizeof buf);
      |                 ^~~~~
procinfo.c:236:17: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
--- process.o ---
In file included from process.c:1:
whowatch.h:78:19: error: 'UT_NAMESIZE' undeclared here (not in a function)
   78 |         char name[UT_NAMESIZE + 1];     /* login name           */
      |                   ^~~~~~~~~~~
whowatch.h:79:18: error: 'UT_LINESIZE' undeclared here (not in a function)
   79 |         char tty[UT_LINESIZE + 1];      /* tty                  */
      |                  ^~~~~~~~~~~
whowatch.h:83:19: error: 'UT_HOSTSIZE' undeclared here (not in a function)
   83 |         char host[UT_HOSTSIZE + 1];
      |                   ^~~~~~~~~~~
--- procinfo.o ---
*** [procinfo.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/sysutils/whowatch/work/whowatch-1.4
--- whowatch.o ---
In file included from whowatch.c:4:
whowatch.h:78:19: error: 'UT_NAMESIZE' undeclared here (not in a function)
   78 |         char name[UT_NAMESIZE + 1];     /* login name           */
      |                   ^~~~~~~~~~~
whowatch.h:79:18: error: 'UT_LINESIZE' undeclared here (not in a function)
   79 |         char tty[UT_LINESIZE + 1];      /* tty                  */
      |                  ^~~~~~~~~~~
whowatch.h:83:19: error: 'UT_HOSTSIZE' undeclared here (not in a function)
   83 |         char host[UT_HOSTSIZE + 1];
      |                   ^~~~~~~~~~~
whowatch.c: In function 'allocate_user':
whowatch.c:129:31: error: 'struct utmp' has no member named 'ut_host'
  129 |         strncpy(u->host, entry->ut_host, UT_HOSTSIZE);
      |                               ^~
--- process.o ---
*** [process.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/sysutils/whowatch/work/whowatch-1.4
--- whowatch.o ---
whowatch.c: In function 'get_rows_cols':
whowatch.c:520:24: error: storage size of 'win' isn't known
  520 |         struct winsize win;
      |                        ^~~
whowatch.c:521:21: error: 'TIOCGWINSZ' undeclared (first use in this function)
  521 |         if (ioctl(1,TIOCGWINSZ,&win) != -1){
      |                     ^~~~~~~~~~
whowatch.c:521:21: note: each undeclared identifier is reported only once for each function it appears in
whowatch.c:520:24: warning: unused variable 'win' [-Wunused-variable]
  520 |         struct winsize win;
      |                        ^~~
whowatch.c: In function 'show_cmd_or_idle':
whowatch.c:661:13: warning: variable 'y' set but not used [-Wunused-but-set-variable]
  661 |         int y, x;
      |             ^
*** [whowatch.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/sysutils/whowatch/work/whowatch-1.4
bmake: 3 errors

bmake: stopped making "all" in /home/pbulk/build/sysutils/whowatch/work/whowatch-1.4
*** Error code 2

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

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/whowatch