=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for top-3.6.1nb1 --- color.o --- --- sigdesc.h --- --- display.o --- --- screen.o --- --- top.o --- --- username.o --- --- utils.o --- --- version.o --- --- color.o --- clang -DHAVE_CONFIG_H -I. -I. -O2 -I/usr/include -I/usr/include -c color.c --- sigdesc.h --- /usr/bin/awk -f ./sigconv.awk /usr/include/sys/signal.h >sigdesc.h --- display.o --- clang -DHAVE_CONFIG_H -I. -I. -O2 -I/usr/include -I/usr/include -c display.c --- screen.o --- clang -DHAVE_CONFIG_H -I. -I. -O2 -I/usr/include -I/usr/include -c screen.c --- username.o --- clang -DHAVE_CONFIG_H -I. -I. -O2 -I/usr/include -I/usr/include -c username.c --- utils.o --- clang -DHAVE_CONFIG_H -I. -I. -O2 -I/usr/include -I/usr/include -c utils.c --- version.o --- clang -DHAVE_CONFIG_H -I. -I. -O2 -I/usr/include -I/usr/include -c version.c --- top.o --- clang -DHAVE_CONFIG_H -I. -I. -O2 -I/usr/include -I/usr/include -c top.c --- m_netbsd20.o --- clang -I/usr/include -DHAVE_CONFIG_H -I. -I. -O2 -I/usr/include -o m_netbsd20.o -c ./machine/m_netbsd20.c --- display.o --- display.c:159:13: warning: expression result unused [-Wunused-value] dprintf("display_clear\n"); ^~~~~~~~~~~~~~~~~ display.c:186:13: warning: expression result unused [-Wunused-value] dprintf("display_move(%d, %d): curr_x %d, curr_y %d\n", x, y, curr_x, curr_y); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:186:61: warning: expression result unused [-Wunused-value] dprintf("display_move(%d, %d): curr_x %d, curr_y %d\n", x, y, curr_x, curr_y); ^ display.c:186:64: warning: expression result unused [-Wunused-value] dprintf("display_move(%d, %d): curr_x %d, curr_y %d\n", x, y, curr_x, curr_y); ^ display.c:186:67: warning: expression result unused [-Wunused-value] dprintf("display_move(%d, %d): curr_x %d, curr_y %d\n", x, y, curr_x, curr_y); ^~~~~~ display.c:186:75: warning: expression result unused [-Wunused-value] dprintf("display_move(%d, %d): curr_x %d, curr_y %d\n", x, y, curr_x, curr_y); ^~~~~~ display.c:277:13: warning: expression result unused [-Wunused-value] dprintf("display_write(%d, %d, %d, %d, \"%s\")\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:278:6: warning: expression result unused [-Wunused-value] x, y, newcolor, eol, new); ^ display.c:278:9: warning: expression result unused [-Wunused-value] x, y, newcolor, eol, new); ^ display.c:278:12: warning: expression result unused [-Wunused-value] x, y, newcolor, eol, new); ^~~~~~~~ display.c:278:22: warning: expression result unused [-Wunused-value] x, y, newcolor, eol, new); ^~~ display.c:278:27: warning: expression result unused [-Wunused-value] x, y, newcolor, eol, new); ^~~ display.c:360:10: warning: expression result unused [-Wunused-value] dprintf("display_write: clear-eol (bufp = \"%s\")\n", bufp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:360:56: warning: expression result unused [-Wunused-value] dprintf("display_write: clear-eol (bufp = \"%s\")\n", bufp); ^~~~ display.c:432:10: warning: expression result unused [-Wunused-value] dprintf("display_cte: clearing\n"); ^~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1391:13: warning: expression result unused [-Wunused-value] dprintf("clear_message: msglen = %d, x = %d, y = %d\n", msglen, curr_x, curr_y); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1391:61: warning: expression result unused [-Wunused-value] dprintf("clear_message: msglen = %d, x = %d, y = %d\n", msglen, curr_x, curr_y); ^~~~~~ display.c:1391:69: warning: expression result unused [-Wunused-value] dprintf("clear_message: msglen = %d, x = %d, y = %d\n", msglen, curr_x, curr_y); ^~~~~~ display.c:1391:77: warning: expression result unused [-Wunused-value] dprintf("clear_message: msglen = %d, x = %d, y = %d\n", msglen, curr_x, curr_y); ^~~~~~ display.c:1411:29: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] while ((fflush(stdout), read(0, ptr, 1) > 0)) ^ display.c:1495:12: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] (void) read(0, &ch, 1); ^ display.c:1514:10: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] (void) read(0, &readch, 1); ^ --- top.o --- top.c:359:14: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration] while ((i = getopt(ac, av, "CDSITbcinquvs:d:U:o:")) != EOF) ^ top.c:429:52: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if ((delay = atoi(optarg)) < 0 || (delay == 0 && getuid() != 0)) --- commands.o --- clang -DHAVE_CONFIG_H -I. -I. -O2 -I/usr/include -I/usr/include -c commands.c --- m_netbsd20.o --- ./machine/m_netbsd20.c:336:3: warning: implicit declaration of function 'quit' is invalid in C99 [-Wimplicit-function-declaration] quit(23); ^ ./machine/m_netbsd20.c:360:3: warning: implicit declaration of function 'quit' is invalid in C99 [-Wimplicit-function-declaration] quit(23); ^ ./machine/m_netbsd20.c:449:3: warning: implicit declaration of function 'quit' is invalid in C99 [-Wimplicit-function-declaration] quit(23); ^ ./machine/m_netbsd20.c:456:4: warning: implicit declaration of function 'quit' is invalid in C99 [-Wimplicit-function-declaration] quit(23); ^ ./machine/m_netbsd20.c:486:46: error: use of undeclared identifier 'LSDEAD' if (pp->p_stat != LSZOMB && pp->p_stat != LSDEAD && ^ 4 warnings and 1 error generated. --- top.o --- ^ top.c:442:14: warning: implicit declaration of function 'nice' is invalid in C99 [-Wimplicit-function-declaration] (void) nice(-20); ^ top.c:835:10: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] (void) alarm((unsigned)delay); ^ top.c:838:3: warning: implicit declaration of function 'pause' is invalid in C99 [-Wimplicit-function-declaration] pause(); ^ top.c:862:11: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if (read(0, &ch, 1) != 1) ^ top.c:966:29: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if ((delay = i) == 0 && getuid() != 0) ^ --- m_netbsd20.o --- *** [m_netbsd20.o] Error code 1 make: stopped in /data/scratch/sysutils/top/work/top-3.6.1 --- commands.o --- commands.c:238:5: warning: implicit declaration of function 'display_pager' is invalid in C99 [-Wimplicit-function-declaration] display_pager("Top version "); ^ commands.c:350:11: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] uid = getuid(); ^ commands.c:435:11: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] uid = getuid(); ^ --- display.o --- 22 warnings generated. --- commands.o --- 3 warnings generated. --- top.o --- 7 warnings generated. 1 error make: stopped in /data/scratch/sysutils/top/work/top-3.6.1 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/sysutils/top *** Error code 1 Stop. make: stopped in /data/pkgsrc/sysutils/top