Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Sep 2020 19:34:22 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv6-default][net-mgmt/openlldp] Failed for openlldp-0.4.a_1 in build
Message-ID:  <202009131934.08DJYM8q021453@beefy8.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:     ports@FreeBSD.org
Last committer: amdmi3@FreeBSD.org
Ident:          $FreeBSD: head/net-mgmt/openlldp/Makefile 394896 2015-08-20 16:06:38Z amdmi3 $
Log URL:        http://beefy8.nyi.freebsd.org/data/head-armv6-default/p548273_s365648/logs/openlldp-0.4.a_1.log
Build URL:      http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p548273_s365648
Log:

=>> Building net-mgmt/openlldp
build started at Sun Sep 13 19:34:07 UTC 2020
port directory: /usr/ports/net-mgmt/openlldp
package name: openlldp-0.4.a_1
building for: FreeBSD head-armv6-default-job-18 13.0-CURRENT FreeBSD 13.0-CURRENT 1300114 arm
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/net-mgmt/openlldp/Makefile 394896 2015-08-20 16:06:38Z amdmi3 $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300100
Jail OSVERSION: 1300114
Job Id: 18




!!! Jail is newer than host. (Jail: 1300114, Host: 1300100) !!!
!!! 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=1300114
UNAME_v=FreeBSD 13.0-CURRENT 1300114
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-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--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/openlldp/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/openlldp/work  HOME=/wrkdirs/usr/ports/net-mgmt/openlldp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/openlldp/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/openlldp/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/openlldp/work  HOME=/wrkdirs/usr/ports/net-mgmt/openlldp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/openlldp/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  -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 -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/openlldp"  EXAMPLESDIR="share/examples/openlldp"  DATADIR="share/openlldp"  WWWDIR="www/openlldp"  ETCDIR="etc/openlldp"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/openlldp DOCSDIR=/usr/local/share/doc/openlldp EXAMPLESDIR=/usr/local/share/examples/openlldp  WWWDIR=/usr/local/www/openlldp ETCDIR=/usr/local/etc/openlldp
--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-rc2-0-g414f32a9e86) 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-rc2-0-g414f32a9e86) 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-rc2-0-g414f32a9e86) 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=1300114
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   >============================
===>   NOTICE:

The openlldp port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===>  License BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   openlldp-0.4.a_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.15.4.txz
[head-armv6-default-job-18] Installing pkg-1.15.4...
[head-armv6-default-job-18] Extracting pkg-1.15.4: .......... done
===>   openlldp-0.4.a_1 depends on file: /usr/local/sbin/pkg - found
<snip>
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether byte ordering is bigendian... no
checking for native frame interface... bpf
checking for platform OS... 
checking for cfg_title in -lconfuse... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/platform/Makefile
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===>  Building for openlldp-0.4.a_1
Making all in src
Making all in platform
/nxb-bin/usr/bin/cc -DPACKAGE_NAME=\"OpenLLDP\" -DPACKAGE_TARNAME=\"openlldp\" -DPACKAGE_VERSION=\"0.4alpha\" -DPACKAGE_STRING=\"OpenLLDP\ 0.4alpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openlldp\" -DVERSION=\"0.4alpha\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__BSD__=1 -DFREEBSD=1 -I.  -I../.. -I../../src   -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT bpflib.o -MD -MP -MF .deps/bpflib.Tpo -c -o bpflib.o `test -f './framehandlers/bpf/bpflib.c' || echo './'`./framehandlers/bpf/bpflib.c
mv -f .deps/bpflib.Tpo .deps/bpflib.Po
/nxb-bin/usr/bin/cc -DPACKAGE_NAME=\"OpenLLDP\" -DPACKAGE_TARNAME=\"openlldp\" -DPACKAGE_VERSION=\"0.4alpha\" -DPACKAGE_STRING=\"OpenLLDP\ 0.4alpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openlldp\" -DVERSION=\"0.4alpha\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__BSD__=1 -DFREEBSD=1 -I.  -I../.. -I../../src   -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT lldp_bpf_framer.o -MD -MP -MF .deps/lldp_bpf_framer.Tpo -c -o lldp_bpf_framer.o `test -f 'framehandlers/bpf/lldp_bpf_framer.c' || echo './'`framehandlers/bpf/lldp_bpf_framer.c
framehandlers/bpf/lldp_bpf_framer.c:157:8: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
    if(!lldp_port->if_index > 0) {
       ^                    ~
framehandlers/bpf/lldp_bpf_framer.c:157:8: note: add parentheses after the '!' to evaluate the comparison first
    if(!lldp_port->if_index > 0) {
       ^
        (                      )
framehandlers/bpf/lldp_bpf_framer.c:157:8: note: add parentheses around left hand side expression to silence this warning
    if(!lldp_port->if_index > 0) {
       ^
       (                   )
framehandlers/bpf/lldp_bpf_framer.c:233:5: warning: implicit declaration of function '_getmac' is invalid in C99 [-Wimplicit-function-declaration]
    _getmac(lldp_port->source_mac, lldp_port->if_name);
    ^
framehandlers/bpf/lldp_bpf_framer.c:235:5: warning: implicit declaration of function '_getip' is invalid in C99 [-Wimplicit-function-declaration]
    _getip(lldp_port->source_ipaddr, lldp_port->if_name);
    ^
3 warnings generated.
mv -f .deps/lldp_bpf_framer.Tpo .deps/lldp_bpf_framer.Po
rm -f libplatform.a
ar cru libplatform.a bpflib.o  lldp_bpf_framer.o  
ranlib libplatform.a
/nxb-bin/usr/bin/cc -DPACKAGE_NAME=\"OpenLLDP\" -DPACKAGE_TARNAME=\"openlldp\" -DPACKAGE_VERSION=\"0.4alpha\" -DPACKAGE_STRING=\"OpenLLDP\ 0.4alpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openlldp\" -DVERSION=\"0.4alpha\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__BSD__=1 -DFREEBSD=1  -I.  -I.. -I../src    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT lldpneighbors.o -MD -MP -MF .deps/lldpneighbors.Tpo -c -o lldpneighbors.o lldpneighbors.c
mv -f .deps/lldpneighbors.Tpo .deps/lldpneighbors.Po
/nxb-bin/usr/bin/cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fstack-protector-strong -o lldpneighbors lldpneighbors.o   
/nxb-bin/usr/bin/cc -DPACKAGE_NAME=\"OpenLLDP\" -DPACKAGE_TARNAME=\"openlldp\" -DPACKAGE_VERSION=\"0.4alpha\" -DPACKAGE_STRING=\"OpenLLDP\ 0.4alpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openlldp\" -DVERSION=\"0.4alpha\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__BSD__=1 -DFREEBSD=1  -I.  -I.. -I../src  -I../src/tlv  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT lldpd-lldp_main.o -MD -MP -MF .deps/lldpd-lldp_main.Tpo -c -o lldpd-lldp_main.o `test -f 'lldp_main.c' || echo './'`lldp_main.c
lldp_main.c:189:32: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
        iface_list[IF_NAMESIZE - 1] = '\0';
                                      ^~~~
1 warning generated.
mv -f .deps/lldpd-lldp_main.Tpo .deps/lldpd-lldp_main.Po
/nxb-bin/usr/bin/cc -DPACKAGE_NAME=\"OpenLLDP\" -DPACKAGE_TARNAME=\"openlldp\" -DPACKAGE_VERSION=\"0.4alpha\" -DPACKAGE_STRING=\"OpenLLDP\ 0.4alpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openlldp\" -DVERSION=\"0.4alpha\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__BSD__=1 -DFREEBSD=1  -I.  -I.. -I../src  -I../src/tlv  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT lldpd-lldp_debug.o -MD -MP -MF .deps/lldpd-lldp_debug.Tpo -c -o lldpd-lldp_debug.o `test -f 'lldp_debug.c' || echo './'`lldp_debug.c
mv -f .deps/lldpd-lldp_debug.Tpo .deps/lldpd-lldp_debug.Po
/nxb-bin/usr/bin/cc -DPACKAGE_NAME=\"OpenLLDP\" -DPACKAGE_TARNAME=\"openlldp\" -DPACKAGE_VERSION=\"0.4alpha\" -DPACKAGE_STRING=\"OpenLLDP\ 0.4alpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openlldp\" -DVERSION=\"0.4alpha\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__BSD__=1 -DFREEBSD=1  -I.  -I.. -I../src  -I../src/tlv  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT lldpd-lldp_neighbor.o -MD -MP -MF .deps/lldpd-lldp_neighbor.Tpo -c -o lldpd-lldp_neighbor.o `test -f 'lldp_neighbor.c' || echo './'`lldp_neighbor.c
mv -f .deps/lldpd-lldp_neighbor.Tpo .deps/lldpd-lldp_neighbor.Po
/nxb-bin/usr/bin/cc -DPACKAGE_NAME=\"OpenLLDP\" -DPACKAGE_TARNAME=\"openlldp\" -DPACKAGE_VERSION=\"0.4alpha\" -DPACKAGE_STRING=\"OpenLLDP\ 0.4alpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openlldp\" -DVERSION=\"0.4alpha\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__BSD__=1 -DFREEBSD=1  -I.  -I.. -I../src  -I../src/tlv  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT lldpd-tlv.o -MD -MP -MF .deps/lldpd-tlv.Tpo -c -o lldpd-tlv.o `test -f 'tlv/tlv.c' || echo './'`tlv/tlv.c
tlv/tlv.c:51:2: warning: Write a test suite that will run all the possible combinations of decode [-W#warnings]
#warning Write a test suite that will run all the possible combinations of decode
 ^
tlv/tlv.c:323:4: warning: Not implemented [-W#warnings]
  #warning Not implemented
   ^
tlv/tlv.c:351:2: warning: - IANA_RESERVED_HIGH is defined as 65536, which is too big for uint8_t, so am I using the wrong type, or should it be 255? [-W#warnings]
#warning - IANA_RESERVED_HIGH is defined as 65536, which is too big for uint8_t, so am I using the wrong type, or should it be 255?
 ^
tlv/tlv.c:352:10: warning: overflow converting case value to switch condition type (65535 to 255) [-Wswitch]
    case IANA_RESERVED_HIGH:
         ^
./src/tlv/tlv.h:107:30: note: expanded from macro 'IANA_RESERVED_HIGH'
#define IANA_RESERVED_HIGH   65535
                             ^
4 warnings generated.
mv -f .deps/lldpd-tlv.Tpo .deps/lldpd-tlv.Po
/nxb-bin/usr/bin/cc -DPACKAGE_NAME=\"OpenLLDP\" -DPACKAGE_TARNAME=\"openlldp\" -DPACKAGE_VERSION=\"0.4alpha\" -DPACKAGE_STRING=\"OpenLLDP\ 0.4alpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openlldp\" -DVERSION=\"0.4alpha\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__BSD__=1 -DFREEBSD=1  -I.  -I.. -I../src  -I../src/tlv  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT lldpd-tlv_common.o -MD -MP -MF .deps/lldpd-tlv_common.Tpo -c -o lldpd-tlv_common.o `test -f 'tlv/tlv_common.c' || echo './'`tlv/tlv_common.c
tlv/tlv_common.c:77:2: warning: Do a full dump of the TLV here, so we can visually inspect it... [-W#warnings]
#warning Do a full dump of the TLV here, so we can visually inspect it...
 ^
1 warning generated.
mv -f .deps/lldpd-tlv_common.Tpo .deps/lldpd-tlv_common.Po
/nxb-bin/usr/bin/cc -DPACKAGE_NAME=\"OpenLLDP\" -DPACKAGE_TARNAME=\"openlldp\" -DPACKAGE_VERSION=\"0.4alpha\" -DPACKAGE_STRING=\"OpenLLDP\ 0.4alpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openlldp\" -DVERSION=\"0.4alpha\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__BSD__=1 -DFREEBSD=1  -I.  -I.. -I../src  -I../src/tlv  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT lldpd-tlv_000ecf.o -MD -MP -MF .deps/lldpd-tlv_000ecf.Tpo -c -o lldpd-tlv_000ecf.o `test -f 'tlv/oui/tlv_000ecf.c' || echo './'`tlv/oui/tlv_000ecf.c
mv -f .deps/lldpd-tlv_000ecf.Tpo .deps/lldpd-tlv_000ecf.Po
/nxb-bin/usr/bin/cc -DPACKAGE_NAME=\"OpenLLDP\" -DPACKAGE_TARNAME=\"openlldp\" -DPACKAGE_VERSION=\"0.4alpha\" -DPACKAGE_STRING=\"OpenLLDP\ 0.4alpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openlldp\" -DVERSION=\"0.4alpha\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__BSD__=1 -DFREEBSD=1  -I.  -I.. -I../src  -I../src/tlv  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT lldpd-tlv_00120f.o -MD -MP -MF .deps/lldpd-tlv_00120f.Tpo -c -o lldpd-tlv_00120f.o `test -f 'tlv/oui/tlv_00120f.c' || echo './'`tlv/oui/tlv_00120f.c
mv -f .deps/lldpd-tlv_00120f.Tpo .deps/lldpd-tlv_00120f.Po
/nxb-bin/usr/bin/cc -DPACKAGE_NAME=\"OpenLLDP\" -DPACKAGE_TARNAME=\"openlldp\" -DPACKAGE_VERSION=\"0.4alpha\" -DPACKAGE_STRING=\"OpenLLDP\ 0.4alpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openlldp\" -DVERSION=\"0.4alpha\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__BSD__=1 -DFREEBSD=1  -I.  -I.. -I../src  -I../src/tlv  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT lldpd-tlv_0012bb.o -MD -MP -MF .deps/lldpd-tlv_0012bb.Tpo -c -o lldpd-tlv_0012bb.o `test -f 'tlv/oui/tlv_0012bb.c' || echo './'`tlv/oui/tlv_0012bb.c
mv -f .deps/lldpd-tlv_0012bb.Tpo .deps/lldpd-tlv_0012bb.Po
/nxb-bin/usr/bin/cc -DPACKAGE_NAME=\"OpenLLDP\" -DPACKAGE_TARNAME=\"openlldp\" -DPACKAGE_VERSION=\"0.4alpha\" -DPACKAGE_STRING=\"OpenLLDP\ 0.4alpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openlldp\" -DVERSION=\"0.4alpha\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__BSD__=1 -DFREEBSD=1  -I.  -I.. -I../src  -I../src/tlv  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT lldpd-tlv_0080c2.o -MD -MP -MF .deps/lldpd-tlv_0080c2.Tpo -c -o lldpd-tlv_0080c2.o `test -f 'tlv/oui/tlv_0080c2.c' || echo './'`tlv/oui/tlv_0080c2.c
mv -f .deps/lldpd-tlv_0080c2.Tpo .deps/lldpd-tlv_0080c2.Po
/nxb-bin/usr/bin/cc -DPACKAGE_NAME=\"OpenLLDP\" -DPACKAGE_TARNAME=\"openlldp\" -DPACKAGE_VERSION=\"0.4alpha\" -DPACKAGE_STRING=\"OpenLLDP\ 0.4alpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openlldp\" -DVERSION=\"0.4alpha\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__BSD__=1 -DFREEBSD=1  -I.  -I.. -I../src  -I../src/tlv  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT lldpd-tx_sm.o -MD -MP -MF .deps/lldpd-tx_sm.Tpo -c -o lldpd-tx_sm.o `test -f 'tx_sm.c' || echo './'`tx_sm.c
tx_sm.c:72:2: warning: Write a test that sends a frame with a source & dest of 0180c2000e...  [-W#warnings]
#warning Write a test that sends a frame with a source & dest of 0180c2000e... 
 ^
tx_sm.c:264:2: warning: ChEAT [-W#warnings]
#warning ChEAT
 ^
2 warnings generated.
mv -f .deps/lldpd-tx_sm.Tpo .deps/lldpd-tx_sm.Po
/nxb-bin/usr/bin/cc -DPACKAGE_NAME=\"OpenLLDP\" -DPACKAGE_TARNAME=\"openlldp\" -DPACKAGE_VERSION=\"0.4alpha\" -DPACKAGE_STRING=\"OpenLLDP\ 0.4alpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openlldp\" -DVERSION=\"0.4alpha\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__BSD__=1 -DFREEBSD=1  -I.  -I.. -I../src  -I../src/tlv  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT lldpd-rx_sm.o -MD -MP -MF .deps/lldpd-rx_sm.Tpo -c -o lldpd-rx_sm.o `test -f 'rx_sm.c' || echo './'`rx_sm.c
rx_sm.c:222:2: warning: We should actually discard this frame and print out an error... [-W#warnings]
#warning We should actually discard this frame and print out an error...
 ^
rx_sm.c:223:2: warning: Write a unit test to stress this [-W#warnings]
#warning Write a unit test to stress this
 ^
rx_sm.c:425:10: warning: We need to verify whether this is actually the case. [-W#warnings]
        #warning We need to verify whether this is actually the case.
         ^
3 warnings generated.
mv -f .deps/lldpd-rx_sm.Tpo .deps/lldpd-rx_sm.Po
/nxb-bin/usr/bin/cc -DPACKAGE_NAME=\"OpenLLDP\" -DPACKAGE_TARNAME=\"openlldp\" -DPACKAGE_VERSION=\"0.4alpha\" -DPACKAGE_STRING=\"OpenLLDP\ 0.4alpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openlldp\" -DVERSION=\"0.4alpha\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__BSD__=1 -DFREEBSD=1  -I.  -I.. -I../src  -I../src/tlv  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT lldpd-msap.o -MD -MP -MF .deps/lldpd-msap.Tpo -c -o lldpd-msap.o `test -f 'msap.c' || echo './'`msap.c
msap.c:57:3: warning: This is leaking, but I can't figure out why it's crashing when uncommented. [-W#warnings]
        #warning This is leaking, but I can't figure out why it's crashing when uncommented.
         ^
msap.c:84:2: warning: We are leaking memory... need to dispose of the msap_cache under certain circumstances :/ [-W#warnings]
#warning We are leaking memory... need to dispose of the msap_cache under certain circumstances :/
 ^
2 warnings generated.
mv -f .deps/lldpd-msap.Tpo .deps/lldpd-msap.Po
/nxb-bin/usr/bin/cc -I../src/tlv  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong -o lldpd lldpd-lldp_main.o  lldpd-lldp_debug.o lldpd-lldp_neighbor.o  lldpd-tlv.o lldpd-tlv_common.o  lldpd-tlv_000ecf.o lldpd-tlv_00120f.o  lldpd-tlv_0012bb.o lldpd-tlv_0080c2.o  lldpd-tx_sm.o lldpd-rx_sm.o  lldpd-msap.o   platform/libplatform.a 
ld: error: duplicate symbol: lldp_systemdesc
>>> defined at lldp_main.c
>>>            lldpd-lldp_main.o:(lldp_systemdesc)
>>> defined at lldp_neighbor.c
>>>            lldpd-lldp_neighbor.o:(.bss+0x0)

ld: error: duplicate symbol: lldp_systemname
>>> defined at lldp_main.c
>>>            lldpd-lldp_main.o:(lldp_systemname)
>>> defined at lldp_neighbor.c
>>>            lldpd-lldp_neighbor.o:(.bss+0x200)

ld: error: duplicate symbol: local
>>> defined at lldp_main.c
>>>            lldpd-lldp_main.o:(local)
>>> defined at lldp_neighbor.c
>>>            lldpd-lldp_neighbor.o:(.bss+0x408)

ld: error: duplicate symbol: neighbor_local_sd
>>> defined at lldp_main.c
>>>            lldpd-lldp_main.o:(neighbor_local_sd)
>>> defined at lldp_neighbor.c
>>>            lldpd-lldp_neighbor.o:(.bss+0x400)

ld: error: duplicate symbol: neighbor_remote_sd
>>> defined at lldp_main.c
>>>            lldpd-lldp_main.o:(neighbor_remote_sd)
>>> defined at lldp_neighbor.c
>>>            lldpd-lldp_neighbor.o:(.bss+0x404)

ld: error: duplicate symbol: remote
>>> defined at lldp_main.c
>>>            lldpd-lldp_main.o:(remote)
>>> defined at lldp_neighbor.c
>>>            lldpd-lldp_neighbor.o:(.bss+0x472)

ld: error: duplicate symbol: lldp_systemdesc
>>> defined at lldp_main.c
>>>            lldpd-lldp_main.o:(lldp_systemdesc)
>>> defined at tlv.c
>>>            lldpd-tlv.o:(.bss+0x200)

ld: error: duplicate symbol: lldp_systemname
>>> defined at lldp_main.c
>>>            lldpd-lldp_main.o:(lldp_systemname)
>>> defined at tlv.c
>>>            lldpd-tlv.o:(.bss+0x0)

ld: error: duplicate symbol: local
>>> defined at lldp_main.c
>>>            lldpd-lldp_main.o:(local)
>>> defined at tlv.c
>>>            lldpd-tlv.o:(.bss+0x408)

ld: error: duplicate symbol: neighbor_local_sd
>>> defined at lldp_main.c
>>>            lldpd-lldp_main.o:(neighbor_local_sd)
>>> defined at tlv.c
>>>            lldpd-tlv.o:(.bss+0x400)

ld: error: duplicate symbol: neighbor_remote_sd
>>> defined at lldp_main.c
>>>            lldpd-lldp_main.o:(neighbor_remote_sd)
>>> defined at tlv.c
>>>            lldpd-tlv.o:(.bss+0x404)

ld: error: duplicate symbol: remote
>>> defined at lldp_main.c
>>>            lldpd-lldp_main.o:(remote)
>>> defined at tlv.c
>>>            lldpd-tlv.o:(.bss+0x472)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/net-mgmt/openlldp/work/openlldp-0.4alpha/src
*** Error code 1
*** Error code 1
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/openlldp



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