+ 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 --- --- color.o --- cc -DHAVE_CONFIG_H -I. -I. -pipe -O2 -I/usr/pkg/include/ncurses -I/usr/pkg/include/ncurses -c color.c --- sigdesc.h --- /bin/gawk -f ./sigconv.awk /dev/null >sigdesc.h --- 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] 1411 | 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:21: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] 359 | while ((i = getopt(ac, av, "CDSITbcinquvs:d:U:o:")) != EOF) | ^~~~~~ top.c:429:66: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration] 429 | if ((delay = atoi(optarg)) < 0 || (delay == 0 && getuid() != 0)) | ^~~~~~ top.c:442:28: warning: implicit declaration of function 'nice' [-Wimplicit-function-declaration] 442 | (void) nice(-20); | ^~~~ top.c:835:24: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] 835 | (void) alarm((unsigned)delay); | ^~~~~ top.c:838:17: warning: implicit declaration of function 'pause' [-Wimplicit-function-declaration] 838 | pause(); | ^~~~~ top.c:862:25: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 862 | 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 commands.c: In function 'show_help': commands.c:238:5: warning: implicit declaration of function 'display_pager' [-Wimplicit-function-declaration] 238 | display_pager("Top version "); | ^~~~~~~~~~~~~ commands.c: In function 'kill_procs': commands.c:350:11: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration] 350 | uid = getuid(); | ^~~~~~ --- m_linux.o --- ./machine/m_linux.c:38:10: fatal error: asm/page.h: No such file or directory 38 | #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 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-el9-trunk-x86_64/sysutils/top *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/top