From owner-freebsd-pkg-fallout@freebsd.org Wed Feb 17 03:33:28 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 A99D452FF29 for ; Wed, 17 Feb 2021 03:33:28 +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 4DgNj44NMqz4gjt for ; Wed, 17 Feb 2021 03:33:28 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9655452FBB6; Wed, 17 Feb 2021 03:33:28 +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 961CB52FF28 for ; Wed, 17 Feb 2021 03:33:28 +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 4DgNj43tbQz4gtl; Wed, 17 Feb 2021 03:33:28 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy16.nyi.freebsd.org (beefy16.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:e3]) (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 784831DABF; Wed, 17 Feb 2021 03:33:28 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy16.nyi.freebsd.org (localhost [127.0.0.1]) by beefy16.nyi.freebsd.org (8.16.1/8.16.1) with ESMTP id 11H3XSa9078180; Wed, 17 Feb 2021 03:33:28 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy16.nyi.freebsd.org (8.16.1/8.16.1/Submit) id 11H3XSGn078179; Wed, 17 Feb 2021 03:33:28 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Wed, 17 Feb 2021 03:33:28 GMT From: pkg-fallout@FreeBSD.org Message-Id: <202102170333.11H3XSGn078179@beefy16.nyi.freebsd.org> To: zi@FreeBSD.org Subject: [package - 130releng-amd64-default][net-mgmt/sdig] Failed for sdig-0.45_1 in build Cc: pkg-fallout@FreeBSD.org 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: Wed, 17 Feb 2021 03:33:28 -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://beefy16.nyi.freebsd.org/data/130releng-amd64-default/565379/logs/sdig-0.45_1.log Build URL: http://beefy16.nyi.freebsd.org/build.html?mastername=130releng-amd64-default&build=565379 Log: =>> Building net-mgmt/sdig build started at Wed Feb 17 03:33:19 UTC 2021 port directory: /usr/ports/net-mgmt/sdig package name: sdig-0.45_1 building for: FreeBSD 130releng-amd64-default-job-02 13.0-BETA2 FreeBSD 13.0-BETA2 1300139 amd64 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: 1400000 Jail OSVERSION: 1300139 Job Id: 02 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1300139 UNAME_v=FreeBSD 13.0-BETA2 1300139 UNAME_r=13.0-BETA2 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 USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-8-gaf08dbda MASTERMNT=/usr/local/poudriere/data/.m/130releng-amd64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/130releng-amd64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=130releng-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/130releng-amd64-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="cc" CFLAGS="-O2 -pipe -D_WANT_SEMUN -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="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--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### /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_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/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_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=amd64 OPSYS=FreeBSD _OSRELEASE=13.0-BETA2 OSREL=13.0 OSVERSION=1300139 PYTHONBASE=/usr/local HAVE_COMPAT_IA32_KERN=YES CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.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.2.txz [130releng-amd64-default-job-02] Installing pkg-1.16.2... [130releng-amd64-default-job-02] Extracting pkg-1.16.2: .......... 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. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by sdig-0.45_1 for building ===> Extracting for sdig-0.45_1 => SHA256 Checksum OK for sdig-0.45.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for sdig-0.45_1 ===> Applying FreeBSD patches for sdig-0.45_1 from /usr/ports/net-mgmt/sdig/files =========================================================================== =================================================== ===> sdig-0.45_1 depends on package: gmake>=4.3 - not found ===> Installing existing package /packages/All/gmake-4.3_2.txz [130releng-amd64-default-job-02] Installing gmake-4.3_2... [130releng-amd64-default-job-02] `-- Installing gettext-runtime-0.21... [130releng-amd64-default-job-02] | `-- Installing indexinfo-0.3.1... [130releng-amd64-default-job-02] | `-- Extracting indexinfo-0.3.1: .... done [130releng-amd64-default-job-02] `-- Extracting gettext-runtime-0.21: .......... done [130releng-amd64-default-job-02] Extracting gmake-4.3_2: .......... done ===> sdig-0.45_1 depends on package: gmake>=4.3 - found ===> Returning to build of sdig-0.45_1 =========================================================================== =================================================== ===> sdig-0.45_1 depends on shared library: libnetsnmp.so - not found ===> Installing existing package /packages/All/net-snmp-5.9_2,1.txz [130releng-amd64-default-job-02] Installing net-snmp-5.9_2,1... [130releng-amd64-default-job-02] `-- Installing perl5-5.32.1_1... [130releng-amd64-default-job-02] `-- Extracting perl5-5.32.1_1: .......... done [130releng-amd64-default-job-02] Extracting net-snmp-5.9_2,1: .......... done ===== Message from net-snmp-5.9_2,1: 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... 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for style of include used by gmake... GNU checking dependency style of cc... gcc3 checking how to run the C preprocessor... 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=amd64-portbld-freebsd13.0 build_alias=amd64-portbld-freebsd13.0 CC=cc CFLAGS=-O2 -pipe -D_WANT_SEMUN -fstack-protector-strong -fno-strict-aliasing LDFLAGS= -fstack-protector-strong LIBS= CPPFLAGS= CPP=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... 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking how to run the C preprocessor... 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' 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 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 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 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 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; ^ ~~~~~~~~~ snmpget.c:136:4: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] response->variables->val_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. mv -f .deps/snmpget.Tpo .deps/snmpget.Po 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 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+0x40) ld: error: duplicate symbol: result >>> defined at sdig.c >>> sdig.o:(result) >>> defined at output.c >>> output.o:(.bss+0x610) 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