=> 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 --- --- color.o --- gcc -DHAVE_CONFIG_H -I. -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -c color.c --- display.o --- gcc -DHAVE_CONFIG_H -I. -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -c display.c --- sigdesc.h --- /usr/bin/awk -f ./sigconv.awk /usr/include/sys/signal.h >sigdesc.h --- screen.o --- gcc -DHAVE_CONFIG_H -I. -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -c screen.c --- top.o --- gcc -DHAVE_CONFIG_H -I. -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -c top.c --- display.o --- 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 --- top.o --- 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 --- gcc -DHAVE_CONFIG_H -I. -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -c username.c --- utils.o --- gcc -DHAVE_CONFIG_H -I. -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -c utils.c --- version.o --- gcc -DHAVE_CONFIG_H -I. -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -c version.c --- m_netbsd20.o --- gcc -I/usr/include -DHAVE_CONFIG_H -I. -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -o m_netbsd20.o -c ./machine/m_netbsd20.c --- commands.o --- gcc -DHAVE_CONFIG_H -I. -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -c commands.c 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 --- m_netbsd20.o --- ./machine/m_netbsd20.c: In function 'get_system_info': ./machine/m_netbsd20.c:336:3: warning: implicit declaration of function 'quit'; did you mean 'qdiv'? [-Wimplicit-function-declaration] quit(23); ^~~~ qdiv ./machine/m_netbsd20.c: In function 'get_process_info': ./machine/m_netbsd20.c:486:46: error: 'LSDEAD' undeclared (first use in this function); did you mean 'SDEAD'? if (pp->p_stat != LSZOMB && pp->p_stat != LSDEAD && ^~~~~~ SDEAD ./machine/m_netbsd20.c:486:46: note: each undeclared identifier is reported only once for each function it appears in *** [m_netbsd20.o] Error code 1 make: stopped in /tmp/sysutils/top/work/top-3.6.1 1 error make: stopped in /tmp/sysutils/top/work/top-3.6.1 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/top *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/top