Date: Thu, 12 Nov 2020 21:31:24 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [package - head-armv7-default][net-mgmt/sdig] Failed for sdig-0.45_1 in build Message-ID: <202011122131.0ACLVOVi030216@beefy12.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://beefy12.nyi.freebsd.org/data/head-armv7-default/p554719_s367522/logs/sdig-0.45_1.log Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-armv7-default&build=p554719_s367522 Log: =>> Building net-mgmt/sdig build started at Thu Nov 12 21:30:58 UTC 2020 port directory: /usr/ports/net-mgmt/sdig package name: sdig-0.45_1 building for: FreeBSD head-armv7-default-job-08 13.0-CURRENT FreeBSD 13.0-CURRENT 1300128 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-5-gc81843e5 Host OSVERSION: 1300121 Jail OSVERSION: 1300128 Job Id: 08 !!! Jail is newer than host. (Jail: 1300128, 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=armv7 UNAME_m=arm ABI_FILE=/usr/lib/crt1.o OSVERSION=1300128 UNAME_v=FreeBSD 13.0-CURRENT 1300128 UNAME_r=13.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root 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-5-gc81843e5 MASTERMNT=/usr/local/poudriere/data/.m/head-armv7-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen PWD=/usr/local/poudriere/data/.m/head-armv7-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-armv7-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-armv7-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=armv7 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: armv7-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: armv7-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: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _OBJC_ALTCCVERSION_9d218390=none ARCH=armv7 OPSYS=FreeBSD _OSRELEASE=13.0-CURRENT OSREL=13.0 OSVERSION=1300128 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++ AS=/nxb-bin/usr/bin/as 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-- =======================<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.15.10.txz [head-armv7-default-job-08] Installing pkg-1.15.10... [head-armv7-default-job-08] Extracting pkg-1.15.10: .......... 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>============================ =========================================================================== <snip> 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 =========================================================================== =======================<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... /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 =========================================================================== =======================<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=armv7-portbld-freebsd13.0 build_alias=armv7-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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011122131.0ACLVOVi030216>