Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 2021 00:31:38 GMT
From:      pkg-fallout@FreeBSD.org
To:        zi@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 13stable-amd64-default][net-mgmt/sdig] Failed for sdig-0.45_1 in build
Message-ID:  <202102010031.1110VcW7019591@beefy16.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/13stable-amd64-default/563269/logs/sdig-0.45_1.log
Build URL:      http://beefy16.nyi.freebsd.org/build.html?mastername=13stable-amd64-default&build=563269
Log:

=>> Building net-mgmt/sdig
build started at Mon Feb  1 00:31:28 UTC 2021
port directory: /usr/ports/net-mgmt/sdig
package name: sdig-0.45_1
building for: FreeBSD 13stable-amd64-default-job-03 13.0-ALPHA3 FreeBSD 13.0-ALPHA3 1300137 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: 1300137
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300137
UNAME_v=FreeBSD 13.0-ALPHA3 1300137
UNAME_r=13.0-ALPHA3
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/13stable-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/13stable-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=13stable-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/13stable-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-ALPHA3
OSREL=13.0
OSVERSION=1300137
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--
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   sdig-0.45_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.2.txz
[13stable-amd64-default-job-03] Installing pkg-1.16.2...
[13stable-amd64-default-job-03] 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
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by sdig-0.45_1 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by sdig-0.45_1 for building
=> SHA256 Checksum OK for sdig-0.45.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> 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.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for sdig-0.45_1
===>  Applying FreeBSD patches for sdig-0.45_1 from /usr/ports/net-mgmt/sdig/files
===========================================================================
=======================<phase: build-depends  >============================
===>   sdig-0.45_1 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.txz
[13stable-amd64-default-job-03] Installing gmake-4.3_2...
[13stable-amd64-default-job-03] `-- Installing gettext-runtime-0.21...
[13stable-amd64-default-job-03] |   `-- Installing indexinfo-0.3.1...
[13stable-amd64-default-job-03] |   `-- Extracting indexinfo-0.3.1: .... done
[13stable-amd64-default-job-03] `-- Extracting gettext-runtime-0.21: .......... done
[13stable-amd64-default-job-03] 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
===========================================================================
=======================<phase: lib-depends    >============================
===>   sdig-0.45_1 depends on shared library: libnetsnmp.so - not found
===>   Installing existing package /packages/All/net-snmp-5.9_1,1.txz
[13stable-amd64-default-job-03] Installing net-snmp-5.9_1,1...
[13stable-amd64-default-job-03] `-- Installing perl5-5.32.1_1...
[13stable-amd64-default-job-03] `-- Extracting perl5-5.32.1_1: .......... done
[13stable-amd64-default-job-03] Extracting net-snmp-5.9_1,1: .......... done
=====
Message from net-snmp-5.9_1,1:

<snip>

     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
===========================================================================
=======================<phase: configure      >============================
===>  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
===========================================================================
=======================<phase: build          >============================
===>  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102010031.1110VcW7019591>