+ 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/whowatch-1.4nb6/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/whowatch-1.4nb6/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for whowatch-1.4nb6 --- process.o --- --- whowatch.o --- --- procinfo.o --- --- proctree.o --- --- owner.o --- --- screen.o --- --- process.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -Wall -I. -I/opt/pkg/include/ncurses -c process.c --- proctree.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -Wall -I. -I/opt/pkg/include/ncurses -c proctree.c --- whowatch.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -Wall -I. -I/opt/pkg/include/ncurses -c whowatch.c --- procinfo.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -Wall -I. -I/opt/pkg/include/ncurses -c procinfo.c --- owner.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -Wall -I. -I/opt/pkg/include/ncurses -c owner.c --- screen.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -Wall -I. -I/opt/pkg/include/ncurses -c screen.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 */ | ^~~~~~~~~~~ --- owner.o --- In file included from owner.c:2: whowatch.h:78:19: error: 'UT_NAMESIZE' undeclared here (not in a function) 78 | char name[UT_NAMESIZE + 1]; /* login name */ | ^~~~~~~~~~~ --- procinfo.o --- whowatch.h:83:19: error: 'UT_HOSTSIZE' undeclared here (not in a function) 83 | char host[UT_HOSTSIZE + 1]; | ^~~~~~~~~~~ --- owner.o --- whowatch.h:79:18: error: 'UT_LINESIZE' undeclared here (not in a function) 79 | char tty[UT_LINESIZE + 1]; /* tty */ | ^~~~~~~~~~~ --- procinfo.o --- procinfo.c: In function 'get_cmdline': procinfo.c:236:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 236 | bzero(buf, sizeof buf); | ^~~~~ procinfo.c:236:3: warning: incompatible implicit declaration of built-in function 'bzero' --- owner.o --- whowatch.h:83:19: error: 'UT_HOSTSIZE' undeclared here (not in a function) 83 | char host[UT_HOSTSIZE + 1]; | ^~~~~~~~~~~ --- 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 */ | ^~~~~~~~~~~ --- 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 */ | ^~~~~~~~~~~ --- screen.o --- In file included from screen.c:3: whowatch.h:78:19: error: 'UT_NAMESIZE' undeclared here (not in a function) 78 | char name[UT_NAMESIZE + 1]; /* login name */ | ^~~~~~~~~~~ --- process.o --- whowatch.h:79:18: error: 'UT_LINESIZE' undeclared here (not in a function) 79 | char tty[UT_LINESIZE + 1]; /* tty */ | ^~~~~~~~~~~ --- whowatch.o --- whowatch.h:83:19: error: 'UT_HOSTSIZE' undeclared here (not in a function) 83 | char host[UT_HOSTSIZE + 1]; | ^~~~~~~~~~~ --- screen.o --- whowatch.h:79:18: error: 'UT_LINESIZE' undeclared here (not in a function) 79 | char tty[UT_LINESIZE + 1]; /* tty */ | ^~~~~~~~~~~ --- process.o --- whowatch.h:83:19: error: 'UT_HOSTSIZE' undeclared here (not in a function) 83 | char host[UT_HOSTSIZE + 1]; | ^~~~~~~~~~~ --- whowatch.o --- whowatch.c: In function 'allocate_user': whowatch.c:129:24: error: 'struct utmp' has no member named 'ut_host' 129 | strncpy(u->host, entry->ut_host, UT_HOSTSIZE); | ^~ --- screen.o --- whowatch.h:83:19: error: 'UT_HOSTSIZE' undeclared here (not in a function) 83 | char host[UT_HOSTSIZE + 1]; | ^~~~~~~~~~~ --- whowatch.o --- whowatch.c: In function 'get_rows_cols': whowatch.c:520:17: error: storage size of 'win' isn't known 520 | struct winsize win; | ^~~ whowatch.c:521:14: error: 'TIOCGWINSZ' undeclared (first use in this function) 521 | if (ioctl(1,TIOCGWINSZ,&win) != -1){ | ^~~~~~~~~~ whowatch.c:521:14: note: each undeclared identifier is reported only once for each function it appears in whowatch.c:520:17: warning: unused variable 'win' [-Wunused-variable] 520 | struct winsize win; | ^~~ --- screen.o --- screen.c: In function 'update_load': screen.c:155:27: warning: implicit declaration of function 'getloadavg' [-Wimplicit-function-declaration] 155 | if(info_win.cols < 65 || getloadavg(d, 3) == -1) return; | ^~~~~~~~~~ --- whowatch.o --- whowatch.c: In function 'show_cmd_or_idle': whowatch.c:661:6: warning: variable 'y' set but not used [-Wunused-but-set-variable] 661 | int y, x; | ^ --- owner.o --- *** [owner.o] Error code 1 bmake: stopped in /home/pbulk/build/sysutils/whowatch/work/whowatch-1.4 --- procinfo.o --- *** [procinfo.o] Error code 1 bmake: stopped in /home/pbulk/build/sysutils/whowatch/work/whowatch-1.4 --- process.o --- *** [process.o] Error code 1 bmake: stopped in /home/pbulk/build/sysutils/whowatch/work/whowatch-1.4 --- screen.o --- *** [screen.o] Error code 1 bmake: stopped in /home/pbulk/build/sysutils/whowatch/work/whowatch-1.4 --- whowatch.o --- *** [whowatch.o] Error code 1 bmake: stopped in /home/pbulk/build/sysutils/whowatch/work/whowatch-1.4 5 errors bmake: stopped in /home/pbulk/build/sysutils/whowatch/work/whowatch-1.4 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/whowatch *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/whowatch