From owner-freebsd-pkg-fallout@freebsd.org Tue Jan 19 18:24:14 2021 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3E8124DA62B for ; Tue, 19 Jan 2021 18:24:14 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DKxrG1FjTz4VBj for ; Tue, 19 Jan 2021 18:24:14 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2A7974DAC0F; Tue, 19 Jan 2021 18:24:14 +0000 (UTC) Delivered-To: pkg-fallout@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2A3D84DAB8C for ; Tue, 19 Jan 2021 18:24:14 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DKxrG0kCkz4VQC for ; Tue, 19 Jan 2021 18:24:14 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy8.nyi.freebsd.org (beefy8.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:eb]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0BA712FED for ; Tue, 19 Jan 2021 18:24:14 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy8.nyi.freebsd.org (localhost [127.0.0.1]) by beefy8.nyi.freebsd.org (8.16.1/8.16.1) with ESMTP id 10JIOELb086355 for ; Tue, 19 Jan 2021 18:24:14 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy8.nyi.freebsd.org (8.16.1/8.16.1/Submit) id 10JIOE1X086354; Tue, 19 Jan 2021 18:24:14 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Tue, 19 Jan 2021 18:24:14 GMT From: pkg-fallout@FreeBSD.org Message-Id: <202101191824.10JIOE1X086354@beefy8.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - head-armv6-default][net-mgmt/sdig] Failed for sdig-0.45_1 in build X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2021 18:24:14 -0000 You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: zi@FreeBSD.org Last committer: brooks@FreeBSD.org Ident: $FreeBSD: head/net-mgmt/sdig/Makefile 463452 2018-03-02 22:34:53Z brooks $ Log URL: http://beefy8.nyi.freebsd.org/data/head-armv6-default/p561992_s368820/logs/sdig-0.45_1.log Build URL: http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p561992_s368820 Log: =>> Building net-mgmt/sdig build started at Tue Jan 19 18:23:43 UTC 2021 port directory: /usr/ports/net-mgmt/sdig package name: sdig-0.45_1 building for: FreeBSD head-armv6-default-job-02 13.0-CURRENT FreeBSD 13.0-CURRENT 1300132 arm maintained by: zi@FreeBSD.org Makefile ident: $FreeBSD: head/net-mgmt/sdig/Makefile 463452 2018-03-02 22:34:53Z brooks $ Poudriere version: 3.2.8-8-gaf08dbda Host OSVERSION: 1300121 Jail OSVERSION: 1300132 Job Id: 02 !!! Jail is newer than host. (Jail: 1300132, Host: 1300121) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=armv6 UNAME_m=arm ABI_FILE=/usr/lib/crt1.o OSVERSION=1300132 UNAME_v=FreeBSD 13.0-CURRENT 1300132 UNAME_r=13.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local QEMU_EMULATING=1 USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-8-gaf08dbda MASTERMNT=/usr/local/poudriere/data/.m/head-armv6-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-armv6-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- zi@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/sdig/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/sdig/work HOME=/wrkdirs/usr/ports/net-mgmt/sdig/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/sdig/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/sdig/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/sdig/work HOME=/wrkdirs/usr/ports/net-mgmt/sdig/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/sdig/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -D_WANT_SEMUN -fstack-protector-strong -fno-strict-aliasing " CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -D_WANT_SEMUN -fstack-protector-strong -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" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/sdig" EXAMPLESDIR="share/examples/sdig" DATADIR="share/sdig" WWWDIR="www/sdig" ETCDIR="etc/sdig" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/sdig DOCSDIR=/usr/local/share/doc/sdig EXAMPLESDIR=/usr/local/share/examples/sdig WWWDIR=/usr/local/www/sdig ETCDIR=/usr/local/etc/sdig --End SUB_LIST-- ---Begin make.conf--- .sinclude "/etc/make.nxb.conf" USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=arm MACHINE_ARCH=armv6 ARCH=${MACHINE_ARCH} #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_9d218390=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _ALTCCVERSION_9d218390=none _CXXINTERNAL_9c45a5b1=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_9d218390_58173849=yes CC_OUTPUT_9d218390_9bdba57c=yes CC_OUTPUT_9d218390_6a4fe7f5=yes CC_OUTPUT_9d218390_6bcac02b=yes CC_OUTPUT_9d218390_67d20829=yes CC_OUTPUT_9d218390_bfa62e83=yes CC_OUTPUT_9d218390_f0b4d593=yes CC_OUTPUT_9d218390_308abb44=yes CC_OUTPUT_9d218390_f00456e5=yes CC_OUTPUT_9d218390_65ad290d=yes CC_OUTPUT_9d218390_f2776b26=yes CC_OUTPUT_9d218390_b2657cc3=yes CC_OUTPUT_9d218390_380987f7=yes CC_OUTPUT_9d218390_160933ec=yes CC_OUTPUT_9d218390_fb62803b=yes _OBJC_CCVERSION_9d218390=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _OBJC_ALTCCVERSION_9d218390=none ARCH=armv6 OPSYS=FreeBSD _OSRELEASE=13.0-CURRENT OSREL=13.0 OSVERSION=1300132 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- ---Begin make.nxb.conf--- CC=/nxb-bin/usr/bin/cc CPP=/nxb-bin/usr/bin/cpp CXX=/nxb-bin/usr/bin/c++ NM=/nxb-bin/usr/bin/nm LD=/nxb-bin/usr/bin/ld OBJCOPY=/nxb-bin/usr/bin/objcopy SIZE=/nxb-bin/usr/bin/size STRIPBIN=/nxb-bin/usr/bin/strip SED=/nxb-bin/usr/bin/sed RANLIB=/nxb-bin/usr/bin/ranlib YACC=/nxb-bin/usr/bin/yacc MAKE=/nxb-bin/usr/bin/make STRINGS=/nxb-bin/usr/bin/strings AWK=/nxb-bin/usr/bin/awk FLEX=/nxb-bin/usr/bin/flex ---End make.nxb.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== =========================================================================== =================================================== ===> sdig-0.45_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.16.1.txz [head-armv6-default-job-02] Installing pkg-1.16.1... [head-armv6-default-job-02] Extracting pkg-1.16.1: .......... done ===> sdig-0.45_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of sdig-0.45_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by sdig-0.45_1 for building =========================================================================== =================================================== ===> Fetching all distfiles required by sdig-0.45_1 for building => SHA256 Checksum OK for sdig-0.45.tar.gz. =========================================================================== =================================================== to define default values (or to override the defaults). To avoid being prompted during the configuration process, you should (minimally) define the first two variables. (NET_SNMP_SYS_*) You may also define the following to avoid all interactive configuration: BATCH="yes" ===> sdig-0.45_1 depends on shared library: libnetsnmp.so - found (/usr/local/lib/libnetsnmp.so) ===> Returning to build of sdig-0.45_1 =========================================================================== =================================================== ===> Configuring for sdig-0.45_1 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes checking for gcc... /nxb-bin/usr/bin/cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /nxb-bin/usr/bin/cc accepts -g... yes checking for /nxb-bin/usr/bin/cc option to accept ISO C89... none needed checking for style of include used by gmake... GNU checking dependency style of /nxb-bin/usr/bin/cc... gcc3 checking how to run the C preprocessor... /nxb-bin/usr/bin/cpp checking for net-snmp-config... net-snmp-config checking for inet_pton in -lnsl... no checking for inet_aton... (cached) yes checking for inet_pton... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/config.h config.status: executing depfiles commands =========================================================================== =================================================== ===> Building for sdig-0.45_1 gmake[1]: Entering directory '/wrkdirs/usr/ports/net-mgmt/sdig/work/sdig-0.45' CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /wrkdirs/usr/ports/net-mgmt/sdig/work/sdig-0.45/missing --run aclocal-1.11 /wrkdirs/usr/ports/net-mgmt/sdig/work/sdig-0.45/missing: aclocal-1.11: not found WARNING: `aclocal-1.11' is missing on your system. You should only need it if you modified `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd . && /bin/sh /wrkdirs/usr/ports/net-mgmt/sdig/work/sdig-0.45/missing --run automake-1.11 --gnu /wrkdirs/usr/ports/net-mgmt/sdig/work/sdig-0.45/missing: automake-1.11: not found WARNING: `automake-1.11' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /wrkdirs/usr/ports/net-mgmt/sdig/work/sdig-0.45/missing --run autoconf /wrkdirs/usr/ports/net-mgmt/sdig/work/sdig-0.45/missing: autoconf: not found WARNING: `autoconf' is missing on your system. You should only need it if you modified `configure.in'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. /bin/sh ./config.status --recheck running CONFIG_SHELL=/bin/sh /bin/sh ./configure --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/share/info/ --build=armv6-portbld-freebsd13.0 build_alias=armv6-portbld-freebsd13.0 CC=/nxb-bin/usr/bin/cc CFLAGS=-O2 -pipe -D_WANT_SEMUN -fstack-protector-strong -fno-strict-aliasing LDFLAGS= -fstack-protector-strong LIBS= CPPFLAGS= CPP=/nxb-bin/usr/bin/cpp --no-create --no-recursion checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for gcc... /nxb-bin/usr/bin/cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /nxb-bin/usr/bin/cc accepts -g... yes checking for /nxb-bin/usr/bin/cc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of /nxb-bin/usr/bin/cc... gcc3 checking how to run the C preprocessor... /nxb-bin/usr/bin/cpp checking for net-snmp-config... net-snmp-config checking for inet_pton in -lnsl... no checking for inet_aton... yes checking for inet_pton... yes configure: creating ./config.status /bin/sh ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/config.h config.status: include/config.h is unchanged config.status: executing depfiles commands Making all in src gmake[2]: Entering directory '/wrkdirs/usr/ports/net-mgmt/sdig/work/sdig-0.45/src' /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing -std=c99 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing -std=c99 -Ufreebsd13 -Dfreebsd13=freebsd13 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -I/usr/local/lib/perl5/5.32/mach/CORE -I/usr/include -I. -I/usr/local/include -DCONFPATH=\"/usr/local/etc\" -O2 -pipe -D_WANT_SEMUN -fstack-protector-strong -fno-strict-aliasing -MT common.o -MD -MP -MF .deps/common.Tpo -c -o common.o common.c mv -f .deps/common.Tpo .deps/common.Po /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing -std=c99 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing -std=c99 -Ufreebsd13 -Dfreebsd13=freebsd13 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -I/usr/local/lib/perl5/5.32/mach/CORE -I/usr/include -I. -I/usr/local/include -DCONFPATH=\"/usr/local/etc\" -O2 -pipe -D_WANT_SEMUN -fstack-protector-strong -fno-strict-aliasing -MT sdig.o -MD -MP -MF .deps/sdig.Tpo -c -o sdig.o sdig.c sdig.c:87:36: warning: data argument not used by format string [-Wformat-extra-args] printf(", query forking capable", VERSION); ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./include/config.h:32:17: note: expanded from macro 'VERSION' #define VERSION "0.45cvs" ^ sdig.c:155:2: warning: implicit declaration of function 'loadconfig' is invalid in C99 [-Wimplicit-function-declaration] loadconfig(conf); ^ sdig.c:159:18: warning: implicit declaration of function 'output_sem_init' is invalid in C99 [-Wimplicit-function-declaration] if ( dofork ) { output_sem_init(); } ^ sdig.c:167:3: warning: implicit declaration of function 'resolvename' is invalid in C99 [-Wimplicit-function-declaration] resolvename(query); ^ sdig.c:180:4: warning: implicit declaration of function 'switchscan' is invalid in C99 [-Wimplicit-function-declaration] switchscan(query, pack_mac(stdmac)); ^ sdig.c:180:22: warning: implicit declaration of function 'pack_mac' is invalid in C99 [-Wimplicit-function-declaration] switchscan(query, pack_mac(stdmac)); ^ sdig.c:188:4: warning: implicit declaration of function 'switchscan' is invalid in C99 [-Wimplicit-function-declaration] switchscan(NULL, pack_mac(stdmac)); ^ sdig.c:188:21: warning: implicit declaration of function 'pack_mac' is invalid in C99 [-Wimplicit-function-declaration] switchscan(NULL, pack_mac(stdmac)); ^ sdig.c:197:3: warning: implicit declaration of function 'routerscan' is invalid in C99 [-Wimplicit-function-declaration] routerscan(query); ^ 9 warnings generated. mv -f .deps/sdig.Tpo .deps/sdig.Po /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing -std=c99 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing -std=c99 -Ufreebsd13 -Dfreebsd13=freebsd13 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -I/usr/local/lib/perl5/5.32/mach/CORE -I/usr/include -I. -I/usr/local/include -DCONFPATH=\"/usr/local/etc\" -O2 -pipe -D_WANT_SEMUN -fstack-protector-strong -fno-strict-aliasing -MT query.o -MD -MP -MF .deps/query.Tpo -c -o query.o query.c query.c:488:3: warning: implicit declaration of function 'output_sem_cleanup' is invalid in C99 [-Wimplicit-function-declaration] output_sem_cleanup(); ^ query.c:573:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] macaddr = findmac(ipaddr, rtr); ^ ~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. mv -f .deps/query.Tpo .deps/query.Po /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing -std=c99 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing -std=c99 -Ufreebsd13 -Dfreebsd13=freebsd13 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -I/usr/local/lib/perl5/5.32/mach/CORE -I/usr/include -I. -I/usr/local/include -DCONFPATH=\"/usr/local/etc\" -O2 -pipe -D_WANT_SEMUN -fstack-protector-strong -fno-strict-aliasing -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o config.c config.c:244:14: warning: implicit declaration of function 'ntohl' is invalid in C99 [-Wimplicit-function-declaration] tmp->addr = ntohl(inet_addr(addr)); ^ config.c:244:20: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration] tmp->addr = ntohl(inet_addr(addr)); ^ config.c:312:14: warning: implicit declaration of function 'ntohl' is invalid in C99 [-Wimplicit-function-declaration] tmp->addr = ntohl(inet_addr(addr)); ^ config.c:312:20: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration] tmp->addr = ntohl(inet_addr(addr)); ^ 4 warnings generated. mv -f .deps/config.Tpo .deps/config.Po /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing -std=c99 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing -std=c99 -Ufreebsd13 -Dfreebsd13=freebsd13 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -I/usr/local/lib/perl5/5.32/mach/CORE -I/usr/include -I. -I/usr/local/include -DCONFPATH=\"/usr/local/etc\" -O2 -pipe -D_WANT_SEMUN -fstack-protector-strong -fno-strict-aliasing -MT snmpget.o -MD -MP -MF .deps/snmpget.Tpo -c -o snmpget.o snmpget.c snmpget.c:57:20: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] session.community = community; ^ ~~~~~~~~~ 1 warning generated. mv -f .deps/snmpget.Tpo .deps/snmpget.Po /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing -std=c99 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing -std=c99 -Ufreebsd13 -Dfreebsd13=freebsd13 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -I/usr/local/lib/perl5/5.32/mach/CORE -I/usr/include -I. -I/usr/local/include -DCONFPATH=\"/usr/local/etc\" -O2 -pipe -D_WANT_SEMUN -fstack-protector-strong -fno-strict-aliasing -MT output.o -MD -MP -MF .deps/output.Tpo -c -o output.o output.c output.c:42:2: warning: implicit declaration of function 'debug' is invalid in C99 [-Wimplicit-function-declaration] debug(3, "output_sem_init: getting semaphore... sz=%d\n", sizeof(int)); ^ output.c:146:27: warning: format specifies type 'unsigned int' but the argument has type 'oid' (aka 'unsigned long') [-Wformat] j += sprintf(s+j, "%u", name[i]); ~~ ^~~~~~~ %lu output.c:180:2: warning: implicit declaration of function 'do_ifdescr' is invalid in C99 [-Wimplicit-function-declaration] do_ifdescr(sw, port); ^ 3 warnings generated. mv -f .deps/output.Tpo .deps/output.Po /nxb-bin/usr/bin/cc -O2 -pipe -I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing -std=c99 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing -std=c99 -Ufreebsd13 -Dfreebsd13=freebsd13 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -I/usr/local/lib/perl5/5.32/mach/CORE -I/usr/include -I. -I/usr/local/include -DCONFPATH=\"/usr/local/etc\" -O2 -pipe -D_WANT_SEMUN -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o sdig common.o sdig.o query.o config.o snmpget.o output.o -L/usr/lib -lm -lkvm -ldevstat -L/lib -L/usr/local/lib -L/usr/local/lib -lnetsnmp -lcrypto -lelf -lpkg -lssp_nonshared -lregex ld: error: duplicate symbol: result >>> defined at sdig.c >>> sdig.o:(result) >>> defined at query.c >>> query.o:(.bss+0x110) ld: error: duplicate symbol: result >>> defined at sdig.c >>> sdig.o:(result) >>> defined at config.c >>> config.o:(.bss+0x20) ld: error: duplicate symbol: result >>> defined at sdig.c >>> sdig.o:(result) >>> defined at output.c >>> output.o:(.bss+0x604) cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [Makefile:246: sdig] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/net-mgmt/sdig/work/sdig-0.45/src' gmake[1]: *** [Makefile:252: all-recursive] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/net-mgmt/sdig/work/sdig-0.45' *** Error code 1 Stop. make: stopped in /usr/ports/net-mgmt/sdig