+ 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/top-3.6.1nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/top-3.6.1nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for top-3.6.1nb1 --- color.o --- --- sigdesc.h --- /bin/gawk -f ./sigconv.awk /dev/null >sigdesc.h --- color.o --- cc -DHAVE_CONFIG_H -I. -I. -pipe -O2 -I/usr/pkg/include/ncurses -I/usr/pkg/include/ncurses -c color.c --- display.o --- cc -DHAVE_CONFIG_H -I. -I. -pipe -O2 -I/usr/pkg/include/ncurses -I/usr/pkg/include/ncurses -c display.c display.c: In function 'readline': display.c:1411:29: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] while ((fflush(stdout), read(0, ptr, 1) > 0)) ^~~~ fread --- screen.o --- cc -DHAVE_CONFIG_H -I. -I. -pipe -O2 -I/usr/pkg/include/ncurses -I/usr/pkg/include/ncurses -c screen.c --- top.o --- cc -DHAVE_CONFIG_H -I. -I. -pipe -O2 -I/usr/pkg/include/ncurses -I/usr/pkg/include/ncurses -c top.c top.c: In function 'main': top.c:359:14: warning: implicit declaration of function 'getopt'; did you mean 'tstop'? [-Wimplicit-function-declaration] while ((i = getopt(ac, av, "CDSITbcinquvs:d:U:o:")) != EOF) ^~~~~~ tstop top.c:429:52: warning: implicit declaration of function 'getuid'; did you mean 'getenv'? [-Wimplicit-function-declaration] if ((delay = atoi(optarg)) < 0 || (delay == 0 && getuid() != 0)) ^~~~~~ getenv top.c:442:14: warning: implicit declaration of function 'nice'; did you mean 'time'? [-Wimplicit-function-declaration] (void) nice(-20); ^~~~ time top.c:835:10: warning: implicit declaration of function 'alarm'; did you mean 'onalrm'? [-Wimplicit-function-declaration] (void) alarm((unsigned)delay); ^~~~~ onalrm top.c:838:3: warning: implicit declaration of function 'pause'; did you mean 'raise'? [-Wimplicit-function-declaration] pause(); ^~~~~ raise top.c:862:11: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] if (read(0, &ch, 1) != 1) ^~~~ fread --- username.o --- cc -DHAVE_CONFIG_H -I. -I. -pipe -O2 -I/usr/pkg/include/ncurses -I/usr/pkg/include/ncurses -c username.c --- utils.o --- cc -DHAVE_CONFIG_H -I. -I. -pipe -O2 -I/usr/pkg/include/ncurses -I/usr/pkg/include/ncurses -c utils.c --- version.o --- cc -DHAVE_CONFIG_H -I. -I. -pipe -O2 -I/usr/pkg/include/ncurses -I/usr/pkg/include/ncurses -c version.c --- m_linux.o --- cc -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -I. -I. -pipe -O2 -I/usr/pkg/include/ncurses -o m_linux.o -c ./machine/m_linux.c --- commands.o --- cc -DHAVE_CONFIG_H -I. -I. -pipe -O2 -I/usr/pkg/include/ncurses -I/usr/pkg/include/ncurses -c commands.c --- m_linux.o --- ./machine/m_linux.c:38:10: fatal error: asm/page.h: No such file or directory #include /* for PAGE_SHIFT */ ^~~~~~~~~~~~ compilation terminated. *** [m_linux.o] Error code 1 bmake: stopped in /home/pbulk/build/sysutils/top/work/top-3.6.1 --- commands.o --- commands.c: In function 'show_help': commands.c:238:5: warning: implicit declaration of function 'display_pager' [-Wimplicit-function-declaration] display_pager("Top version "); ^~~~~~~~~~~~~ commands.c: In function 'kill_procs': commands.c:350:11: warning: implicit declaration of function 'getuid'; did you mean 'getenv'? [-Wimplicit-function-declaration] uid = getuid(); ^~~~~~ getenv 1 error bmake: stopped in /home/pbulk/build/sysutils/top/work/top-3.6.1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/top *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/top