=> Building sysutils/atop Started : Friday, 21 FEB 2020 at 09:29:05 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1432.g9cd86-DEVELOPMENT #23: Thu Feb 13 14:43:04 PST 2020 root@sting.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.7-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for atop-2.0.2.b3_3: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/sysutils/atop XDG_CONFIG_HOME=/construction/sysutils/atop HOME=/construction/sysutils/atop TMPDIR="/tmp" PATH=/construction/sysutils/atop/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/sysutils/atop XDG_CONFIG_HOME=/construction/sysutils/atop HOME=/construction/sysutils/atop TMPDIR="/tmp" PATH=/construction/sysutils/atop/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/sysutils/atop/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- LOGDIR="/var/log/atop" PORTDOCS="" OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/atop" EXAMPLESDIR="share/examples/atop" DATADIR="share/atop" WWWDIR="www/atop" ETCDIR="etc/atop" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- LOGDIR="/var/log/atop" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/atop DOCSDIR=/usr/local/share/doc/atop EXAMPLESDIR=/usr/local/share/examples/atop WWWDIR=/usr/local/www/atop ETCDIR=/usr/local/etc/atop -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=15 DPORTS_BUILDER= yes DISABLE_LICENSES= yes DEFAULT_VERSIONS= ssl=openssl FORCE_PACKAGE= yes DEVELOPER= yes HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.30.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500709 OSVERSION=9999999 OSREL=5.7 _OSRELEASE=5.7-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> atop-2.0.2.b3_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.12.0_1.txz Installing pkg-1.12.0_1... Extracting pkg-1.12.0_1: .......... done ===> atop-2.0.2.b3_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of atop-2.0.2.b3_3 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by atop-2.0.2.b3_3 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by atop-2.0.2.b3_3 for building => SHA256 Checksum OK for samm-git-atop-freebsd-2.0.2.b3-atop-2.0.2.fbsd.beta3_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by atop-2.0.2.b3_3 for building ===> Extracting for atop-2.0.2.b3_3 => SHA256 Checksum OK for samm-git-atop-freebsd-2.0.2.b3-atop-2.0.2.fbsd.beta3_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for atop-2.0.2.b3_3 ===> Applying ports patches for atop-2.0.2.b3_3 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> atop-2.0.2.b3_3 depends on file: /usr/local/lib/libncurses.so.6 - not found ===> Installing existing package /packages/All/ncurses-6.1.20190525.txz Installing ncurses-6.1.20190525... Extracting ncurses-6.1.20190525: .......... done ===> atop-2.0.2.b3_3 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Returning to build of atop-2.0.2.b3_3 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for atop-2.0.2.b3_3 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for atop-2.0.2.b3_3 --- atop.o --- --- version.o --- --- various.o --- --- deviate.o --- --- procdbase.o --- --- acctproc.o --- --- photoproc.o --- --- photosyst.o --- --- rawlog.o --- --- ifprop.o --- --- parseable.o --- --- showgeneric.o --- --- showlinux.o --- --- showsys.o --- --- showprocs.o --- --- atop.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -DFREEBSD -c atop.c --- version.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -DFREEBSD -c version.c --- various.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -DFREEBSD -c various.c --- deviate.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -DFREEBSD -c deviate.c --- procdbase.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -DFREEBSD -c procdbase.c --- acctproc.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -DFREEBSD -c acctproc.c --- photoproc.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -DFREEBSD -c photoproc.c --- photosyst.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -DFREEBSD -c photosyst.c --- rawlog.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -DFREEBSD -c rawlog.c --- ifprop.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -DFREEBSD -c ifprop.c --- parseable.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -DFREEBSD -c parseable.c --- showgeneric.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -DFREEBSD -c showgeneric.c --- showlinux.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -DFREEBSD -c showlinux.c --- showsys.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -DFREEBSD -c showsys.c --- showprocs.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -DFREEBSD -c showprocs.c --- procdbase.o --- procdbase.c:61:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: procdbase.c,v 1.8 2010/04/23 12:19:35 gerlof Exp $"; ^~~~~ --- acctproc.o --- In file included from acctproc.c:135: acctproc.h:147:8: error: redefinition of 'struct acct' struct acct { ^~~~ In file included from acctproc.h:53, from acctproc.c:135: /usr/include/sys/acct.h:53:8: note: originally defined here struct acct { ^~~~ In file included from acctproc.c:135: acctproc.h:161:2: error: unknown type name '__dev_t' __dev_t ac_tty; /* controlling tty */ ^~~~~~~ acctproc.h:165:3: error: unknown type name '__dev_t' __dev_t ac_align; /* force v1 compatible alignment */ ^~~~~~~ --- various.o --- In file included from various.c:118: acctproc.h:147:8: error: redefinition of 'struct acct' struct acct { ^~~~ In file included from acctproc.h:53, from various.c:118: /usr/include/sys/acct.h:53:8: note: originally defined here struct acct { ^~~~ In file included from various.c:118: acctproc.h:161:2: error: unknown type name '__dev_t' __dev_t ac_tty; /* controlling tty */ ^~~~~~~ acctproc.h:165:3: error: unknown type name '__dev_t' __dev_t ac_align; /* force v1 compatible alignment */ ^~~~~~~ --- acctproc.o --- acctproc.c:116:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: acctproc.c,v 1.28 2010/04/23 12:20:19 gerlof Exp $"; ^~~~~ *** [acctproc.o] Error code 1 make[1]: stopped in /construction/sysutils/atop/atop-freebsd-atop-2.0.2.fbsd.beta3 --- ifprop.o --- ifprop.c: In function 'link_speed': ifprop.c:108:5: error: duplicate case value case IFM_10G_LR: ^~~~ ifprop.c:102:5: note: previously used here case IFM_HPNA_1: ^~~~ --- atop.o --- In file included from atop.c:294: acctproc.h:147:8: error: redefinition of 'struct acct' struct acct { ^~~~ In file included from acctproc.h:53, from atop.c:294: /usr/include/sys/acct.h:53:8: note: originally defined here struct acct { ^~~~ In file included from atop.c:294: acctproc.h:161:2: error: unknown type name '__dev_t' __dev_t ac_tty; /* controlling tty */ ^~~~~~~ acctproc.h:165:3: error: unknown type name '__dev_t' __dev_t ac_align; /* force v1 compatible alignment */ ^~~~~~~ --- various.o --- various.c: In function 'cleanstop': various.c:574:1: warning: type of 'exitcode' defaults to 'int' [-Wimplicit-int] cleanstop(exitcode) ^~~~~~~~~ At top level: various.c:101:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: various.c,v 1.21 2010/11/12 06:16:16 gerlof Exp $"; ^~~~~ --- ifprop.o --- *** [ifprop.o] Error code 1 make[1]: stopped in /construction/sysutils/atop/atop-freebsd-atop-2.0.2.fbsd.beta3 --- various.o --- *** [various.o] Error code 1 make[1]: stopped in /construction/sysutils/atop/atop-freebsd-atop-2.0.2.fbsd.beta3 --- rawlog.o --- rawlog.c:138:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: rawlog.c,v 1.32 2010/11/26 06:06:35 gerlof Exp $"; ^~~~~ --- photoproc.o --- photoproc.c: In function 'proccmd': photoproc.c:397:12: error: 'struct kinfo_proc' has no member named 'ki_flag'; did you mean 'kp_flags'? ((pp->ki_flag & P_SYSTEM ) || (pp->ki_flag & P_KTHREAD))) ^~~~~~~ kp_flags photoproc.c:397:41: error: 'struct kinfo_proc' has no member named 'ki_flag'; did you mean 'kp_flags'? ((pp->ki_flag & P_SYSTEM ) || (pp->ki_flag & P_KTHREAD))) ^~~~~~~ kp_flags photoproc.c:397:51: error: 'P_KTHREAD' undeclared (first use in this function); did you mean 'RFTHREAD'? ((pp->ki_flag & P_SYSTEM ) || (pp->ki_flag & P_KTHREAD))) ^~~~~~~~~ RFTHREAD photoproc.c:397:51: note: each undeclared identifier is reported only once for each function it appears in photoproc.c:399:56: error: 'struct kinfo_proc' has no member named 'ki_comm'; did you mean 'kp_comm'? snprintf(curtask->gen.cmdline, CMDLEN-1, "{%s}", pp->ki_comm); ^~~~~~~ kp_comm photoproc.c: In function 'procthr': photoproc.c:407:14: error: 'struct kinfo_proc' has no member named 'ki_ocomm'; did you mean 'kp_comm'? strlen(pp->ki_ocomm) ? pp->ki_ocomm : pp->ki_comm); ^~~~~~~~ kp_comm photoproc.c:407:30: error: 'struct kinfo_proc' has no member named 'ki_ocomm'; did you mean 'kp_comm'? strlen(pp->ki_ocomm) ? pp->ki_ocomm : pp->ki_comm); ^~~~~~~~ kp_comm photoproc.c:407:45: error: 'struct kinfo_proc' has no member named 'ki_comm'; did you mean 'kp_comm'? strlen(pp->ki_ocomm) ? pp->ki_ocomm : pp->ki_comm); ^~~~~~~ kp_comm photoproc.c: In function 'photoproc': photoproc.c:463:13: error: 'struct kinfo_proc' has no member named 'ki_pid'; did you mean 'kp_pid'? if(pbase->ki_pid) { ^~~~~~ kp_pid photoproc.c:464:33: error: 'struct kinfo_proc' has no member named 'ki_flag'; did you mean 'kp_flags'? if (filterkernel && ((pbase->ki_flag & P_SYSTEM ) || (pbase->ki_flag & P_KTHREAD))) ^~~~~~~ kp_flags photoproc.c:464:65: error: 'struct kinfo_proc' has no member named 'ki_flag'; did you mean 'kp_flags'? if (filterkernel && ((pbase->ki_flag & P_SYSTEM ) || (pbase->ki_flag & P_KTHREAD))) ^~~~~~~ kp_flags photoproc.c:464:75: error: 'P_KTHREAD' undeclared (first use in this function); did you mean 'RFTHREAD'? if (filterkernel && ((pbase->ki_flag & P_SYSTEM ) || (pbase->ki_flag & P_KTHREAD))) ^~~~~~~~~ RFTHREAD photoproc.c:472:24: error: 'struct kinfo_proc' has no member named 'ki_pid'; did you mean 'kp_pid'? if(prev_pid==pbase->ki_pid && prev_curtask) { ^~~~~~ kp_pid --- photosyst.o --- In file included from photosyst.c:289: /usr/include/netinet/tcp_var.h:339:8: error: redefinition of 'struct tcp_stats' struct tcp_stats { ^~~~~~~~~ In file included from photosyst.h:24, from photosyst.c:177: netstats.h:62:8: note: originally defined here struct tcp_stats { ^~~~~~~~~ --- photoproc.o --- photoproc.c:494:19: error: 'struct kinfo_proc' has no member named 'ki_stat'; did you mean 'kp_stat'? switch (pbase->ki_stat) { ^~~~~~~ kp_stat photoproc.c:495:13: error: 'SRUN' undeclared (first use in this function); did you mean 'LSRUN'? case SRUN: ^~~~ LSRUN photoproc.c:500:9: error: 'SSLEEP' undeclared (first use in this function); did you mean 'LSSLEEP'? case SSLEEP: ^~~~~~ LSSLEEP photoproc.c:503:9: error: 'SLOCK' undeclared (first use in this function); did you mean 'F_LOCK'? case SLOCK: ^~~~~ F_LOCK photoproc.c:508:9: error: 'SWAIT' undeclared (first use in this function) case SWAIT: ^~~~~ photoproc.c:523:20: error: 'struct kinfo_proc' has no member named 'ki_pid'; did you mean 'kp_pid'? prev_pid=pbase->ki_pid; ^~~~~~ kp_pid photoproc.c: In function 'countprocs': photoproc.c:576:16: error: 'struct kinfo_proc' has no member named 'ki_pid'; did you mean 'kp_pid'? if(pbase->ki_pid) { ^~~~~~ kp_pid photoproc.c:577:32: error: 'struct kinfo_proc' has no member named 'ki_flag'; did you mean 'kp_flags'? if (filterkernel && ((pbase->ki_flag & P_SYSTEM ) || (pbase->ki_flag & P_KTHREAD))) ^~~~~~~ kp_flags photoproc.c:577:64: error: 'struct kinfo_proc' has no member named 'ki_flag'; did you mean 'kp_flags'? if (filterkernel && ((pbase->ki_flag & P_SYSTEM ) || (pbase->ki_flag & P_KTHREAD))) ^~~~~~~ kp_flags photoproc.c:577:74: error: 'P_KTHREAD' undeclared (first use in this function); did you mean 'RFTHREAD'? if (filterkernel && ((pbase->ki_flag & P_SYSTEM ) || (pbase->ki_flag & P_KTHREAD))) ^~~~~~~~~ RFTHREAD photoproc.c: In function 'procstat': photoproc.c:674:12: error: 'struct kinfo_proc' has no member named 'ki_flag'; did you mean 'kp_flags'? if ((pp->ki_flag & P_SYSTEM ) || (pp->ki_flag & P_KTHREAD)) ^~~~~~~ kp_flags photoproc.c:674:41: error: 'struct kinfo_proc' has no member named 'ki_flag'; did you mean 'kp_flags'? if ((pp->ki_flag & P_SYSTEM ) || (pp->ki_flag & P_KTHREAD)) ^~~~~~~ kp_flags photoproc.c:674:51: error: 'P_KTHREAD' undeclared (first use in this function); did you mean 'RFTHREAD'? if ((pp->ki_flag & P_SYSTEM ) || (pp->ki_flag & P_KTHREAD)) ^~~~~~~~~ RFTHREAD photoproc.c:676:54: error: 'struct kinfo_proc' has no member named 'ki_comm'; did you mean 'kp_comm'? snprintf(curtask->gen.name,PNAMLEN-1, "{%s}", pp->ki_comm); ^~~~~~~ kp_comm photoproc.c:678:35: error: 'struct kinfo_proc' has no member named 'ki_comm'; did you mean 'kp_comm'? strncpy(curtask->gen.name, pp->ki_comm, PNAMLEN-1); ^~~~~~~ kp_comm photoproc.c:682:60: error: 'struct kinfo_proc' has no member named 'ki_ocomm'; did you mean 'kp_comm'? snprintf(curtask->gen.name,PNAMLEN-1, "[%s]", strlen(pp->ki_ocomm) ? pp->ki_ocomm : pp->ki_comm); ^~~~~~~~ kp_comm photoproc.c:682:76: error: 'struct kinfo_proc' has no member named 'ki_ocomm'; did you mean 'kp_comm'? snprintf(curtask->gen.name,PNAMLEN-1, "[%s]", strlen(pp->ki_ocomm) ? pp->ki_ocomm : pp->ki_comm); ^~~~~~~~ kp_comm photoproc.c:682:91: error: 'struct kinfo_proc' has no member named 'ki_comm'; did you mean 'kp_comm'? snprintf(curtask->gen.name,PNAMLEN-1, "[%s]", strlen(pp->ki_ocomm) ? pp->ki_ocomm : pp->ki_comm); ^~~~~~~ kp_comm photoproc.c:688:10: warning: implicit declaration of function 'PRI_BASE'; did you mean 'CR4_PAE'? [-Wimplicit-function-declaration] switch (PRI_BASE(pp->ki_pri.pri_class)) { ^~~~~~~~ CR4_PAE photoproc.c:688:23: error: 'struct kinfo_proc' has no member named 'ki_pri'; did you mean 'kp_pid'? switch (PRI_BASE(pp->ki_pri.pri_class)) { ^~~~~~ kp_pid --- photosyst.o --- In file included from /usr/include/sys/proc.h:57, from /usr/include/sys/user.h:71, from photosyst.c:298: /usr/include/sys/eventvar.h:60:17: error: field 'kq_kqinfo' has incomplete type struct kqinfo kq_kqinfo; ^~~~~~~~~ In file included from /usr/include/sys/proc.h:61, from /usr/include/sys/user.h:71, from photosyst.c:298: /usr/include/sys/varsym.h:37:17: error: field 'vx_lock' has incomplete type struct lock vx_lock; ^~~~~~~ --- photoproc.o --- photoproc.c:689:11: error: 'PRI_REALTIME' undeclared (first use in this function); did you mean 'RTP_PRIO_REALTIME'? case PRI_REALTIME: ^~~~~~~~~~~~ RTP_PRIO_REALTIME photoproc.c:690:34: error: 'struct kinfo_proc' has no member named 'ki_flag'; did you mean 'kp_flags'? curtask->cpu.rtprio = ((pp->ki_flag & P_KTHREAD) ? pp->ki_pri.pri_native : ^~~~~~~ kp_flags photoproc.c:690:61: error: 'struct kinfo_proc' has no member named 'ki_pri'; did you mean 'kp_pid'? curtask->cpu.rtprio = ((pp->ki_flag & P_KTHREAD) ? pp->ki_pri.pri_native : ^~~~~~ kp_pid photoproc.c:691:15: error: 'struct kinfo_proc' has no member named 'ki_pri'; did you mean 'kp_pid'? pp->ki_pri.pri_user) - PRI_MIN_REALTIME; ^~~~~~ kp_pid --- showsys.o --- showsys.c:71:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "XXXXXX"; ^~~~~ --- showprocs.o --- showprocs.c:100:11: fatal error: sys/priority.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. --- photoproc.o --- photoproc.c:691:34: error: 'PRI_MIN_REALTIME' undeclared (first use in this function); did you mean 'RTP_PRIO_REALTIME'? pp->ki_pri.pri_user) - PRI_MIN_REALTIME; ^~~~~~~~~~~~~~~~ RTP_PRIO_REALTIME --- showprocs.o --- *** [showprocs.o] Error code 1 make[1]: stopped in /construction/sysutils/atop/atop-freebsd-atop-2.0.2.fbsd.beta3 --- photoproc.o --- photoproc.c:693:11: error: 'PRI_IDLE' undeclared (first use in this function); did you mean 'CP_IDLE'? case PRI_IDLE: ^~~~~~~~ CP_IDLE photoproc.c:694:34: error: 'struct kinfo_proc' has no member named 'ki_flag'; did you mean 'kp_flags'? curtask->cpu.rtprio = ((pp->ki_flag & P_KTHREAD) ? pp->ki_pri.pri_native : ^~~~~~~ kp_flags photoproc.c:694:61: error: 'struct kinfo_proc' has no member named 'ki_pri'; did you mean 'kp_pid'? curtask->cpu.rtprio = ((pp->ki_flag & P_KTHREAD) ? pp->ki_pri.pri_native : ^~~~~~ kp_pid photoproc.c:695:15: error: 'struct kinfo_proc' has no member named 'ki_pri'; did you mean 'kp_pid'? pp->ki_pri.pri_user) - PRI_MIN_IDLE; ^~~~~~ kp_pid --- photosyst.o --- In file included from /usr/include/sys/user.h:71, from photosyst.c:298: /usr/include/sys/proc.h:117:14: error: field 'pg_lock' has incomplete type struct lock pg_lock; ^~~~~~~ --- deviate.o --- deviate.c:171:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: deviate.c,v 1.45 2010/10/23 14:02:03 gerlof Exp $"; ^~~~~ --- photosyst.o --- /usr/include/sys/proc.h:282:15: error: field 'p_klist' has incomplete type struct klist p_klist; /* knotes attached to this process */ ^~~~~~~ --- photoproc.o --- photoproc.c:695:34: error: 'PRI_MIN_IDLE' undeclared (first use in this function); did you mean 'PRIO_MIN'? pp->ki_pri.pri_user) - PRI_MIN_IDLE; ^~~~~~~~~~~~ PRIO_MIN photoproc.c:706:14: error: 'struct kinfo_proc' has no member named 'ki_stat'; did you mean 'kp_stat'? switch (pp->ki_stat) { ^~~~~~~ kp_stat photoproc.c:707:7: error: 'SRUN' undeclared (first use in this function); did you mean 'LSRUN'? case SRUN: ^~~~ LSRUN photoproc.c:710:7: error: 'SLOCK' undeclared (first use in this function); did you mean 'F_LOCK'? case SLOCK: /* Blocked on a lock. */ ^~~~~ F_LOCK photoproc.c:713:7: error: 'SSLEEP' undeclared (first use in this function); did you mean 'LSSLEEP'? case SSLEEP: ^~~~~~ LSSLEEP photoproc.c:725:7: error: 'SWAIT' undeclared (first use in this function) case SWAIT: ^~~~~ photoproc.c:730:30: error: 'struct kinfo_proc' has no member named 'ki_pid'; did you mean 'kp_pid'? curtask->gen.tgid = pp->ki_pid; /* FreeBSD is not using thread groups */ ^~~~~~ kp_pid photoproc.c:731:41: error: 'struct kinfo_proc' has no member named 'ki_pid'; did you mean 'kp_pid'? curtask->gen.pid = (isproc) ? pp->ki_pid : pp->ki_tid; ^~~~~~ kp_pid photoproc.c:731:54: error: 'struct kinfo_proc' has no member named 'ki_tid'; did you mean 'kp_uid'? curtask->gen.pid = (isproc) ? pp->ki_pid : pp->ki_tid; ^~~~~~ kp_uid photoproc.c:732:30: error: 'struct kinfo_proc' has no member named 'ki_ppid'; did you mean 'kp_ppid'? curtask->gen.ppid = pp->ki_ppid; ^~~~~~~ kp_ppid photoproc.c:733:30: error: 'struct kinfo_proc' has no member named 'ki_ruid'; did you mean 'kp_ruid'? curtask->gen.ruid = pp->ki_ruid; ^~~~~~~ kp_ruid photoproc.c:734:30: error: 'struct kinfo_proc' has no member named 'ki_uid'; did you mean 'kp_uid'? curtask->gen.euid = pp->ki_uid;; ^~~~~~ kp_uid photoproc.c:735:30: error: 'struct kinfo_proc' has no member named 'ki_svuid'; did you mean 'kp_svuid'? curtask->gen.suid = pp->ki_svuid;; ^~~~~~~~ kp_svuid photoproc.c:737:30: error: 'struct kinfo_proc' has no member named 'ki_rgid'; did you mean 'kp_rgid'? curtask->gen.rgid = pp->ki_rgid; ^~~~~~~ kp_rgid photoproc.c:738:30: error: 'struct kinfo_proc' has no member named 'ki_pgid'; did you mean 'kp_pgid'? curtask->gen.egid = pp->ki_pgid; ^~~~~~~ kp_pgid photoproc.c:739:30: error: 'struct kinfo_proc' has no member named 'ki_svgid'; did you mean 'kp_svgid'? curtask->gen.sgid = pp->ki_svgid; ^~~~~~~~ kp_svgid photoproc.c:741:30: error: 'struct kinfo_proc' has no member named 'ki_jid'; did you mean 'kp_uid'? curtask->gen.jid = pp->ki_jid; ^~~~~~ kp_uid photoproc.c:742:41: error: 'struct kinfo_proc' has no member named 'ki_numthreads'; did you mean 'kp_nthreads'? curtask->gen.nthr = (isproc) ? pp->ki_numthreads : 1; ^~~~~~~~~~~~~ kp_nthreads photoproc.c:745:30: error: 'struct kinfo_proc' has no member named 'ki_start'; did you mean 'kp_start'? curtask->gen.btime = pp->ki_start.tv_sec; ^~~~~~~~ kp_start photoproc.c:748:38: error: 'struct kinfo_proc' has no member named 'ki_rusage' curtask->cpu.utime = ((count_t)pp->ki_rusage.ru_utime.tv_sec + (float)pp->ki_rusage.ru_utime.tv_usec/1000000) * hertz; ^~ photoproc.c:748:77: error: 'struct kinfo_proc' has no member named 'ki_rusage' curtask->cpu.utime = ((count_t)pp->ki_rusage.ru_utime.tv_sec + (float)pp->ki_rusage.ru_utime.tv_usec/1000000) * hertz; ^~ photoproc.c:749:38: error: 'struct kinfo_proc' has no member named 'ki_rusage' curtask->cpu.stime = ((count_t)pp->ki_rusage.ru_stime.tv_sec + (float)pp->ki_rusage.ru_stime.tv_usec/1000000) * hertz; ^~ photoproc.c:749:77: error: 'struct kinfo_proc' has no member named 'ki_rusage' curtask->cpu.stime = ((count_t)pp->ki_rusage.ru_stime.tv_sec + (float)pp->ki_rusage.ru_stime.tv_usec/1000000) * hertz; ^~ photoproc.c:750:30: error: 'struct kinfo_proc' has no member named 'ki_pri'; did you mean 'kp_pid'? curtask->cpu.prio = pp->ki_pri.pri_level - PZERO; /* from freebsd top */ ^~~~~~ kp_pid photoproc.c:750:49: error: 'PZERO' undeclared (first use in this function); did you mean 'NZERO'? curtask->cpu.prio = pp->ki_pri.pri_level - PZERO; /* from freebsd top */ ^~~~~ NZERO photoproc.c:751:30: error: 'struct kinfo_proc' has no member named 'ki_nice'; did you mean 'kp_nice'? curtask->cpu.nice = pp->ki_nice; ^~~~~~~ kp_nice photoproc.c:752:30: error: 'struct kinfo_proc' has no member named 'ki_pri'; did you mean 'kp_pid'? curtask->cpu.policy = pp->ki_pri.pri_class; // it is different value then in Linux ^~~~~~ kp_pid --- photosyst.o --- In file included from /usr/include/vm/vm_map.h:96, from /usr/include/sys/user.h:86, from photosyst.c:298: /usr/include/vm/vm_object.h:138:14: error: field 'backing_lk' has incomplete type struct lock backing_lk; /* lock for backing_list only */ ^~~~~~~~~~ --- photoproc.o --- photoproc.c:753:33: error: 'struct kinfo_proc' has no member named 'ki_lastcpu' curtask->cpu.curcpu = (int)pp->ki_lastcpu; ^~ photoproc.c:755:28: error: 'struct kinfo_proc' has no member named 'ki_rusage' curtask->mem.minflt = pp->ki_rusage.ru_minflt; ^~ photoproc.c:756:28: error: 'struct kinfo_proc' has no member named 'ki_rusage' curtask->mem.majflt = pp->ki_rusage.ru_majflt; ^~ photoproc.c:757:30: error: 'struct kinfo_proc' has no member named 'ki_tsize'; did you mean 'kp_tsid'? curtask->mem.vexec = pp->ki_tsize * (pagesize/1024); ^~~~~~~~ kp_tsid photoproc.c:758:30: error: 'struct kinfo_proc' has no member named 'ki_size'; did you mean 'kp_sid'? curtask->mem.vmem = pp->ki_size / 1024; ^~~~~~~ kp_sid photoproc.c:759:30: error: 'struct kinfo_proc' has no member named 'ki_rssize'; did you mean 'kp_vm_rssize'? curtask->mem.rmem = pp->ki_rssize * (pagesize/1024); ^~~~~~~~~ kp_vm_rssize photoproc.c:762:30: error: 'struct kinfo_proc' has no member named 'ki_dsize'; did you mean 'kp_sid'? curtask->mem.vdata = pp->ki_dsize * (pagesize/1024); ^~~~~~~~ kp_sid photoproc.c:763:30: error: 'struct kinfo_proc' has no member named 'ki_ssize'; did you mean 'kp_sid'? curtask->mem.vstack = pp->ki_ssize * (pagesize/1024); ^~~~~~~~ kp_sid photoproc.c:764:31: error: 'struct kinfo_proc' has no member named 'ki_size'; did you mean 'kp_sid'? curtask->mem.vlibs = (pp->ki_size/pagesize - pp->ki_dsize - ^~~~~~~ kp_sid photoproc.c:764:54: error: 'struct kinfo_proc' has no member named 'ki_dsize'; did you mean 'kp_sid'? curtask->mem.vlibs = (pp->ki_size/pagesize - pp->ki_dsize - ^~~~~~~~ kp_sid photoproc.c:765:7: error: 'struct kinfo_proc' has no member named 'ki_ssize'; did you mean 'kp_sid'? pp->ki_ssize -pp->ki_tsize - 1) * (pagesize/1024); // from linprocfs.c ^~~~~~~~ kp_sid photoproc.c:765:21: error: 'struct kinfo_proc' has no member named 'ki_tsize'; did you mean 'kp_tsid'? pp->ki_ssize -pp->ki_tsize - 1) * (pagesize/1024); // from linprocfs.c ^~~~~~~~ kp_tsid photoproc.c:768:28: error: 'struct kinfo_proc' has no member named 'ki_rusage' curtask->dsk.rio = pp->ki_rusage.ru_inblock; /* Available data is in blocks only */ ^~ photoproc.c:769:28: error: 'struct kinfo_proc' has no member named 'ki_rusage' curtask->dsk.rsz = pp->ki_rusage.ru_inblock; ^~ photoproc.c:770:28: error: 'struct kinfo_proc' has no member named 'ki_rusage' curtask->dsk.wio = pp->ki_rusage.ru_oublock; ^~ photoproc.c:771:28: error: 'struct kinfo_proc' has no member named 'ki_rusage' curtask->dsk.wsz = pp->ki_rusage.ru_oublock; ^~ --- photosyst.o --- In file included from /usr/include/sys/user.h:86, from photosyst.c:298: /usr/include/vm/vm_map.h:346:15: error: field 'lock' has incomplete type struct lock lock; /* Lock for map data */ ^~~~ --- photoproc.o --- At top level: photoproc.c:139:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: photoproc.c,v 1.33 2010/04/23 12:19:35 gerlof Exp $"; ^~~~~ --- photosyst.o --- photosyst.c: In function 'photosyst': photosyst.c:1295:21: warning: implicit declaration of function 'devstat_getnumdevs'; did you mean 'getnumdevs'? [-Wimplicit-function-declaration] if ((num_devices = devstat_getnumdevs(NULL)) > 0) { ^~~~~~~~~~~~~~~~~~ getnumdevs --- showlinux.o --- showlinux.c: In function 'compcpu': showlinux.c:1742:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (acpu > bcpu) return -1; ^~ showlinux.c:1743:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return compmem(a, b); ^~~~~~ --- photosyst.o --- photosyst.c:1311:7: warning: implicit declaration of function 'devstat_getdevs' [-Wimplicit-function-declaration] if (devstat_getdevs(NULL, &cur_statinfo) == -1) ^~~~~~~~~~~~~~~ --- showlinux.o --- showlinux.c: In function 'compdsk': showlinux.c:1766:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (adsk > bdsk) return -1; ^~ showlinux.c:1767:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return compcpu(a, b); ^~~~~~ showlinux.c: In function 'compmem': --- showgeneric.o --- showgeneric.c: In function 'printg': --- showlinux.o --- showlinux.c:1777:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (amem > bmem) return -1; ^~ showlinux.c:1778:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ --- showgeneric.o --- showgeneric.c:2068:3: warning: 'vwprintw' is deprecated [-Wdeprecated-declarations] vwprintw(stdscr, (char *) format, args); ^~~~~~~~ --- atop.o --- atop.c: In function 'main': atop.c:668:6: warning: implicit declaration of function 'devstat_checkversion'; did you mean 'checkversion'? [-Wimplicit-function-declaration] if (devstat_checkversion(NULL) < 0) ^~~~~~~~~~~~~~~~~~~~ checkversion --- showlinux.o --- showlinux.c: In function 'compnet': showlinux.c:1794:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (anet > bnet) return -1; ^~ showlinux.c:1795:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return compcpu(a, b); ^~~~~~ showlinux.c: In function 'compusr': showlinux.c:1805:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (uida < uidb) return -1; ^~ showlinux.c:1806:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ --- showgeneric.o --- In file included from showgeneric.c:276: /usr/local/include/ncurses/curses.h:816:28: note: declared here extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *,va_list) GCC_DEPRECATED(use vw_printw); /* implemented */ ^~~~~~~~ --- showlinux.o --- showlinux.c: In function 'cpucompar': showlinux.c:1827:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (aidle > bidle) return 1; ^~ showlinux.c:1828:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ showlinux.c: In function 'diskcompar': showlinux.c:1838:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (amsio > bmsio) return -1; ^~ showlinux.c:1839:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ showlinux.c: In function 'intfcompar': showlinux.c:1887:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (afactor > bfactor) return -1; ^~ showlinux.c:1888:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ showlinux.c:1894:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((arbyte + asbyte) > (brbyte + bsbyte)) return -1; ^~ showlinux.c:1895:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ --- photosyst.o --- photosyst.c:1323:7: warning: implicit declaration of function 'devstat_selectdevs'; did you mean 'selectdevs'? [-Wimplicit-function-declaration] if (devstat_selectdevs(&dev_select, &num_selected, ^~~~~~~~~~~~~~~~~~ selectdevs photosyst.c:1338:20: error: 'struct statinfo' has no member named 'snap_time'; did you mean 'busy_time'? last_statinfo.snap_time = cur_statinfo.snap_time; ^~~~~~~~~ busy_time photosyst.c:1338:45: error: 'struct statinfo' has no member named 'snap_time'; did you mean 'busy_time'? last_statinfo.snap_time = cur_statinfo.snap_time; ^~~~~~~~~ busy_time photosyst.c:1378:23: error: 'struct statinfo' has no member named 'snap_time'; did you mean 'busy_time'? etime = cur_statinfo.snap_time - last_statinfo.snap_time; ^~~~~~~~~ busy_time photosyst.c:1378:49: error: 'struct statinfo' has no member named 'snap_time'; did you mean 'busy_time'? etime = cur_statinfo.snap_time - last_statinfo.snap_time; ^~~~~~~~~ busy_time --- atop.o --- At top level: atop.c:274:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: atop.c,v 1.49 2010/10/23 14:01:00 gerlof Exp $"; ^~~~~ *** [atop.o] Error code 1 make[1]: stopped in /construction/sysutils/atop/atop-freebsd-atop-2.0.2.fbsd.beta3 --- photosyst.o --- photosyst.c:1398:10: warning: implicit declaration of function 'devstat_compute_statistics'; did you mean 'compute_stats'? [-Wimplicit-function-declaration] if (devstat_compute_statistics(&cur_statinfo.dinfo->devices[di], ^~~~~~~~~~~~~~~~~~~~~~~~~~ compute_stats --- showlinux.o --- At top level: showlinux.c:265:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: showlinux.c,v 1.70 2010/10/23 14:04:12 gerlof Exp $"; ^~~~~ --- photoproc.o --- *** [photoproc.o] Error code 1 make[1]: stopped in /construction/sysutils/atop/atop-freebsd-atop-2.0.2.fbsd.beta3 --- showgeneric.o --- At top level: showgeneric.c:258:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: showgeneric.c,v 1.71 2010/10/25 19:08:32 gerlof Exp $"; ^~~~~ --- photosyst.o --- photosyst.c:1400:10: error: 'DSM_TOTAL_BYTES_READ' undeclared (first use in this function) DSM_TOTAL_BYTES_READ, &total_bytes_read, ^~~~~~~~~~~~~~~~~~~~ photosyst.c:1400:10: note: each undeclared identifier is reported only once for each function it appears in photosyst.c:1401:10: error: 'DSM_TOTAL_BYTES_WRITE' undeclared (first use in this function) DSM_TOTAL_BYTES_WRITE, &total_bytes_write, ^~~~~~~~~~~~~~~~~~~~~ photosyst.c:1402:10: error: 'DSM_TOTAL_TRANSFERS_READ' undeclared (first use in this function) DSM_TOTAL_TRANSFERS_READ, &total_transfers_read, ^~~~~~~~~~~~~~~~~~~~~~~~ photosyst.c:1403:10: error: 'DSM_TOTAL_TRANSFERS_WRITE' undeclared (first use in this function) DSM_TOTAL_TRANSFERS_WRITE, &total_transfers_write, ^~~~~~~~~~~~~~~~~~~~~~~~~ photosyst.c:1404:3: error: 'DSM_MS_PER_TRANSACTION' undeclared (first use in this function) DSM_MS_PER_TRANSACTION, &ms_per_transaction, ^~~~~~~~~~~~~~~~~~~~~~ photosyst.c:1405:3: error: 'DSM_BUSY_PCT' undeclared (first use in this function); did you mean 'DST_AUST'? DSM_BUSY_PCT, &busy_pct, ^~~~~~~~~~~~ DST_AUST photosyst.c:1406:3: error: 'DSM_QUEUE_LENGTH' undeclared (first use in this function); did you mean 'ISA_HOLE_LENGTH'? DSM_QUEUE_LENGTH, &queue_len, ^~~~~~~~~~~~~~~~ ISA_HOLE_LENGTH photosyst.c:1407:3: error: 'DSM_NONE' undeclared (first use in this function); did you mean 'DST_NONE'? DSM_NONE) != 0) ^~~~~~~~ DST_NONE photosyst.c:1477:16: error: storage size of 'ipstat' isn't known struct ipstat ipstat; ^~~~~~ photosyst.c:1561:24: error: storage size of 'tcpstat' isn't known struct tcpstat tcpstat; ^~~~~~~ photosyst.c:1599:66: error: dereferencing pointer to incomplete type 'struct xinpgen' for (ptr = (struct xinpgen *)(void *)((char *)xinpgen + xinpgen->xig_len); ^~ photosyst.c:1600:29: error: invalid application of 'sizeof' to incomplete type 'struct xinpgen' ptr->xig_len > sizeof(struct xinpgen); ^~~~~~ photosyst.c:1604:21: error: 'struct inpcb' has no member named 'inp_vflag'; did you mean 'inp_flags'? ((tp->xt_inp.inp_vflag & INP_IPV4) || (tp->xt_inp.inp_vflag & INP_IPV6)) == 0) ^~~~~~~~~ inp_flags photosyst.c:1604:33: error: 'INP_IPV4' undeclared (first use in this function); did you mean 'INP_ISIPV4'? ((tp->xt_inp.inp_vflag & INP_IPV4) || (tp->xt_inp.inp_vflag & INP_IPV6)) == 0) ^~~~~~~~ INP_ISIPV4 photosyst.c:1604:58: error: 'struct inpcb' has no member named 'inp_vflag'; did you mean 'inp_flags'? ((tp->xt_inp.inp_vflag & INP_IPV4) || (tp->xt_inp.inp_vflag & INP_IPV6)) == 0) ^~~~~~~~~ inp_flags photosyst.c:1604:70: error: 'INP_IPV6' undeclared (first use in this function); did you mean 'INP_ISIPV6'? ((tp->xt_inp.inp_vflag & INP_IPV4) || (tp->xt_inp.inp_vflag & INP_IPV6)) == 0) ^~~~~~~~ INP_ISIPV6 photosyst.c:1660:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=0; i <= ICMP6_MAXTYPE; i++) ^~~ photosyst.c:1663:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' si->net.icmpv6.Icmp6InErrors = icmp6stat.icp6s_badcode + icmp6stat.icp6s_tooshort + ^~ photosyst.c:1561:24: warning: unused variable 'tcpstat' [-Wunused-variable] struct tcpstat tcpstat; ^~~~~~~ photosyst.c:1477:16: warning: unused variable 'ipstat' [-Wunused-variable] struct ipstat ipstat; ^~~~~~ At top level: photosyst.c:152:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: photosyst.c,v 1.38 2010/11/19 07:40:40 gerlof Exp $"; ^~~~~ *** [photosyst.o] Error code 1 make[1]: stopped in /construction/sysutils/atop/atop-freebsd-atop-2.0.2.fbsd.beta3 --- rawlog.o --- rawlog.c: In function 'rawread': rawlog.c:525:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 236 [-Wformat-truncation=] snprintf(rawname, RAWNAMESZ, "%s/atop_%s", ^~ rawlog.c:527:5: savedname); ~~~~~~~~~ rawlog.c:525:4: note: 'snprintf' output between 21 and 276 bytes into a destination of size 256 snprintf(rawname, RAWNAMESZ, "%s/atop_%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BASEPATH, ~~~~~~~~~ savedname); ~~~~~~~~~~ rawlog.c:599:54: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 244 and 499 [-Wformat-truncation=] snprintf(command, sizeof command, "gunzip -c %s > %s", ^~ tmpname1, tmpname2); ~~~~~~~~ rawlog.c:599:3: note: 'snprintf' output between 14 and 524 bytes into a destination of size 512 snprintf(command, sizeof command, "gunzip -c %s > %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tmpname1, tmpname2); ~~~~~~~~~~~~~~~~~~~ --- showsys.o --- showsys.c: In function 'sysprt_NETNAME': showsys.c:1641:47: warning: '%3lld' directive output may be truncated writing between 3 and 18 bytes into a region of size 7 [-Wformat-truncation=] snprintf(buf, sizeof(buf)-1, "%-7.7s %3lld%%", ^~~~~ showsys.c:1641:39: note: directive argument in the range [-14757395258967641, 14757395258967641] snprintf(buf, sizeof(buf)-1, "%-7.7s %3lld%%", ^~~~~~~~~~~~~~~~ showsys.c:1641:10: note: 'snprintf' output between 13 and 28 bytes into a destination of size 15 snprintf(buf, sizeof(buf)-1, "%-7.7s %3lld%%", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sstat->intf.intf[as->index].name, busy); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ showsys.c: In function 'makenetspeed': showsys.c:1721:25: warning: '%4lld' directive writing between 4 and 18 bytes into a region of size 13 [-Wformat-overflow=] sprintf(buf+3, "%4lld %cbps", val, c); ^~~~~ showsys.c:1721:24: note: directive argument in the range [-73786976294838206, 73786976] sprintf(buf+3, "%4lld %cbps", val, c); ^~~~~~~~~~~~~ showsys.c:1721:9: note: 'sprintf' output between 10 and 24 bytes into a destination of size 13 sprintf(buf+3, "%4lld %cbps", val, c); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 errors make[1]: stopped in /construction/sysutils/atop/atop-freebsd-atop-2.0.2.fbsd.beta3 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /xports/sysutils/atop -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 21 FEB 2020 at 09:29:12 UTC Duration: 00:00:06