Build start time: Wed Sep 24 05:29:37 UTC 2025
[ REASON ] : target/debs/bullseye/lldpd_1.0.4-1_amd64.deb does not exist NON-EXISTENT PREREQUISITES: target/debs/bullseye/libsnmp-dev_5.9+dfsg-4+deb11u1_amd64.deb-install
[ FLAGS FILE ] : []
[ FLAGS DEPENDS ] : []
[ FLAGS DIFF ] : []
make[1]: warning: -j112 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/sonic/src/lldpd'
# Remove any stale files
rm -rf lldpd-1.0.4
# download debian LLDPDD
wget -NO "lldpd_1.0.4-1.dsc" https://packages.trafficmanager.net/public/debian/pool/main/l/lldpd/lldpd_1.0.4-1.dsc
wget -NO "lldpd_1.0.4.orig.tar.gz" https://packages.trafficmanager.net/public/debian/pool/main/l/lldpd/lldpd_1.0.4.orig.tar.gz
wget -NO "lldpd_1.0.4-1.debian.tar.xz" https://packages.trafficmanager.net/public/debian/pool/main/l/lldpd/lldpd_1.0.4-1.debian.tar.xz
dpkg-source -x lldpd_1.0.4-1.dsc
pushd lldpd-1.0.4
git init
git add -f *
git commit -m "unmodified lldp source"
# Apply patches
stg init
stg import -s ../patch/series
# Build source and Debian packages
env "with_netlink_receive_bufsize=1024*1024" dpkg-buildpackage -rfakeroot -b -us -uc -j112 --admindir /sonic/dpkg/tmp.1fwJ0KR6RW
popd
# Move the newly-built .deb packages to the destination directory
mv lldpd_1.0.4-1_amd64.deb liblldpctl-dev_1.0.4-1_amd64.deb lldpd-dbgsym_1.0.4-1_amd64.deb /sonic/target/debs/bullseye/
WARNING: timestamping does nothing in combination with -O. See the manual
for details.
--2025-09-24 05:29:37-- https://packages.trafficmanager.net/public/debian/pool/main/l/lldpd/lldpd_1.0.4-1.dsc
Resolving packages.trafficmanager.net (packages.trafficmanager.net)... 13.107.246.74, 2620:1ec:bdf::74
Connecting to packages.trafficmanager.net (packages.trafficmanager.net)|13.107.246.74|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2087 (2.0K) [text/prs.lines.tag]
Saving to: 'lldpd_1.0.4-1.dsc'
0K .. 100% 81.3M=0s
2025-09-24 05:29:38 (81.3 MB/s) - 'lldpd_1.0.4-1.dsc' saved [2087/2087]
WARNING: timestamping does nothing in combination with -O. See the manual
for details.
--2025-09-24 05:29:38-- https://packages.trafficmanager.net/public/debian/pool/main/l/lldpd/lldpd_1.0.4.orig.tar.gz
Resolving packages.trafficmanager.net (packages.trafficmanager.net)... 13.107.246.74, 2620:1ec:bdf::74
Connecting to packages.trafficmanager.net (packages.trafficmanager.net)|13.107.246.74|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1607806 (1.5M) [application/octet-stream]
Saving to: 'lldpd_1.0.4.orig.tar.gz'
0K .......... .......... .......... .......... .......... 3% 142K 11s
50K .......... .......... .......... .......... .......... 6% 280K 8s
100K .......... .......... .......... .......... .......... 9% 11.5M 5s
150K .......... .......... .......... .......... .......... 12% 289K 5s
200K .......... .......... .......... .......... .......... 15% 16.5M 4s
250K .......... .......... .......... .......... .......... 19% 294K 4s
300K .......... .......... .......... .......... .......... 22% 43.0M 3s
350K .......... .......... .......... .......... .......... 25% 23.9M 3s
400K .......... .......... .......... .......... .......... 28% 27.1M 2s
450K .......... .......... .......... .......... .......... 31% 294K 2s
500K .......... .......... .......... .......... .......... 35% 35.0M 2s
550K .......... .......... .......... .......... .......... 38% 41.0M 2s
600K .......... .......... .......... .......... .......... 41% 11.1M 2s
650K .......... .......... .......... .......... .......... 44% 66.9M 1s
700K .......... .......... .......... .......... .......... 47% 56.7M 1s
750K .......... .......... .......... .......... .......... 50% 296K 1s
800K .......... .......... .......... .......... .......... 54% 58.5M 1s
850K .......... .......... .......... .......... .......... 57% 88.4M 1s
900K .......... .......... .......... .......... .......... 60% 91.3M 1s
950K .......... .......... .......... .......... .......... 63% 83.4M 1s
1000K .......... .......... .......... .......... .......... 66% 53.1M 1s
1050K .......... .......... .......... .......... .......... 70% 109M 1s
1100K .......... .......... .......... .......... .......... 73% 293K 1s
1150K .......... .......... .......... .......... .......... 76% 16.4M 0s
1200K .......... .......... .......... .......... .......... 79% 52.8M 0s
1250K .......... .......... .......... .......... .......... 82% 106M 0s
1300K .......... .......... .......... .......... .......... 85% 51.3M 0s
1350K .......... .......... .......... .......... .......... 89% 141M 0s
1400K .......... .......... .......... .......... .......... 92% 46.1M 0s
1450K .......... .......... .......... .......... .......... 95% 95.8M 0s
1500K .......... .......... .......... .......... .......... 98% 68.0M 0s
1550K .......... .......... 100% 165M=1.4s
2025-09-24 05:29:41 (1.08 MB/s) - 'lldpd_1.0.4.orig.tar.gz' saved [1607806/1607806]
WARNING: timestamping does nothing in combination with -O. See the manual
for details.
--2025-09-24 05:29:41-- https://packages.trafficmanager.net/public/debian/pool/main/l/lldpd/lldpd_1.0.4-1.debian.tar.xz
Resolving packages.trafficmanager.net (packages.trafficmanager.net)... 13.107.246.74, 2620:1ec:bdf::74
Connecting to packages.trafficmanager.net (packages.trafficmanager.net)|13.107.246.74|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13980 (14K) [application/octet-stream]
Saving to: 'lldpd_1.0.4-1.debian.tar.xz'
0K .......... ... 100% 333M=0s
2025-09-24 05:29:42 (333 MB/s) - 'lldpd_1.0.4-1.debian.tar.xz' saved [13980/13980]
dpkg-source: info: extracting lldpd in lldpd-1.0.4
dpkg-source: info: unpacking lldpd_1.0.4.orig.tar.gz
dpkg-source: info: unpacking lldpd_1.0.4-1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 0001-build-put-ZSH-completion-in-vendor-completions.patch
/sonic/src/lldpd/lldpd-1.0.4 /sonic/src/lldpd
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m
Initialized empty Git repository in /sonic/src/lldpd/lldpd-1.0.4/.git/
[master (root-commit) 4b37e1f] unmodified lldp source
399 files changed, 220855 insertions(+)
create mode 100644 CONTRIBUTE.md
create mode 100644 ChangeLog
create mode 100644 LICENSE
create mode 100644 Makefile.am
create mode 100644 Makefile.in
create mode 100644 NEWS
create mode 100644 README.md
create mode 100644 aclocal.m4
create mode 100755 ar-lib
create mode 100755 autogen.sh
create mode 100755 compile
create mode 100755 config.guess
create mode 100644 config.h.in
create mode 100755 config.sub
create mode 100755 configure
create mode 100644 configure.ac
create mode 100644 debian/README.Debian
create mode 100644 debian/changelog
create mode 100644 debian/compat
create mode 100644 debian/control
create mode 100644 debian/copyright
create mode 100644 debian/liblldpctl-dev.install
create mode 100644 debian/lldpd.default
create mode 100644 debian/lldpd.init.d
create mode 100644 debian/lldpd.install
create mode 100644 debian/lldpd.lintian-overrides
create mode 100644 debian/lldpd.postinst
create mode 100644 debian/lldpd.postrm
create mode 100644 debian/lldpd.symbols
create mode 100644 debian/patches/0001-build-put-ZSH-completion-in-vendor-completions.patch
create mode 100644 debian/patches/series
create mode 100755 debian/rules
create mode 100644 debian/source/format
create mode 100644 debian/upstream/signing-key.asc
create mode 100644 debian/watch
create mode 100755 depcomp
create mode 100644 doxygen.am
create mode 100644 doxygen.cfg
create mode 100644 edit.am
create mode 100755 get-version
create mode 100644 include/linux/ethtool.h
create mode 100644 include/linux/filter.h
create mode 100644 include/linux/hdlc/ioctl.h
create mode 100644 include/linux/if.h
create mode 100644 include/linux/if_addr.h
create mode 100644 include/linux/if_bonding.h
create mode 100644 include/linux/if_bridge.h
create mode 100644 include/linux/if_ether.h
create mode 100644 include/linux/if_link.h
create mode 100644 include/linux/if_packet.h
create mode 100644 include/linux/if_vlan.h
create mode 100644 include/linux/neighbour.h
create mode 100644 include/linux/netlink.h
create mode 100644 include/linux/rtnetlink.h
create mode 100644 include/linux/sockios.h
create mode 100644 include/linux/types.h
create mode 100644 include/linux/wireless.h
create mode 100644 include/netinet/if_ether.h
create mode 100644 include/osx/README.md
create mode 100644 include/osx/if_bond_var.h
create mode 100644 include/osx/if_bridgevar.h
create mode 100644 include/osx/if_vlan_var.h
create mode 100644 include/osx/lacp.h
create mode 100644 include/sys/queue.h
create mode 100755 install-sh
create mode 100644 libevent/ChangeLog
create mode 100644 libevent/Doxyfile
create mode 100644 libevent/LICENSE
create mode 100644 libevent/Makefile.am
create mode 100644 libevent/Makefile.in
create mode 100644 libevent/Makefile.nmake
create mode 100644 libevent/README
create mode 100644 libevent/WIN32-Code/event2/event-config.h
create mode 100644 libevent/WIN32-Code/tree.h
create mode 100644 libevent/aclocal.m4
create mode 100644 libevent/arc4random.c
create mode 100755 libevent/autogen.sh
create mode 100644 libevent/buffer.c
create mode 100644 libevent/buffer_iocp.c
create mode 100644 libevent/bufferevent-internal.h
create mode 100644 libevent/bufferevent.c
create mode 100644 libevent/bufferevent_async.c
create mode 100644 libevent/bufferevent_filter.c
create mode 100644 libevent/bufferevent_openssl.c
create mode 100644 libevent/bufferevent_pair.c
create mode 100644 libevent/bufferevent_ratelim.c
create mode 100644 libevent/bufferevent_sock.c
create mode 100644 libevent/changelist-internal.h
create mode 100644 libevent/compat/sys/queue.h
create mode 100644 libevent/config.h.in
create mode 100755 libevent/configure
create mode 100644 libevent/configure.ac
create mode 100644 libevent/defer-internal.h
create mode 100644 libevent/devpoll.c
create mode 100644 libevent/epoll.c
create mode 100644 libevent/epoll_sub.c
create mode 100644 libevent/evbuffer-internal.h
create mode 100644 libevent/evdns.c
create mode 100644 libevent/evdns.h
create mode 100644 libevent/event-internal.h
create mode 100644 libevent/event.c
create mode 100644 libevent/event.h
create mode 100644 libevent/event_iocp.c
create mode 100755 libevent/event_rpcgen.py
create mode 100644 libevent/event_tagging.c
create mode 100644 libevent/evhttp.h
create mode 100644 libevent/evmap-internal.h
create mode 100644 libevent/evmap.c
create mode 100644 libevent/evport.c
create mode 100644 libevent/evrpc-internal.h
create mode 100644 libevent/evrpc.c
create mode 100644 libevent/evrpc.h
create mode 100644 libevent/evsignal-internal.h
create mode 100644 libevent/evthread-internal.h
create mode 100644 libevent/evthread.c
create mode 100644 libevent/evthread_pthread.c
create mode 100644 libevent/evthread_win32.c
create mode 100644 libevent/evutil.c
create mode 100644 libevent/evutil.h
create mode 100644 libevent/evutil_rand.c
create mode 100644 libevent/ht-internal.h
create mode 100644 libevent/http-internal.h
create mode 100644 libevent/http.c
create mode 100644 libevent/include/Makefile.am
create mode 100644 libevent/include/Makefile.in
create mode 100644 libevent/include/event2/buffer.h
create mode 100644 libevent/include/event2/buffer_compat.h
create mode 100644 libevent/include/event2/bufferevent.h
create mode 100644 libevent/include/event2/bufferevent_compat.h
create mode 100644 libevent/include/event2/bufferevent_ssl.h
create mode 100644 libevent/include/event2/bufferevent_struct.h
create mode 100644 libevent/include/event2/dns.h
create mode 100644 libevent/include/event2/dns_compat.h
create mode 100644 libevent/include/event2/dns_struct.h
create mode 100644 libevent/include/event2/event.h
create mode 100644 libevent/include/event2/event_compat.h
create mode 100644 libevent/include/event2/event_struct.h
create mode 100644 libevent/include/event2/http.h
create mode 100644 libevent/include/event2/http_compat.h
create mode 100644 libevent/include/event2/http_struct.h
create mode 100644 libevent/include/event2/keyvalq_struct.h
create mode 100644 libevent/include/event2/listener.h
create mode 100644 libevent/include/event2/rpc.h
create mode 100644 libevent/include/event2/rpc_compat.h
create mode 100644 libevent/include/event2/rpc_struct.h
create mode 100644 libevent/include/event2/tag.h
create mode 100644 libevent/include/event2/tag_compat.h
create mode 100644 libevent/include/event2/thread.h
create mode 100644 libevent/include/event2/util.h
create mode 100644 libevent/iocp-internal.h
create mode 100644 libevent/ipv6-internal.h
create mode 100644 libevent/kqueue.c
create mode 100644 libevent/libevent.pc.in
create mode 100644 libevent/libevent_openssl.pc.in
create mode 100644 libevent/libevent_pthreads.pc.in
create mode 100644 libevent/listener.c
create mode 100644 libevent/log-internal.h
create mode 100644 libevent/log.c
create mode 100644 libevent/m4/ac_backport_259_ssizet.m4
create mode 100644 libevent/m4/acx_pthread.m4
create mode 100644 libevent/m4/libtool.m4
create mode 100644 libevent/m4/ltoptions.m4
create mode 100644 libevent/m4/ltsugar.m4
create mode 100644 libevent/m4/ltversion.m4
create mode 100644 libevent/m4/lt~obsolete.m4
create mode 100644 libevent/make-event-config.sed
create mode 100644 libevent/minheap-internal.h
create mode 100644 libevent/mm-internal.h
create mode 100644 libevent/poll.c
create mode 100644 libevent/ratelim-internal.h
create mode 100644 libevent/sample/Makefile.am
create mode 100644 libevent/sample/Makefile.in
create mode 100644 libevent/sample/dns-example.c
create mode 100644 libevent/sample/event-test.c
create mode 100644 libevent/sample/hello-world.c
create mode 100644 libevent/sample/http-server.c
create mode 100644 libevent/sample/le-proxy.c
create mode 100644 libevent/sample/signal-test.c
create mode 100644 libevent/sample/time-test.c
create mode 100644 libevent/select.c
create mode 100644 libevent/signal.c
create mode 100644 libevent/strlcpy-internal.h
create mode 100644 libevent/strlcpy.c
create mode 100644 libevent/test/Makefile.am
create mode 100644 libevent/test/Makefile.in
create mode 100644 libevent/test/Makefile.nmake
create mode 100644 libevent/test/bench.c
create mode 100644 libevent/test/bench_cascade.c
create mode 100644 libevent/test/bench_http.c
create mode 100644 libevent/test/bench_httpclient.c
create mode 100644 libevent/test/regress.c
create mode 100644 libevent/test/regress.gen.c
create mode 100644 libevent/test/regress.gen.h
create mode 100644 libevent/test/regress.h
create mode 100644 libevent/test/regress.rpc
create mode 100644 libevent/test/regress_buffer.c
create mode 100644 libevent/test/regress_bufferevent.c
create mode 100644 libevent/test/regress_dns.c
create mode 100644 libevent/test/regress_et.c
create mode 100644 libevent/test/regress_http.c
create mode 100644 libevent/test/regress_iocp.c
create mode 100644 libevent/test/regress_listener.c
create mode 100644 libevent/test/regress_main.c
create mode 100644 libevent/test/regress_minheap.c
create mode 100644 libevent/test/regress_rpc.c
create mode 100644 libevent/test/regress_ssl.c
create mode 100644 libevent/test/regress_testutils.c
create mode 100644 libevent/test/regress_testutils.h
create mode 100644 libevent/test/regress_thread.c
create mode 100644 libevent/test/regress_util.c
create mode 100644 libevent/test/regress_zlib.c
create mode 100755 libevent/test/rpcgen_wrapper.sh
create mode 100644 libevent/test/test-changelist.c
create mode 100644 libevent/test/test-eof.c
create mode 100644 libevent/test/test-init.c
create mode 100644 libevent/test/test-ratelim.c
create mode 100644 libevent/test/test-time.c
create mode 100644 libevent/test/test-weof.c
create mode 100755 libevent/test/test.sh
create mode 100644 libevent/test/tinytest.c
create mode 100644 libevent/test/tinytest.h
create mode 100644 libevent/test/tinytest_local.h
create mode 100644 libevent/test/tinytest_macros.h
create mode 100644 libevent/util-internal.h
create mode 100644 libevent/whatsnew-2.0.txt
create mode 100644 libevent/win32select.c
create mode 100644 ltmain.sh
create mode 100644 m4/alignof.m4
create mode 100644 m4/args.m4
create mode 100644 m4/ax_build_date_epoch.m4
create mode 100644 m4/ax_cflags_gcc_option.m4
create mode 100644 m4/ax_ld_check_flag.m4
create mode 100644 m4/ax_lib_readline.m4
create mode 100644 m4/ax_prog_doxygen.m4
create mode 100644 m4/config_subdirs.m4
create mode 100644 m4/ld-version-script.m4
create mode 100644 m4/libcap.m4
create mode 100644 m4/libevent.m4
create mode 100644 m4/libtool.m4
create mode 100644 m4/ltoptions.m4
create mode 100644 m4/ltsugar.m4
create mode 100644 m4/ltversion.m4
create mode 100644 m4/lt~obsolete.m4
create mode 100644 m4/os.m4
create mode 100644 m4/progname.m4
create mode 100644 m4/seccomp.m4
create mode 100644 m4/snmp.m4
create mode 100644 m4/stdint.m4
create mode 100644 m4/systemtap.m4
create mode 100644 m4/xml2.m4
create mode 100755 missing
create mode 100644 osx/Makefile.am
create mode 100644 osx/Makefile.in
create mode 100644 osx/distribution.xml.in
create mode 100644 osx/im.bernat.lldpd.plist.in
create mode 100644 osx/resources/conclusion.html
create mode 100644 osx/resources/license.html
create mode 100644 osx/resources/welcome.html
create mode 100755 osx/scripts/postinstall.in
create mode 100755 osx/scripts/preinstall.in
create mode 100644 src/Makefile.am
create mode 100644 src/Makefile.in
create mode 100644 src/client/Makefile.am
create mode 100644 src/client/Makefile.in
create mode 100644 src/client/README.conf
create mode 100644 src/client/client.h
create mode 100644 src/client/commands.c
create mode 100644 src/client/completion/_lldpcli
create mode 100755 src/client/completion/lldpcli
create mode 100644 src/client/conf-dot3.c
create mode 100644 src/client/conf-lldp.c
create mode 100644 src/client/conf-med.c
create mode 100644 src/client/conf-power.c
create mode 100644 src/client/conf-system.c
create mode 100644 src/client/conf.c
create mode 100644 src/client/display.c
create mode 100644 src/client/json_writer.c
create mode 100644 src/client/kv_writer.c
create mode 100644 src/client/lldpcli.8.in
create mode 100644 src/client/lldpcli.c
create mode 100644 src/client/lldpctl.8
create mode 100644 src/client/misc.c
create mode 100644 src/client/show.c
create mode 100644 src/client/text_writer.c
create mode 100644 src/client/tokenizer.c
create mode 100644 src/client/utf8.c
create mode 100644 src/client/writer.h
create mode 100644 src/client/xml_writer.c
create mode 100644 src/compat/Makefile.am
create mode 100644 src/compat/Makefile.in
create mode 100644 src/compat/asprintf.c
create mode 100644 src/compat/compat.h
create mode 100644 src/compat/daemon.c
create mode 100644 src/compat/empty.c
create mode 100644 src/compat/getline.c
create mode 100644 src/compat/malloc.c
create mode 100644 src/compat/realloc.c
create mode 100644 src/compat/setproctitle.c
create mode 100644 src/compat/strlcpy.c
create mode 100644 src/compat/strndup.c
create mode 100644 src/compat/strnlen.c
create mode 100644 src/compat/strtonum.c
create mode 100644 src/compat/vsyslog.c
create mode 100644 src/ctl.c
create mode 100644 src/ctl.h
create mode 100644 src/daemon/Makefile.am
create mode 100644 src/daemon/Makefile.in
create mode 100644 src/daemon/agent.c
create mode 100644 src/daemon/agent.h
create mode 100644 src/daemon/agent_priv.c
create mode 100644 src/daemon/client.c
create mode 100644 src/daemon/dmi-dummy.c
create mode 100644 src/daemon/dmi-freebsd.c
create mode 100644 src/daemon/dmi-linux.c
create mode 100644 src/daemon/dmi-openbsd.c
create mode 100644 src/daemon/dmi-osx.c
create mode 100644 src/daemon/dtrace2systemtap.awk
create mode 100644 src/daemon/event.c
create mode 100644 src/daemon/forward-bsd.c
create mode 100644 src/daemon/forward-linux.c
create mode 100644 src/daemon/forward-solaris.c
create mode 100644 src/daemon/frame.c
create mode 100644 src/daemon/frame.h
create mode 100644 src/daemon/interfaces-bpf.c
create mode 100644 src/daemon/interfaces-bsd.c
create mode 100644 src/daemon/interfaces-linux.c
create mode 100644 src/daemon/interfaces-solaris.c
create mode 100644 src/daemon/interfaces.c
create mode 100644 src/daemon/lldp-tlv.h
create mode 100644 src/daemon/lldpd.8.in
create mode 100644 src/daemon/lldpd.c
create mode 100644 src/daemon/lldpd.h
create mode 100644 src/daemon/lldpd.service.in
create mode 100644 src/daemon/lldpd.sysusers.conf.in
create mode 100644 src/daemon/main.c
create mode 100644 src/daemon/netlink.c
create mode 100644 src/daemon/pattern.c
create mode 100644 src/daemon/priv-bsd.c
create mode 100644 src/daemon/priv-linux.c
create mode 100644 src/daemon/priv-seccomp.c
create mode 100644 src/daemon/priv.c
create mode 100644 src/daemon/privsep.c
create mode 100644 src/daemon/privsep_fd.c
create mode 100644 src/daemon/privsep_io.c
create mode 100644 src/daemon/probes.d
create mode 100644 src/daemon/protocols/cdp.c
create mode 100644 src/daemon/protocols/cdp.h
create mode 100644 src/daemon/protocols/edp.c
create mode 100644 src/daemon/protocols/edp.h
create mode 100644 src/daemon/protocols/lldp.c
create mode 100644 src/daemon/protocols/sonmp.c
create mode 100644 src/daemon/protocols/sonmp.h
create mode 100644 src/daemon/trace.h
create mode 100644 src/daemon/usr.sbin.lldpd.in
create mode 100644 src/lib/Makefile.am
create mode 100644 src/lib/Makefile.in
create mode 100644 src/lib/atom.c
create mode 100644 src/lib/atom.h
create mode 100644 src/lib/atoms/chassis.c
create mode 100644 src/lib/atoms/config.c
create mode 100644 src/lib/atoms/custom.c
create mode 100644 src/lib/atoms/dot1.c
create mode 100644 src/lib/atoms/dot3.c
create mode 100644 src/lib/atoms/interface.c
create mode 100644 src/lib/atoms/med.c
create mode 100644 src/lib/atoms/mgmt.c
create mode 100644 src/lib/atoms/port.c
create mode 100644 src/lib/connection.c
create mode 100644 src/lib/errors.c
create mode 100644 src/lib/fixedpoint.c
create mode 100644 src/lib/fixedpoint.h
create mode 100644 src/lib/helpers.c
create mode 100644 src/lib/helpers.h
create mode 100644 src/lib/lldpctl.h
create mode 100644 src/lib/lldpctl.map
create mode 100644 src/lib/lldpctl.pc.in
create mode 100644 src/lldp-const.h
create mode 100644 src/lldpd-structs.c
create mode 100644 src/lldpd-structs.h
create mode 100644 src/log.c
create mode 100644 src/log.h
create mode 100644 src/marshal.c
create mode 100644 src/marshal.h
create mode 100644 src/version.c
create mode 100755 test-driver
create mode 100644 tests/Makefile.am
create mode 100644 tests/Makefile.in
create mode 100644 tests/check-compat.h
create mode 100644 tests/check_cdp.c
create mode 100644 tests/check_edp.c
create mode 100644 tests/check_fixedpoint.c
create mode 100644 tests/check_lldp.c
create mode 100644 tests/check_marshal.c
create mode 100644 tests/check_pattern.c
create mode 100644 tests/check_snmp.c
create mode 100644 tests/check_sonmp.c
create mode 100644 tests/common.c
create mode 100644 tests/common.h
create mode 100644 tests/decode.c
dpkg-buildpackage: info: source package lldpd
dpkg-buildpackage: info: source version 1.0.4-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Vincent Bernat
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
make[2]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
dh clean --with autoreconf --with systemd
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
make[2]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4'
debian/rules build
make[2]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
dh build --with autoreconf --with systemd
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_update_autotools_config
dh_autoreconf
libtoolize: putting auxiliary files in '..'.
libtoolize: copying file '../ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:14: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.ac:14: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.ac:36: installing '../compile'
configure.ac:14: installing '../missing'
Makefile.am: installing '../depcomp'
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:36: installing './compile'
configure.ac:30: installing './missing'
src/Makefile.am: installing './depcomp'
debian/rules override_dh_auto_configure
make[3]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4'
dh_auto_configure -- \
--enable-pie \
--with-snmp \
--with-xml \
--with-systemdsystemunitdir=/lib/systemd/system
dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use)
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --enable-pie --with-snmp --with-xml --with-systemdsystemunitdir=/lib/systemd/system
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '129' is supported by ustar format... yes
checking whether GID '136' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking if LD -Wl,--version-script works... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking for gcc option to accept ISO C99... none needed
checking whether ln -s works... yes
checking for egrep... (cached) /bin/grep -E
checking for gawk... (cached) gawk
checking for doxygen... /usr/bin/doxygen
checking for perl... /usr/bin/perl
checking for pdflatex... /usr/bin/pdflatex
checking for makeindex... /usr/bin/makeindex
checking for egrep... /bin/egrep
checking CFLAGS for gcc -Wunknown-warning-option... no, unknown
checking CFLAGS for gcc -fdiagnostics-show-option... -fdiagnostics-show-option
checking CFLAGS for gcc -fdiagnostics-color=auto... -fdiagnostics-color=auto
checking CFLAGS for gcc -pipe... -pipe
checking CFLAGS for gcc -Wall... -Wall
checking CFLAGS for gcc -W... -W
checking CFLAGS for gcc -Wextra... -Wextra
checking CFLAGS for gcc -Wformat... -Wformat
checking CFLAGS for gcc -Wformat-security... -Wformat-security
checking CFLAGS for gcc -Wimplicit-fallthrough... -Wimplicit-fallthrough
checking CFLAGS for gcc -Wfatal-errors... -Wfatal-errors
checking CFLAGS for gcc -Wcast-align... -Wcast-align
checking CFLAGS for gcc -Wheader-guard... no, unknown
checking CFLAGS for gcc -Wdocumentation... no, unknown
checking CFLAGS for gcc -Winline... -Winline
checking CFLAGS for gcc -Wpointer-arith... -Wpointer-arith
checking CFLAGS for gcc -fno-omit-frame-pointer... -fno-omit-frame-pointer
checking CFLAGS for gcc -Wno-unused-parameter... -Wno-unused-parameter
checking CFLAGS for gcc -Wno-missing-field-initializers... -Wno-missing-field-initializers
checking CFLAGS for gcc -Wno-sign-compare... -Wno-sign-compare
checking whether the linker accepts the -Wl,-z,relro flag... yes
checking whether the linker accepts the -Wl,-z,now flag... yes
checking for typeof syntax and keyword spelling... typeof
checking CFLAGS for gcc -fstack-protector... -fstack-protector
checking CFLAGS for gcc -fstack-protector-all... -fstack-protector-all
checking CFLAGS for gcc -fstack-protector-strong... -fstack-protector-strong
checking CFLAGS for gcc -fstack-protector-strong... (cached) -fstack-protector-strong
checking CFLAGS for gcc -fstack-clash-protection... -fstack-clash-protection
checking CFLAGS for gcc -D_FORTIFY_SOURCE=2... -D_FORTIFY_SOURCE=2
checking CFLAGS for gcc -fPIE... -fPIE
checking whether the linker accepts the -fPIE -pie flag... yes
checking if host OS is supported... yes (Linux)
checking CFLAGS for gcc -D_GNU_SOURCE... -D_GNU_SOURCE
checking for sys/types.h... (cached) yes
checking for netinet/in.h... yes
checking for arpa/nameser.h... yes
checking for netdb.h... yes
checking for resolv.h... yes
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking for u_int32_t... yes
checking for uint32_t... yes
checking whether libc defines __progname... yes
checking whether compiler understands __alignof__... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libbsd-overlay... yes
checking if libbsd can be linked correctly... yes
checking for setproctitle... yes
checking for setproctitle_init... yes
checking for strlcpy... yes
checking for strnlen... yes
checking for strndup... yes
checking for strtonum... yes
checking for getline... yes
checking for asprintf... yes
checking for vsyslog... yes
checking for daemon... yes
checking for setresuid... yes
checking for setresgid... yes
checking for library containing res_init... none required
checking for check >= 0.9.4... yes
checking for libevent >= 2.0.5... yes
checking if system libevent works as expected... yes
=== configuring in libevent (/sonic/src/lldpd/lldpd-1.0.4/libevent)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-maintainer-mode' '--disable-dependency-tracking' '--enable-pie' '--with-snmp' '--with-xml' '--with-systemdsystemunitdir=/lib/systemd/system' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' --disable-silent-rules --disable-libevent-regress --disable-thread-support --disable-openssl --disable-malloc-replacement --disable-debug-mode --enable-function-sections --disable-shared --with-pic --enable-static --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for library containing inet_ntoa... none required
checking for library containing socket... none required
checking for library containing inet_aton... none required
checking for library containing clock_gettime... none required
checking for library containing sendfile... none required
checking for WIN32... no
checking for CYGWIN... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for library containing inflateEnd... -lz
checking openssl/bio.h usability... yes
checking openssl/bio.h presence... yes
checking for openssl/bio.h... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking for unistd.h... (cached) yes
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.h... yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/devpoll.h usability... no
checking sys/devpoll.h presence... no
checking for sys/devpoll.h... no
checking port.h usability... no
checking port.h presence... no
checking for port.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/in6.h usability... no
checking netinet/in6.h presence... no
checking for netinet/in6.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/eventfd.h usability... yes
checking sys/eventfd.h presence... yes
checking for sys/eventfd.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/sysctl.h... yes
checking for TAILQ_FOREACH in sys/queue.h... yes
checking for timeradd in sys/time.h... yes
checking for timercmp in sys/time.h... yes
checking for timerclear in sys/time.h... yes
checking for timerisset in sys/time.h... yes
checking whether CTL_KERN is declared... yes
checking whether KERN_RANDOM is declared... yes
checking whether RANDOM_UUID is declared... yes
checking whether KERN_ARND is declared... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking for gettimeofday... yes
checking for vasprintf... yes
checking for fcntl... yes
checking for clock_gettime... yes
checking for strtok_r... yes
checking for strsep... yes
checking for getnameinfo... yes
checking for strlcpy... no
checking for inet_ntop... yes
checking for inet_pton... yes
checking for signal... yes
checking for sigaction... yes
checking for strtoll... yes
checking for inet_aton... yes
checking for pipe... yes
checking for eventfd... yes
checking for sendfile... yes
checking for mmap... yes
checking for splice... yes
checking for arc4random... no
checking for arc4random_buf... no
checking for issetugid... no
checking for geteuid... yes
checking for getegid... yes
checking for getprotobynumber... yes
checking for setenv... yes
checking for unsetenv... yes
checking for putenv... yes
checking for sysctl... yes
checking for umask... yes
checking for getaddrinfo... yes
checking size of long... 8
checking for F_SETFD in fcntl.h... yes
checking for select... yes
checking for poll... yes
checking for epoll_ctl... yes
checking for port_create... no
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint64_t... yes
checking for uint32_t... yes
checking for uint16_t... yes
checking for uint8_t... yes
checking for uintptr_t... yes
checking for fd_mask... yes
checking size of long long... 8
checking size of long... (cached) 8
checking size of int... 4
checking size of short... 2
checking size of size_t... 8
checking size of void *... 8
checking size of off_t... 8
checking for struct in6_addr... yes
checking for struct sockaddr_in6... yes
checking for sa_family_t... yes
checking for struct addrinfo... yes
checking for struct sockaddr_storage... yes
checking for struct in6_addr.s6_addr32... yes
checking for struct in6_addr.s6_addr16... yes
checking for struct sockaddr_in.sin_len... no
checking for struct sockaddr_in6.sin6_len... no
checking for struct sockaddr_storage.ss_family... yes
checking for struct sockaddr_storage.__ss_family... no
checking for socklen_t... yes
checking whether our compiler supports __func__... yes
checking if linker supports omitting unused code and data... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libevent.pc
config.status: creating libevent_openssl.pc
config.status: creating libevent_pthreads.pc
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating test/Makefile
config.status: creating sample/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== end of configure in libevent (/sonic/src/lldpd/lldpd-1.0.4/libevent/libevent)
checking for libcap >= 2... yes
checking for a readline compatible library... -lreadline
checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking whether readline supports history... yes
checking history.h usability... no
checking history.h presence... no
checking for history.h... no
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for net-snmp-config... /usr/bin/net-snmp-config
checking whether C compiler supports flag "-g -O2 -ffile-prefix-map=/sonic/src/snmpd/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -g -O2 -ffile-prefix-map=/sonic/src/snmpd/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.32/CORE -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -DNETSNMP_NO_INLINE -Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lm -lpcre -lnetsnmpagent -lpcre -lwrap -Wl,-E -lnetsnmp -lm -lssl -lssl -lcrypto" from Net-SNMP... yes
checking for snmp_register_callback in -lnetsnmp... yes
checking for netsnmp_enable_subagent... yes
checking for netsnmp_tdomain.f_create_from_tstring_new... yes
checking for net-snmp/agent/util_funcs.h... yes
checking for snmp_select_info2... yes
checking for libxml-2.0... yes
checking whether to enable use of pre-0.9.2 JSON/json-c format... no
checking whether to enable systemtap/DTrace trace support... no
checking whether to enable Privilege separation... yes
checking whether to enable Cisco Discovery Protocol... yes
checking whether to enable Foundry Discovery Protocol... yes
checking whether to enable Extreme Discovery Protocol... yes
checking whether to enable SynOptics Network Management Protocol... yes
checking whether to enable LLDP-MED extension... yes
checking whether to enable Dot1 extension (VLAN stuff)... yes
checking whether to enable Dot3 extension (PHY stuff)... yes
checking whether to enable Custom TLV support... yes
checking whether to enable compatibility with Linux kernel older than 2.6.39... no
checking for build time... 2019-07-07T08:42:05Z
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/compat/Makefile
config.status: creating src/daemon/Makefile
config.status: creating src/lib/Makefile
config.status: creating src/client/Makefile
config.status: creating tests/Makefile
config.status: creating osx/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
------------------ Summary ------------------
lldpd version 1.0.4
OS.............: Linux
Prefix.........: /usr
C Compiler.....: gcc -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wdate-time -D_FORTIFY_SOURCE=2
Linker.........: /usr/bin/ld -m elf_x86_64 -Wl,-z,relro -Wl,-z,now -lbsd -fPIE -pie -Wl,-z,relro -lbsd
Libevent.......: system
Readline.......: -lreadline
Optional features:
SNMP support...: yes
CDP............: yes
FDP............: yes
EDP............: yes
SONMP..........: yes
LLDPMED........: yes
DOT1...........: yes
DOT3...........: yes
CUSTOM.........: yes
XML output.....: yes
Oldies support.: no
seccomp........: no
libbsd.........: yes
Privilege separation:
Enabled........: yes
User/group.....: _lldpd/_lldpd
Chroot.........: /var/run/lldpd
Instrumentation (for devs only):
Sanitizers.....: none
Coverage.......: no
------------- Compiler version --------------
gcc (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-------------- Linker version ---------------
GNU ld (GNU Binutils for Debian) 2.35.2
Copyright (C) 2020 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
---------------------------------------------
Check the above options and compile with:
make
make[3]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4'
dh_auto_build
dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use)
make -j1
make[3]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4'
make all-recursive
make[4]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4'
Making all in src/compat
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/compat'
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o empty.lo empty.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c empty.c -fPIC -DPIC -o .libs/empty.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c empty.c -fPIE -o empty.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=link gcc -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z,relro -Wl,-z,now -lbsd -Wl,-z,relro -o libcompat.la empty.lo -lbsd
libtool: link: ar cr .libs/libcompat.a .libs/empty.o
libtool: link: ranlib .libs/libcompat.a
libtool: link: ( cd ".libs" && rm -f "libcompat.la" && ln -s "../libcompat.la" "libcompat.la" )
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/compat'
Making all in src
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o log.lo log.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c log.c -fPIC -DPIC -o .libs/log.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c log.c -fPIE -o log.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o version.lo version.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c version.c -fPIC -DPIC -o .libs/version.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c version.c -fPIE -o version.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o marshal.lo marshal.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c marshal.c -fPIC -DPIC -o .libs/marshal.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c marshal.c -fPIE -o marshal.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o ctl.lo ctl.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c ctl.c -fPIC -DPIC -o .libs/ctl.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c ctl.c -fPIE -o ctl.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o lldpd-structs.lo lldpd-structs.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c lldpd-structs.c -fPIC -DPIC -o .libs/lldpd-structs.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c lldpd-structs.c -fPIE -o lldpd-structs.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=link gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z,relro -Wl,-z,now -lbsd -Wl,-z,relro -o libcommon-daemon-lib.la log.lo version.lo marshal.lo ctl.lo lldpd-structs.lo compat/libcompat.la -lbsd
libtool: link: (cd .libs/libcommon-daemon-lib.lax/libcompat.a && ar x "/sonic/src/lldpd/lldpd-1.0.4/src/compat/.libs/libcompat.a")
libtool: link: ar cr .libs/libcommon-daemon-lib.a .libs/log.o .libs/version.o .libs/marshal.o .libs/ctl.o .libs/lldpd-structs.o .libs/libcommon-daemon-lib.lax/libcompat.a/empty.o
libtool: link: ranlib .libs/libcommon-daemon-lib.a
libtool: link: rm -fr .libs/libcommon-daemon-lib.lax
libtool: link: ( cd ".libs" && rm -f "libcommon-daemon-lib.la" && ln -s "../libcommon-daemon-lib.la" "libcommon-daemon-lib.la" )
/bin/bash ../libtool --tag=CC --mode=link gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z,relro -Wl,-z,now -lbsd -Wl,-z,relro -o libcommon-daemon-client.la log.lo version.lo compat/libcompat.la -lbsd
libtool: link: (cd .libs/libcommon-daemon-client.lax/libcompat.a && ar x "/sonic/src/lldpd/lldpd-1.0.4/src/compat/.libs/libcompat.a")
libtool: link: ar cr .libs/libcommon-daemon-client.a .libs/log.o .libs/version.o .libs/libcommon-daemon-client.lax/libcompat.a/empty.o
libtool: link: ranlib .libs/libcommon-daemon-client.a
libtool: link: rm -fr .libs/libcommon-daemon-client.lax
libtool: link: ( cd ".libs" && rm -f "libcommon-daemon-client.la" && ln -s "../libcommon-daemon-client.la" "libcommon-daemon-client.la" )
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src'
Making all in src/daemon
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/daemon'
make all-am
make[6]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/daemon'
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o main.o main.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o liblldpd_la-frame.lo `test -f 'frame.c' || echo './'`frame.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c frame.c -fPIC -DPIC -o .libs/liblldpd_la-frame.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c frame.c -fPIE -o liblldpd_la-frame.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o liblldpd_la-client.lo `test -f 'client.c' || echo './'`client.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c client.c -fPIC -DPIC -o .libs/liblldpd_la-client.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c client.c -fPIE -o liblldpd_la-client.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o liblldpd_la-priv.lo `test -f 'priv.c' || echo './'`priv.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c priv.c -fPIC -DPIC -o .libs/liblldpd_la-priv.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c priv.c -fPIE -o liblldpd_la-priv.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o liblldpd_la-privsep.lo `test -f 'privsep.c' || echo './'`privsep.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c privsep.c -fPIC -DPIC -o .libs/liblldpd_la-privsep.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c privsep.c -fPIE -o liblldpd_la-privsep.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o liblldpd_la-privsep_io.lo `test -f 'privsep_io.c' || echo './'`privsep_io.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c privsep_io.c -fPIC -DPIC -o .libs/liblldpd_la-privsep_io.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c privsep_io.c -fPIE -o liblldpd_la-privsep_io.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o liblldpd_la-privsep_fd.lo `test -f 'privsep_fd.c' || echo './'`privsep_fd.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c privsep_fd.c -fPIC -DPIC -o .libs/liblldpd_la-privsep_fd.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c privsep_fd.c -fPIE -o liblldpd_la-privsep_fd.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o liblldpd_la-interfaces.lo `test -f 'interfaces.c' || echo './'`interfaces.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c interfaces.c -fPIC -DPIC -o .libs/liblldpd_la-interfaces.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c interfaces.c -fPIE -o liblldpd_la-interfaces.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o liblldpd_la-event.lo `test -f 'event.c' || echo './'`event.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c event.c -fPIC -DPIC -o .libs/liblldpd_la-event.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c event.c -fPIE -o liblldpd_la-event.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o liblldpd_la-lldpd.lo `test -f 'lldpd.c' || echo './'`lldpd.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c lldpd.c -fPIC -DPIC -o .libs/liblldpd_la-lldpd.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c lldpd.c -fPIE -o liblldpd_la-lldpd.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o liblldpd_la-pattern.lo `test -f 'pattern.c' || echo './'`pattern.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c pattern.c -fPIC -DPIC -o .libs/liblldpd_la-pattern.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c pattern.c -fPIE -o liblldpd_la-pattern.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o protocols/liblldpd_la-lldp.lo `test -f 'protocols/lldp.c' || echo './'`protocols/lldp.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c protocols/lldp.c -fPIC -DPIC -o protocols/.libs/liblldpd_la-lldp.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c protocols/lldp.c -fPIE -o protocols/liblldpd_la-lldp.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o protocols/liblldpd_la-cdp.lo `test -f 'protocols/cdp.c' || echo './'`protocols/cdp.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c protocols/cdp.c -fPIC -DPIC -o protocols/.libs/liblldpd_la-cdp.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c protocols/cdp.c -fPIE -o protocols/liblldpd_la-cdp.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o protocols/liblldpd_la-sonmp.lo `test -f 'protocols/sonmp.c' || echo './'`protocols/sonmp.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c protocols/sonmp.c -fPIC -DPIC -o protocols/.libs/liblldpd_la-sonmp.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c protocols/sonmp.c -fPIE -o protocols/liblldpd_la-sonmp.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o protocols/liblldpd_la-edp.lo `test -f 'protocols/edp.c' || echo './'`protocols/edp.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c protocols/edp.c -fPIC -DPIC -o protocols/.libs/liblldpd_la-edp.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c protocols/edp.c -fPIE -o protocols/liblldpd_la-edp.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o liblldpd_la-forward-linux.lo `test -f 'forward-linux.c' || echo './'`forward-linux.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c forward-linux.c -fPIC -DPIC -o .libs/liblldpd_la-forward-linux.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c forward-linux.c -fPIE -o liblldpd_la-forward-linux.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o liblldpd_la-interfaces-linux.lo `test -f 'interfaces-linux.c' || echo './'`interfaces-linux.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c interfaces-linux.c -fPIC -DPIC -o .libs/liblldpd_la-interfaces-linux.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c interfaces-linux.c -fPIE -o liblldpd_la-interfaces-linux.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o liblldpd_la-netlink.lo `test -f 'netlink.c' || echo './'`netlink.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c netlink.c -fPIC -DPIC -o .libs/liblldpd_la-netlink.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c netlink.c -fPIE -o liblldpd_la-netlink.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o liblldpd_la-dmi-linux.lo `test -f 'dmi-linux.c' || echo './'`dmi-linux.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c dmi-linux.c -fPIC -DPIC -o .libs/liblldpd_la-dmi-linux.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c dmi-linux.c -fPIE -o liblldpd_la-dmi-linux.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o liblldpd_la-priv-linux.lo `test -f 'priv-linux.c' || echo './'`priv-linux.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c priv-linux.c -fPIC -DPIC -o .libs/liblldpd_la-priv-linux.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c priv-linux.c -fPIE -o liblldpd_la-priv-linux.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/snmpd/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -g -O2 -ffile-prefix-map=/sonic/src/snmpd/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.32/CORE -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -DNETSNMP_NO_INLINE -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o liblldpd_snmp_la-agent.lo `test -f 'agent.c' || echo './'`agent.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/snmpd/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -g -O2 -ffile-prefix-map=/sonic/src/snmpd/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.32/CORE -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -DNETSNMP_NO_INLINE -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c agent.c -fPIC -DPIC -o .libs/liblldpd_snmp_la-agent.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/snmpd/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -g -O2 -ffile-prefix-map=/sonic/src/snmpd/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.32/CORE -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -DNETSNMP_NO_INLINE -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c agent.c -fPIE -o liblldpd_snmp_la-agent.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR='"/etc"' -DLLDPCLI_PATH='"/usr/sbin/lldpcli"' -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/snmpd/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -g -O2 -ffile-prefix-map=/sonic/src/snmpd/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.32/CORE -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -DNETSNMP_NO_INLINE -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o liblldpd_snmp_la-agent_priv.lo `test -f 'agent_priv.c' || echo './'`agent_priv.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/snmpd/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -g -O2 -ffile-prefix-map=/sonic/src/snmpd/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.32/CORE -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -DNETSNMP_NO_INLINE -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c agent_priv.c -fPIC -DPIC -o .libs/liblldpd_snmp_la-agent_priv.o
agent_priv.c: In function 'agent_priv_unix_transport':
agent_priv.c:193:16: warning: assignment to 'int (*)(struct netsnmp_transport_s *, const void *, int, void **, int *)' from incompatible pointer type 'int (*)(netsnmp_transport *, void *, int, void **, int *)' {aka 'int (*)(struct netsnmp_transport_s *, void *, int, void **, int *)'} [-Wincompatible-pointer-types]
193 | t->f_send = agent_priv_unix_send;
| ^
agent_priv.c:196:16: warning: assignment to 'char * (*)(struct netsnmp_transport_s *, const void *, int)' from incompatible pointer type 'char * (*)(netsnmp_transport *, void *, int)' {aka 'char * (*)(struct netsnmp_transport_s *, void *, int)'} [-Wincompatible-pointer-types]
196 | t->f_fmtaddr = agent_priv_unix_fmtaddr;
| ^
agent_priv.c: In function 'agent_priv_register_domain':
agent_priv.c:237:35: warning: assignment to 'netsnmp_transport * (*)(const void *, size_t, int)' {aka 'struct netsnmp_transport_s * (*)(const void *, long unsigned int, int)'} from incompatible pointer type 'netsnmp_transport * (*)(const u_char *, size_t, int)' {aka 'struct netsnmp_transport_s * (*)(const unsigned char *, long unsigned int, int)'} [-Wincompatible-pointer-types]
237 | unixDomain.f_create_from_ostring = agent_priv_unix_create_ostring;
| ^
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DLLDPCLI_PATH=\"/usr/sbin/lldpcli\" -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/snmpd/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -g -O2 -ffile-prefix-map=/sonic/src/snmpd/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.32/CORE -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -DNETSNMP_NO_INLINE -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c agent_priv.c -fPIE -o liblldpd_snmp_la-agent_priv.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=link gcc -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/snmpd/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -g -O2 -ffile-prefix-map=/sonic/src/snmpd/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.32/CORE -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -DNETSNMP_NO_INLINE -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z,relro -Wl,-z,now -lbsd -Wl,-z,relro -o liblldpd-snmp.la liblldpd_snmp_la-agent.lo liblldpd_snmp_la-agent_priv.lo -lbsd
libtool: link: ar cr .libs/liblldpd-snmp.a .libs/liblldpd_snmp_la-agent.o .libs/liblldpd_snmp_la-agent_priv.o
libtool: link: ranlib .libs/liblldpd-snmp.a
libtool: link: ( cd ".libs" && rm -f "liblldpd-snmp.la" && ln -s "../liblldpd-snmp.la" "liblldpd-snmp.la" )
/bin/bash ../../libtool --tag=CC --mode=link gcc -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z,relro -o liblldpd.la liblldpd_la-frame.lo liblldpd_la-client.lo liblldpd_la-priv.lo liblldpd_la-privsep.lo liblldpd_la-privsep_io.lo liblldpd_la-privsep_fd.lo liblldpd_la-interfaces.lo liblldpd_la-event.lo liblldpd_la-lldpd.lo liblldpd_la-pattern.lo protocols/liblldpd_la-lldp.lo protocols/liblldpd_la-cdp.lo protocols/liblldpd_la-sonmp.lo protocols/liblldpd_la-edp.lo liblldpd_la-forward-linux.lo liblldpd_la-interfaces-linux.lo liblldpd_la-netlink.lo liblldpd_la-dmi-linux.lo liblldpd_la-priv-linux.lo ../../src/libcommon-daemon-client.la ../../src/libcommon-daemon-lib.la -levent -lcap liblldpd-snmp.la -lbsd
libtool: link: (cd .libs/liblldpd.lax/libcommon-daemon-client.a && ar x "/sonic/src/lldpd/lldpd-1.0.4/src/daemon/../../src/.libs/libcommon-daemon-client.a")
libtool: link: (cd .libs/liblldpd.lax/libcommon-daemon-lib.a && ar x "/sonic/src/lldpd/lldpd-1.0.4/src/daemon/../../src/.libs/libcommon-daemon-lib.a")
libtool: link: (cd .libs/liblldpd.lax/liblldpd-snmp.a && ar x "/sonic/src/lldpd/lldpd-1.0.4/src/daemon/./.libs/liblldpd-snmp.a")
copying selected object files to avoid basename conflicts...
libtool: link: ln .libs/liblldpd.lax/libcommon-daemon-lib.a/empty.o .libs/liblldpd.lax/lt1-empty.o || cp .libs/liblldpd.lax/libcommon-daemon-lib.a/empty.o .libs/liblldpd.lax/lt1-empty.o
libtool: link: ln .libs/liblldpd.lax/libcommon-daemon-lib.a/log.o .libs/liblldpd.lax/lt2-log.o || cp .libs/liblldpd.lax/libcommon-daemon-lib.a/log.o .libs/liblldpd.lax/lt2-log.o
libtool: link: ln .libs/liblldpd.lax/libcommon-daemon-lib.a/version.o .libs/liblldpd.lax/lt3-version.o || cp .libs/liblldpd.lax/libcommon-daemon-lib.a/version.o .libs/liblldpd.lax/lt3-version.o
libtool: link: ar cr .libs/liblldpd.a .libs/liblldpd_la-frame.o .libs/liblldpd_la-client.o .libs/liblldpd_la-priv.o .libs/liblldpd_la-privsep.o .libs/liblldpd_la-privsep_io.o .libs/liblldpd_la-privsep_fd.o .libs/liblldpd_la-interfaces.o .libs/liblldpd_la-event.o .libs/liblldpd_la-lldpd.o .libs/liblldpd_la-pattern.o protocols/.libs/liblldpd_la-lldp.o protocols/.libs/liblldpd_la-cdp.o protocols/.libs/liblldpd_la-sonmp.o protocols/.libs/liblldpd_la-edp.o .libs/liblldpd_la-forward-linux.o .libs/liblldpd_la-interfaces-linux.o .libs/liblldpd_la-netlink.o .libs/liblldpd_la-dmi-linux.o .libs/liblldpd_la-priv-linux.o .libs/liblldpd.lax/libcommon-daemon-client.a/empty.o .libs/liblldpd.lax/libcommon-daemon-client.a/log.o .libs/liblldpd.lax/libcommon-daemon-client.a/version.o .libs/liblldpd.lax/libcommon-daemon-lib.a/ctl.o .libs/liblldpd.lax/lt1-empty.o .libs/liblldpd.lax/libcommon-daemon-lib.a/lldpd-structs.o .libs/liblldpd.lax/lt2-log.o .libs/liblldpd.lax/libcommon-daemon-lib.a/marshal.o .libs/liblldpd.lax/lt3-version.o .libs/liblldpd.lax/liblldpd-snmp.a/liblldpd_snmp_la-agent.o .libs/liblldpd.lax/liblldpd-snmp.a/liblldpd_snmp_la-agent_priv.o
libtool: link: ranlib .libs/liblldpd.a
libtool: link: rm -fr .libs/liblldpd.lax .libs/liblldpd.lax
libtool: link: ( cd ".libs" && rm -f "liblldpd.la" && ln -s "../liblldpd.la" "liblldpd.la" )
/bin/bash ../../libtool --tag=CC --mode=link gcc -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z,relro -Wl,-z,now -lbsd -fPIE -pie -Wl,-z,relro -o lldpd main.o liblldpd.la -Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lm -lpcre -lnetsnmpagent -lpcre -lwrap -Wl,-E -lnetsnmp -lm -lssl -lssl -lcrypto -lbsd
libtool: link: gcc -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z -Wl,relro -Wl,-z -Wl,now -fPIE -pie -Wl,-z -Wl,relro -o lldpd main.o -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-E ./.libs/liblldpd.a -levent -lcap -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lnetsnmpagent -lpcre -lwrap -lnetsnmp -lm -lssl -lcrypto -lbsd
/bin/mkdir -p . && /bin/sed -e 's|@bindir[@]|/usr/bin|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@pkgdatadir[@]|/usr/share/lldpd|g' -e 's|@libdir[@]|/usr/lib/x86_64-linux-gnu|g' -e 's|@srcdir[@]|.|g' -e 's|@top_builddir[@]|../..|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@prefix[@]|/usr|g' -e 's|@VERSION[@]|1.0.4|g' -e 's|@PACKAGE[@]|lldpd|g' -e 's|@PACKAGE_NAME[@]|lldpd|g' -e 's|@PACKAGE_URL[@]|http://vincentbernat.github.io/lldpd/|g' -e 's|@PRIVSEP_USER[@]|_lldpd|g' -e 's|@PRIVSEP_GROUP[@]|_lldpd|g' -e 's|@PRIVSEP_CHROOT[@]|/var/run/lldpd|g' -e 's|@LLDPD_PID_FILE[@]|/var/run/lldpd.pid|g' -e 's|@LLDPD_CTL_SOCKET[@]|/var/run/lldpd.socket|g' -e 's|@PRIVSEP_CHROOT[@]|/var/run/lldpd|g' ./lldpd.8.in > lldpd.8.tmp && mv lldpd.8.tmp lldpd.8
/bin/mkdir -p . && /bin/sed -e 's|@bindir[@]|/usr/bin|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@pkgdatadir[@]|/usr/share/lldpd|g' -e 's|@libdir[@]|/usr/lib/x86_64-linux-gnu|g' -e 's|@srcdir[@]|.|g' -e 's|@top_builddir[@]|../..|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@prefix[@]|/usr|g' -e 's|@VERSION[@]|1.0.4|g' -e 's|@PACKAGE[@]|lldpd|g' -e 's|@PACKAGE_NAME[@]|lldpd|g' -e 's|@PACKAGE_URL[@]|http://vincentbernat.github.io/lldpd/|g' -e 's|@PRIVSEP_USER[@]|_lldpd|g' -e 's|@PRIVSEP_GROUP[@]|_lldpd|g' -e 's|@PRIVSEP_CHROOT[@]|/var/run/lldpd|g' -e 's|@LLDPD_PID_FILE[@]|/var/run/lldpd.pid|g' -e 's|@LLDPD_CTL_SOCKET[@]|/var/run/lldpd.socket|g' -e 's|@PRIVSEP_CHROOT[@]|/var/run/lldpd|g' ./lldpd.service.in > lldpd.service.tmp && mv lldpd.service.tmp lldpd.service
/bin/mkdir -p . && /bin/sed -e 's|@bindir[@]|/usr/bin|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@pkgdatadir[@]|/usr/share/lldpd|g' -e 's|@libdir[@]|/usr/lib/x86_64-linux-gnu|g' -e 's|@srcdir[@]|.|g' -e 's|@top_builddir[@]|../..|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@prefix[@]|/usr|g' -e 's|@VERSION[@]|1.0.4|g' -e 's|@PACKAGE[@]|lldpd|g' -e 's|@PACKAGE_NAME[@]|lldpd|g' -e 's|@PACKAGE_URL[@]|http://vincentbernat.github.io/lldpd/|g' -e 's|@PRIVSEP_USER[@]|_lldpd|g' -e 's|@PRIVSEP_GROUP[@]|_lldpd|g' -e 's|@PRIVSEP_CHROOT[@]|/var/run/lldpd|g' -e 's|@LLDPD_PID_FILE[@]|/var/run/lldpd.pid|g' -e 's|@LLDPD_CTL_SOCKET[@]|/var/run/lldpd.socket|g' -e 's|@PRIVSEP_CHROOT[@]|/var/run/lldpd|g' ./lldpd.sysusers.conf.in > lldpd.sysusers.conf.tmp && mv lldpd.sysusers.conf.tmp lldpd.sysusers.conf
make[6]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/daemon'
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/daemon'
Making all in src/lib
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/lib'
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o errors.lo errors.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c errors.c -fPIC -DPIC -o .libs/errors.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c errors.c -fPIE -o errors.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o connection.lo connection.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c connection.c -fPIC -DPIC -o .libs/connection.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c connection.c -fPIE -o connection.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o atom.lo atom.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atom.c -fPIC -DPIC -o .libs/atom.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atom.c -fPIE -o atom.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o helpers.lo helpers.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c helpers.c -fPIC -DPIC -o .libs/helpers.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c helpers.c -fPIE -o helpers.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o atoms/config.lo atoms/config.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atoms/config.c -fPIC -DPIC -o atoms/.libs/config.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atoms/config.c -fPIE -o atoms/config.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o atoms/dot1.lo atoms/dot1.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atoms/dot1.c -fPIC -DPIC -o atoms/.libs/dot1.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atoms/dot1.c -fPIE -o atoms/dot1.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o atoms/dot3.lo atoms/dot3.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atoms/dot3.c -fPIC -DPIC -o atoms/.libs/dot3.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atoms/dot3.c -fPIE -o atoms/dot3.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o atoms/interface.lo atoms/interface.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atoms/interface.c -fPIC -DPIC -o atoms/.libs/interface.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atoms/interface.c -fPIE -o atoms/interface.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o atoms/med.lo atoms/med.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atoms/med.c -fPIC -DPIC -o atoms/.libs/med.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atoms/med.c -fPIE -o atoms/med.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o atoms/mgmt.lo atoms/mgmt.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atoms/mgmt.c -fPIC -DPIC -o atoms/.libs/mgmt.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atoms/mgmt.c -fPIE -o atoms/mgmt.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o atoms/port.lo atoms/port.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atoms/port.c -fPIC -DPIC -o atoms/.libs/port.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atoms/port.c -fPIE -o atoms/port.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o atoms/custom.lo atoms/custom.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atoms/custom.c -fPIC -DPIC -o atoms/.libs/custom.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atoms/custom.c -fPIE -o atoms/custom.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o atoms/chassis.lo atoms/chassis.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atoms/chassis.c -fPIC -DPIC -o atoms/.libs/chassis.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atoms/chassis.c -fPIE -o atoms/chassis.o >/dev/null 2>&1
(for f in ./atoms/config.c ./atoms/dot1.c ./atoms/dot3.c ./atoms/interface.c ./atoms/med.c ./atoms/mgmt.c ./atoms/port.c ./atoms/custom.c ./atoms/chassis.c; do \
gcc -E -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE \
-Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd $f; done | \
/bin/sed -n 's+^void init_atom_builder_\([^(]*\)().*, \([0-9]*\)).*+\2 \1+p' | \
sort | \
gawk '{ atoms[$2] = 1 } \
END { for (atom in atoms) { print "void init_atom_builder_"atom"(void);" } \
print "void init_atom_builder() {"; \
print " static int init = 0; if (init) return; init++;"; \
for (atom in atoms) { print " init_atom_builder_"atom"();" } \
print "}"; }' && \
for f in ./atoms/config.c ./atoms/dot1.c ./atoms/dot3.c ./atoms/interface.c ./atoms/med.c ./atoms/mgmt.c ./atoms/port.c ./atoms/custom.c ./atoms/chassis.c; do \
gcc -E -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE \
-Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd $f; done | \
/bin/sed -n 's+^void init_atom_map_\([^(]*\)().*, \([0-9]*\)).*+\2 \1+p' | \
sort -n | \
gawk '{ atoms[$2] = 1 } \
END { for (atom in atoms) { print "void init_atom_map_"atom"(void);" } \
print "void init_atom_map() {"; \
print " static int init = 0; if (init) return; init++;"; \
for (atom in atoms) { print " init_atom_map_"atom"();" } \
print "}"; }' ) \
> atom-glue.c.tmp
/bin/grep -q init_atom_builder_ atom-glue.c.tmp
/bin/grep -q init_atom_map_ atom-glue.c.tmp
mv atom-glue.c.tmp atom-glue.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o atom-glue.lo atom-glue.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atom-glue.c -fPIC -DPIC -o .libs/atom-glue.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c atom-glue.c -fPIE -o atom-glue.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o fixedpoint.lo fixedpoint.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c fixedpoint.c -fPIC -DPIC -o .libs/fixedpoint.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c fixedpoint.c -fPIE -o fixedpoint.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=link gcc -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z,relro -Wl,-z,now -lbsd -Wl,-z,relro -o libfixedpoint.la fixedpoint.lo -lbsd
libtool: link: ar cr .libs/libfixedpoint.a .libs/fixedpoint.o
libtool: link: ranlib .libs/libfixedpoint.a
libtool: link: ( cd ".libs" && rm -f "libfixedpoint.la" && ln -s "../libfixedpoint.la" "libfixedpoint.la" )
/bin/bash ../../libtool --tag=CC --mode=link gcc -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z,relro -Wl,-z,now -lbsd -version-info 12:0:8 -Wl,--version-script=./lldpctl.map -Wl,-z,relro -o liblldpctl.la -rpath /usr/lib/x86_64-linux-gnu errors.lo connection.lo atom.lo helpers.lo atoms/config.lo atoms/dot1.lo atoms/dot3.lo atoms/interface.lo atoms/med.lo atoms/mgmt.lo atoms/port.lo atoms/custom.lo atoms/chassis.lo atom-glue.lo ../../src/libcommon-daemon-lib.la libfixedpoint.la -lbsd
libtool: link: gcc -shared -fPIC -DPIC .libs/errors.o .libs/connection.o .libs/atom.o .libs/helpers.o atoms/.libs/config.o atoms/.libs/dot1.o atoms/.libs/dot3.o atoms/.libs/interface.o atoms/.libs/med.o atoms/.libs/mgmt.o atoms/.libs/port.o atoms/.libs/custom.o atoms/.libs/chassis.o .libs/atom-glue.o -Wl,--whole-archive ../../src/.libs/libcommon-daemon-lib.a ./.libs/libfixedpoint.a -Wl,--no-whole-archive -lbsd -fstack-protector -fstack-protector-all -fstack-protector-strong -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--version-script=./lldpctl.map -Wl,-z -Wl,relro -Wl,-soname -Wl,liblldpctl.so.4 -o .libs/liblldpctl.so.4.8.0
libtool: link: (cd ".libs" && rm -f "liblldpctl.so.4" && ln -s "liblldpctl.so.4.8.0" "liblldpctl.so.4")
libtool: link: (cd ".libs" && rm -f "liblldpctl.so" && ln -s "liblldpctl.so.4.8.0" "liblldpctl.so")
libtool: link: (cd .libs/liblldpctl.lax/libcommon-daemon-lib.a && ar x "/sonic/src/lldpd/lldpd-1.0.4/src/lib/../../src/.libs/libcommon-daemon-lib.a")
libtool: link: (cd .libs/liblldpctl.lax/libfixedpoint.a && ar x "/sonic/src/lldpd/lldpd-1.0.4/src/lib/./.libs/libfixedpoint.a")
libtool: link: ar cr .libs/liblldpctl.a errors.o connection.o atom.o helpers.o atoms/config.o atoms/dot1.o atoms/dot3.o atoms/interface.o atoms/med.o atoms/mgmt.o atoms/port.o atoms/custom.o atoms/chassis.o atom-glue.o .libs/liblldpctl.lax/libcommon-daemon-lib.a/ctl.o .libs/liblldpctl.lax/libcommon-daemon-lib.a/empty.o .libs/liblldpctl.lax/libcommon-daemon-lib.a/lldpd-structs.o .libs/liblldpctl.lax/libcommon-daemon-lib.a/log.o .libs/liblldpctl.lax/libcommon-daemon-lib.a/marshal.o .libs/liblldpctl.lax/libcommon-daemon-lib.a/version.o .libs/liblldpctl.lax/libfixedpoint.a/fixedpoint.o
libtool: link: ranlib .libs/liblldpctl.a
libtool: link: rm -fr .libs/liblldpctl.lax
libtool: link: ( cd ".libs" && rm -f "liblldpctl.la" && ln -s "../liblldpctl.la" "liblldpctl.la" )
/bin/mkdir -p . && /bin/sed -e 's|@bindir[@]|/usr/bin|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@pkgdatadir[@]|/usr/share/lldpd|g' -e 's|@libdir[@]|/usr/lib/x86_64-linux-gnu|g' -e 's|@srcdir[@]|.|g' -e 's|@top_builddir[@]|../..|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@prefix[@]|/usr|g' -e 's|@VERSION[@]|1.0.4|g' -e 's|@PACKAGE[@]|lldpd|g' -e 's|@PACKAGE_NAME[@]|lldpd|g' -e 's|@PACKAGE_URL[@]|http://vincentbernat.github.io/lldpd/|g' -e 's|@PRIVSEP_USER[@]|_lldpd|g' -e 's|@PRIVSEP_GROUP[@]|_lldpd|g' -e 's|@PRIVSEP_CHROOT[@]|/var/run/lldpd|g' -e 's|@LLDPD_PID_FILE[@]|/var/run/lldpd.pid|g' -e 's|@LLDPD_CTL_SOCKET[@]|/var/run/lldpd.socket|g' -e 's|@PRIVSEP_CHROOT[@]|/var/run/lldpd|g' ./lldpctl.pc.in > lldpctl.pc.tmp && mv lldpctl.pc.tmp lldpctl.pc
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/lib'
Making all in src/client
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/client'
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o lldpcli-lldpcli.o `test -f 'lldpcli.c' || echo './'`lldpcli.c
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o lldpcli-display.o `test -f 'display.c' || echo './'`display.c
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o lldpcli-conf.o `test -f 'conf.c' || echo './'`conf.c
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o lldpcli-conf-med.o `test -f 'conf-med.c' || echo './'`conf-med.c
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o lldpcli-conf-dot3.o `test -f 'conf-dot3.c' || echo './'`conf-dot3.c
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o lldpcli-conf-power.o `test -f 'conf-power.c' || echo './'`conf-power.c
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o lldpcli-conf-lldp.o `test -f 'conf-lldp.c' || echo './'`conf-lldp.c
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o lldpcli-conf-system.o `test -f 'conf-system.c' || echo './'`conf-system.c
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o lldpcli-commands.o `test -f 'commands.c' || echo './'`commands.c
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o lldpcli-show.o `test -f 'show.c' || echo './'`show.c
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o lldpcli-misc.o `test -f 'misc.c' || echo './'`misc.c
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o lldpcli-tokenizer.o `test -f 'tokenizer.c' || echo './'`tokenizer.c
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o lldpcli-utf8.o `test -f 'utf8.c' || echo './'`utf8.c
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o lldpcli-text_writer.o `test -f 'text_writer.c' || echo './'`text_writer.c
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o lldpcli-kv_writer.o `test -f 'kv_writer.c' || echo './'`kv_writer.c
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o lldpcli-json_writer.o `test -f 'json_writer.c' || echo './'`json_writer.c
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o lldpcli-xml_writer.o `test -f 'xml_writer.c' || echo './'`xml_writer.c
/bin/bash ../../libtool --tag=CC --mode=link gcc -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z,relro -Wl,-z,now -lbsd -fPIE -pie -Wl,-z,relro -o lldpcli lldpcli-lldpcli.o lldpcli-display.o lldpcli-conf.o lldpcli-conf-med.o lldpcli-conf-dot3.o lldpcli-conf-power.o lldpcli-conf-lldp.o lldpcli-conf-system.o lldpcli-commands.o lldpcli-show.o lldpcli-misc.o lldpcli-tokenizer.o lldpcli-utf8.o lldpcli-text_writer.o lldpcli-kv_writer.o lldpcli-json_writer.o lldpcli-xml_writer.o ../../src/libcommon-daemon-client.la ../../src/lib/liblldpctl.la -lreadline -lxml2 -lbsd
libtool: link: gcc -I ../../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z -Wl,relro -Wl,-z -Wl,now -fPIE -pie -Wl,-z -Wl,relro -o .libs/lldpcli lldpcli-lldpcli.o lldpcli-display.o lldpcli-conf.o lldpcli-conf-med.o lldpcli-conf-dot3.o lldpcli-conf-power.o lldpcli-conf-lldp.o lldpcli-conf-system.o lldpcli-commands.o lldpcli-show.o lldpcli-misc.o lldpcli-tokenizer.o lldpcli-utf8.o lldpcli-text_writer.o lldpcli-kv_writer.o lldpcli-json_writer.o lldpcli-xml_writer.o ../../src/.libs/libcommon-daemon-client.a ../../src/lib/.libs/liblldpctl.so -lreadline -lxml2 -lbsd
/bin/mkdir -p . && /bin/sed -e 's|@bindir[@]|/usr/bin|g' -e 's|@sbindir[@]|/usr/sbin|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|@pkgdatadir[@]|/usr/share/lldpd|g' -e 's|@libdir[@]|/usr/lib/x86_64-linux-gnu|g' -e 's|@srcdir[@]|.|g' -e 's|@top_builddir[@]|../..|g' -e 's|@includedir[@]|/usr/include|g' -e 's|@exec_prefix[@]|/usr|g' -e 's|@prefix[@]|/usr|g' -e 's|@VERSION[@]|1.0.4|g' -e 's|@PACKAGE[@]|lldpd|g' -e 's|@PACKAGE_NAME[@]|lldpd|g' -e 's|@PACKAGE_URL[@]|http://vincentbernat.github.io/lldpd/|g' -e 's|@PRIVSEP_USER[@]|_lldpd|g' -e 's|@PRIVSEP_GROUP[@]|_lldpd|g' -e 's|@PRIVSEP_CHROOT[@]|/var/run/lldpd|g' -e 's|@LLDPD_PID_FILE[@]|/var/run/lldpd.pid|g' -e 's|@LLDPD_CTL_SOCKET[@]|/var/run/lldpd.socket|g' -e 's|@PRIVSEP_CHROOT[@]|/var/run/lldpd|g' ./lldpcli.8.in > lldpcli.8.tmp && mv lldpcli.8.tmp lldpcli.8
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/client'
Making all in tests
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/tests'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/tests'
Making all in osx
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/osx'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/osx'
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4'
if test -e ./.git; then \
prev=$(git describe --tags --always --match '[0-9]*' 2> /dev/null) ; \
for tag in $(git tag | /bin/grep -E '^[0-9]+(\.[0-9]+){1,}$' | sort -t. -k 1,1nr -k 2,2nr -k 3,3nr); do \
if [ x"$prev" = x ]; then prev=$tag ; fi ; \
if [ x"$prev" = x"$tag" ]; then continue; fi ; \
echo "$prev [$(git log --no-merges $prev -1 --pretty=format:'%ai')]:" ; \
echo "" ; \
git log --pretty=' - [%h] %s (%an)' $tag..$prev ; \
echo "" ; \
prev=$tag ; \
done > ChangeLog ; \
else \
touch ChangeLog ; \
fi
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4'
make[4]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4'
make[3]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4'
dh_auto_test
dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use)
make -j1 check VERBOSE=1
make[3]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4'
Making check in src/compat
make[4]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/compat'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/compat'
Making check in src
make[4]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src'
Making check in src/daemon
make[4]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/daemon'
make check-am
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/daemon'
make[5]: Nothing to be done for 'check-am'.
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/daemon'
make[4]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/daemon'
Making check in src/lib
make[4]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/lib'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/lib'
Making check in src/client
make[4]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/client'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/client'
Making check in tests
make[4]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/tests'
make check_marshal check_pattern check_lldp check_cdp check_sonmp check_edp check_fixedpoint check_snmp decode
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/tests'
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o check_marshal.o check_marshal.c
In file included from check_marshal.c:20:
check_marshal.c: In function 'test_simple_structure_fn':
check_marshal.c:57:23: warning: too many arguments for format [-Wformat-extra-args]
57 | fail_unless(len > 0, "Unable to serialize");
| ^~~~~~~~~~~~~~~~~~~~~
check_marshal.c:60:24: warning: too many arguments for format [-Wformat-extra-args]
60 | fail_unless(len2 > 0, "Unable to deserialize");
| ^~~~~~~~~~~~~~~~~~~~~~~
check_marshal.c: In function 'test_substruct_structure_fn':
check_marshal.c:105:23: warning: too many arguments for format [-Wformat-extra-args]
105 | fail_unless(len > 0, "Unable to serialize");
| ^~~~~~~~~~~~~~~~~~~~~
check_marshal.c:108:24: warning: too many arguments for format [-Wformat-extra-args]
108 | fail_unless(len2 > 0, "Unable to deserialize");
| ^~~~~~~~~~~~~~~~~~~~~~~
check_marshal.c: In function 'test_pointer_structure_fn':
check_marshal.c:160:23: warning: too many arguments for format [-Wformat-extra-args]
160 | fail_unless(len > 0, "Unable to serialize");
| ^~~~~~~~~~~~~~~~~~~~~
check_marshal.c:164:24: warning: too many arguments for format [-Wformat-extra-args]
164 | fail_unless(len2 > 0, "Unable to deserialize");
| ^~~~~~~~~~~~~~~~~~~~~~~
check_marshal.c: In function 'test_several_pointers_structure_fn':
check_marshal.c:233:23: warning: too many arguments for format [-Wformat-extra-args]
233 | fail_unless(len > 0, "Unable to serialize");
| ^~~~~~~~~~~~~~~~~~~~~
check_marshal.c:239:24: warning: too many arguments for format [-Wformat-extra-args]
239 | fail_unless(len2 > 0, "Unable to deserialize");
| ^~~~~~~~~~~~~~~~~~~~~~~
check_marshal.c: In function 'test_null_pointers_fn':
check_marshal.c:292:23: warning: too many arguments for format [-Wformat-extra-args]
292 | fail_unless(len > 0, "Unable to serialize");
| ^~~~~~~~~~~~~~~~~~~~~
check_marshal.c:296:24: warning: too many arguments for format [-Wformat-extra-args]
296 | fail_unless(len2 > 0, "Unable to deserialize");
| ^~~~~~~~~~~~~~~~~~~~~~~
check_marshal.c: In function 'test_multiple_references_fn':
check_marshal.c:349:30: warning: too many arguments for format [-Wformat-extra-args]
349 | fail_unless(buffer != NULL, "Buffer is empty");
| ^~~~~~~~~~~~~~~~~
check_marshal.c:350:23: warning: too many arguments for format [-Wformat-extra-args]
350 | fail_unless(len > 0, "Unable to serialize");
| ^~~~~~~~~~~~~~~~~~~~~
check_marshal.c:355:24: warning: too many arguments for format [-Wformat-extra-args]
355 | fail_unless(len2 > 0, "Unable to deserialize");
| ^~~~~~~~~~~~~~~~~~~~~~~
check_marshal.c: In function 'test_circular_references_fn':
check_marshal.c:389:23: warning: too many arguments for format [-Wformat-extra-args]
389 | fail_unless(len > 0, "Unable to serialize");
| ^~~~~~~~~~~~~~~~~~~~~
check_marshal.c:392:24: warning: too many arguments for format [-Wformat-extra-args]
392 | fail_unless(len2 > 0, "Unable to deserialize");
| ^~~~~~~~~~~~~~~~~~~~~~~
check_marshal.c: In function 'test_too_small_unmarshal_fn':
check_marshal.c:420:23: warning: too many arguments for format [-Wformat-extra-args]
420 | fail_unless(len > 0, "Unable to serialize");
| ^~~~~~~~~~~~~~~~~~~~~
check_marshal.c:429:9: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
429 | "Should not be able to deserialize, too small (%d<%d)",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
430 | i, len);
| ~~~
| |
| size_t {aka long unsigned int}
check_marshal.c:429:60: note: format string is defined here
429 | "Should not be able to deserialize, too small (%d<%d)",
| ~^
| |
| int
| %ld
In file included from check_marshal.c:20:
check_marshal.c:429:9: warning: too many arguments for format [-Wformat-extra-args]
429 | "Should not be able to deserialize, too small (%d<%d)",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check_marshal.c:434:27: warning: too many arguments for format [-Wformat-extra-args]
434 | fail_unless(len2 == len, "Deserialized too much");
| ^~~~~~~~~~~~~~~~~~~~~~~
check_marshal.c: In function 'test_simple_list_fn':
check_marshal.c:493:23: warning: too many arguments for format [-Wformat-extra-args]
493 | fail_unless(len > 0, "Unable to serialize");
| ^~~~~~~~~~~~~~~~~~~~~
check_marshal.c:500:24: warning: too many arguments for format [-Wformat-extra-args]
500 | fail_unless(len2 > 0, "Unable to deserialize");
| ^~~~~~~~~~~~~~~~~~~~~~~
check_marshal.c: In function 'test_simple_repaired_list_fn':
check_marshal.c:567:23: warning: too many arguments for format [-Wformat-extra-args]
567 | fail_unless(len > 0, "Unable to serialize");
| ^~~~~~~~~~~~~~~~~~~~~
check_marshal.c:574:24: warning: too many arguments for format [-Wformat-extra-args]
574 | fail_unless(len2 > 0, "Unable to deserialize");
| ^~~~~~~~~~~~~~~~~~~~~~~
check_marshal.c: In function 'test_empty_repaired_list_fn':
check_marshal.c:611:23: warning: too many arguments for format [-Wformat-extra-args]
611 | fail_unless(len > 0, "Unable to serialize");
| ^~~~~~~~~~~~~~~~~~~~~
check_marshal.c:614:24: warning: too many arguments for format [-Wformat-extra-args]
614 | fail_unless(len2 > 0, "Unable to deserialize");
| ^~~~~~~~~~~~~~~~~~~~~~~
check_marshal.c: In function 'test_embedded_list_fn':
check_marshal.c:680:23: warning: too many arguments for format [-Wformat-extra-args]
680 | fail_unless(len > 0, "Unable to serialize");
| ^~~~~~~~~~~~~~~~~~~~~
check_marshal.c:687:24: warning: too many arguments for format [-Wformat-extra-args]
687 | fail_unless(len2 > 0, "Unable to deserialize");
| ^~~~~~~~~~~~~~~~~~~~~~~
check_marshal.c: In function 'test_string_fn':
check_marshal.c:737:23: warning: too many arguments for format [-Wformat-extra-args]
737 | fail_unless(len > 0, "Unable to serialize");
| ^~~~~~~~~~~~~~~~~~~~~
check_marshal.c:740:24: warning: too many arguments for format [-Wformat-extra-args]
740 | fail_unless(len2 > 0, "Unable to deserialize");
| ^~~~~~~~~~~~~~~~~~~~~~~
check_marshal.c: In function 'test_fixed_string_fn':
check_marshal.c:774:23: warning: too many arguments for format [-Wformat-extra-args]
774 | fail_unless(len > 0, "Unable to serialize");
| ^~~~~~~~~~~~~~~~~~~~~
check_marshal.c:777:24: warning: too many arguments for format [-Wformat-extra-args]
777 | fail_unless(len2 > 0, "Unable to deserialize");
| ^~~~~~~~~~~~~~~~~~~~~~~
check_marshal.c: In function 'test_ignore_fn':
check_marshal.c:815:23: warning: too many arguments for format [-Wformat-extra-args]
815 | fail_unless(len > 0, "Unable to serialize");
| ^~~~~~~~~~~~~~~~~~~~~
check_marshal.c:818:24: warning: too many arguments for format [-Wformat-extra-args]
818 | fail_unless(len2 > 0, "Unable to deserialize");
| ^~~~~~~~~~~~~~~~~~~~~~~
check_marshal.c: In function 'test_equality_fn':
check_marshal.c:850:24: warning: too many arguments for format [-Wformat-extra-args]
850 | fail_unless(len1 > 0, "Unable to serialize");
| ^~~~~~~~~~~~~~~~~~~~~
check_marshal.c:851:24: warning: too many arguments for format [-Wformat-extra-args]
851 | fail_unless(len2 > 0, "Unable to serialize");
| ^~~~~~~~~~~~~~~~~~~~~
check_marshal.c:853:47: warning: too many arguments for format [-Wformat-extra-args]
853 | fail_unless(!memcmp(buffer1, buffer2, len1), "Same content should give the same serialization");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/bash ../libtool --tag=CC --mode=link gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z,relro -Wl,-z,now -lbsd -fPIE -pie -Wl,-z,relro -o check_marshal check_marshal.o ../src/daemon/liblldpd.la -lcheck_pic -pthread -lrt -lm -lsubunit -Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lm -lpcre -lnetsnmpagent -lpcre -lwrap -Wl,-E -lnetsnmp -lm -lssl -lssl -lcrypto -lbsd
libtool: link: gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z -Wl,relro -Wl,-z -Wl,now -fPIE -pie -Wl,-z -Wl,relro -o check_marshal check_marshal.o -pthread -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-E ../src/daemon/.libs/liblldpd.a -levent -lcap -lcheck_pic -lrt -lsubunit -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lnetsnmpagent -lpcre -lwrap -lnetsnmp -lm -lssl -lcrypto -lbsd -pthread
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o check_pattern.o check_pattern.c
/bin/bash ../libtool --tag=CC --mode=link gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z,relro -Wl,-z,now -lbsd -fPIE -pie -Wl,-z,relro -o check_pattern check_pattern.o ../src/daemon/liblldpd.la -lcheck_pic -pthread -lrt -lm -lsubunit -Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lm -lpcre -lnetsnmpagent -lpcre -lwrap -Wl,-E -lnetsnmp -lm -lssl -lssl -lcrypto -lbsd
libtool: link: gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z -Wl,relro -Wl,-z -Wl,now -fPIE -pie -Wl,-z -Wl,relro -o check_pattern check_pattern.o -pthread -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-E ../src/daemon/.libs/liblldpd.a -levent -lcap -lcheck_pic -lrt -lsubunit -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lnetsnmpagent -lpcre -lwrap -lnetsnmp -lm -lssl -lcrypto -lbsd -pthread
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o check_lldp.o check_lldp.c
In file included from check_lldp.c:22:
check_lldp.c: In function 'test_send_rcv_basic_fn':
check_lldp.c:161:8: warning: too many arguments for format [-Wformat-extra-args]
161 | fail("unable to build packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~
check_lldp.c:165:8: warning: too many arguments for format [-Wformat-extra-args]
165 | fail("no packets sent");
| ^~~~~~~~~~~~~~~~~
check_lldp.c:169:45: warning: too many arguments for format [-Wformat-extra-args]
169 | fail_unless(TAILQ_NEXT(pkt, next) == NULL, "more than one packet sent");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
check_lldp.c:175:8: warning: too many arguments for format [-Wformat-extra-args]
175 | fail("unable to decode packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
check_lldp.c: In function 'test_send_rcv_dot1_tlvs_fn':
check_lldp.c:232:8: warning: too many arguments for format [-Wformat-extra-args]
232 | fail("unable to build packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~
check_lldp.c:236:8: warning: too many arguments for format [-Wformat-extra-args]
236 | fail("no packets sent");
| ^~~~~~~~~~~~~~~~~
check_lldp.c:240:45: warning: too many arguments for format [-Wformat-extra-args]
240 | fail_unless(TAILQ_NEXT(pkt, next) == NULL, "more than one packet sent");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
check_lldp.c:246:8: warning: too many arguments for format [-Wformat-extra-args]
246 | fail("unable to decode packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
check_lldp.c:256:8: warning: too many arguments for format [-Wformat-extra-args]
256 | fail("no VLAN");
| ^~~~~~~~~
check_lldp.c:266:8: warning: too many arguments for format [-Wformat-extra-args]
266 | fail("no more VLAN");
| ^~~~~~~~~~~~~~
check_lldp.c:274:8: warning: too many arguments for format [-Wformat-extra-args]
274 | fail("no more VLAN");
| ^~~~~~~~~~~~~~
check_lldp.c:286:8: warning: too many arguments for format [-Wformat-extra-args]
286 | fail("no Port Protocal VLAN ID");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
check_lldp.c:294:8: warning: too many arguments for format [-Wformat-extra-args]
294 | fail("no Protocal Identity TLV");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
check_lldp.c:303:8: warning: too many arguments for format [-Wformat-extra-args]
303 | fail("no more Protocol Identity TLVs");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check_lldp.c: In function 'test_send_rcv_med_fn':
check_lldp.c:368:8: warning: too many arguments for format [-Wformat-extra-args]
368 | fail("unable to build packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~
check_lldp.c:372:8: warning: too many arguments for format [-Wformat-extra-args]
372 | fail("no packets sent");
| ^~~~~~~~~~~~~~~~~
check_lldp.c:376:45: warning: too many arguments for format [-Wformat-extra-args]
376 | fail_unless(TAILQ_NEXT(pkt, next) == NULL, "more than one packet sent");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
check_lldp.c:382:8: warning: too many arguments for format [-Wformat-extra-args]
382 | fail("unable to decode packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
check_lldp.c: In function 'test_send_rcv_dot3_fn':
check_lldp.c:428:8: warning: too many arguments for format [-Wformat-extra-args]
428 | fail("unable to build packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~
check_lldp.c:432:8: warning: too many arguments for format [-Wformat-extra-args]
432 | fail("no packets sent");
| ^~~~~~~~~~~~~~~~~
check_lldp.c:436:45: warning: too many arguments for format [-Wformat-extra-args]
436 | fail_unless(TAILQ_NEXT(pkt, next) == NULL, "more than one packet sent");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
check_lldp.c:442:8: warning: too many arguments for format [-Wformat-extra-args]
442 | fail("unable to decode packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
check_lldp.c: In function 'test_recv_min_fn':
check_lldp.c:498:8: warning: too many arguments for format [-Wformat-extra-args]
498 | fail("unable to decode packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
check_lldp.c: In function 'test_recv_lldpd_fn':
check_lldp.c:703:8: warning: too many arguments for format [-Wformat-extra-args]
703 | fail("unable to decode packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o common.o common.c
In file included from common.c:25:
common.c: In function 'pcap_send':
common.c:49:8: warning: too many arguments for format [-Wformat-extra-args]
49 | fail("unable to write pcap record header to %s", filename);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
common.c:56:8: warning: too many arguments for format [-Wformat-extra-args]
56 | fail("unable to write pcap data to %s", filename);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
common.c:63:8: warning: too many arguments for format [-Wformat-extra-args]
63 | fail("unable to allocate packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
common.c: In function 'pcap_setup':
common.c:90:8: warning: too many arguments for format [-Wformat-extra-args]
90 | fail("unable to compute filename");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
common.c:95:8: warning: too many arguments for format [-Wformat-extra-args]
95 | fail("unable to open %s", filename);
| ^~~~~~~~~~~~~~~~~~~
common.c:108:8: warning: too many arguments for format [-Wformat-extra-args]
108 | fail("unable to write pcap header to %s", filename);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/bash ../libtool --tag=CC --mode=link gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z,relro -Wl,-z,now -lbsd -fPIE -pie -Wl,-z,relro -o check_lldp check_lldp.o common.o ../src/daemon/liblldpd.la -lcheck_pic -pthread -lrt -lm -lsubunit -Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lm -lpcre -lnetsnmpagent -lpcre -lwrap -Wl,-E -lnetsnmp -lm -lssl -lssl -lcrypto -lbsd
libtool: link: gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z -Wl,relro -Wl,-z -Wl,now -fPIE -pie -Wl,-z -Wl,relro -o check_lldp check_lldp.o common.o -pthread -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-E ../src/daemon/.libs/liblldpd.a -levent -lcap -lcheck_pic -lrt -lsubunit -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lnetsnmpagent -lpcre -lwrap -lnetsnmp -lm -lssl -lcrypto -lbsd -pthread
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o check_cdp.o check_cdp.c
In file included from check_cdp.c:22:
check_cdp.c: In function 'test_send_cdpv1_fn':
check_cdp.c:139:8: warning: too many arguments for format [-Wformat-extra-args]
139 | fail("unable to build packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~
check_cdp.c:143:8: warning: too many arguments for format [-Wformat-extra-args]
143 | fail("no packets sent");
| ^~~~~~~~~~~~~~~~~
check_cdp.c:149:45: warning: too many arguments for format [-Wformat-extra-args]
149 | fail_unless(TAILQ_NEXT(pkt, next) == NULL, "more than one packet sent");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
check_cdp.c: In function 'test_send_cdpv2_fn':
check_cdp.c:279:8: warning: too many arguments for format [-Wformat-extra-args]
279 | fail("unable to build packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~
check_cdp.c:283:8: warning: too many arguments for format [-Wformat-extra-args]
283 | fail("no packets sent");
| ^~~~~~~~~~~~~~~~~
check_cdp.c:289:45: warning: too many arguments for format [-Wformat-extra-args]
289 | fail_unless(TAILQ_NEXT(pkt, next) == NULL, "more than one packet sent");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
check_cdp.c: In function 'test_recv_cdpv1_fn':
check_cdp.c:403:8: warning: too many arguments for format [-Wformat-extra-args]
403 | fail("unable to decode packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
check_cdp.c: In function 'test_recv_cdpv2_fn':
check_cdp.c:546:8: warning: too many arguments for format [-Wformat-extra-args]
546 | fail("unable to decode packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/bin/bash ../libtool --tag=CC --mode=link gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z,relro -Wl,-z,now -lbsd -fPIE -pie -Wl,-z,relro -o check_cdp check_cdp.o common.o ../src/daemon/liblldpd.la -lcheck_pic -pthread -lrt -lm -lsubunit -Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lm -lpcre -lnetsnmpagent -lpcre -lwrap -Wl,-E -lnetsnmp -lm -lssl -lssl -lcrypto -lbsd
libtool: link: gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z -Wl,relro -Wl,-z -Wl,now -fPIE -pie -Wl,-z -Wl,relro -o check_cdp check_cdp.o common.o -pthread -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-E ../src/daemon/.libs/liblldpd.a -levent -lcap -lcheck_pic -lrt -lsubunit -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lnetsnmpagent -lpcre -lwrap -lnetsnmp -lm -lssl -lcrypto -lbsd -pthread
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o check_sonmp.o check_sonmp.c
In file included from check_sonmp.c:22:
check_sonmp.c: In function 'test_send_sonmp_fn':
check_sonmp.c:111:8: warning: too many arguments for format [-Wformat-extra-args]
111 | fail("unable to build packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~
check_sonmp.c:115:8: warning: too many arguments for format [-Wformat-extra-args]
115 | fail("no packets sent");
| ^~~~~~~~~~~~~~~~~
check_sonmp.c:123:8: warning: too many arguments for format [-Wformat-extra-args]
123 | fail("need one more packet");
| ^~~~~~~~~~~~~~~~~~~~~~
check_sonmp.c:128:45: warning: too many arguments for format [-Wformat-extra-args]
128 | fail_unless(TAILQ_NEXT(pkt, next) == NULL, "more than two packets sent");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
check_sonmp.c: In function 'test_recv_sonmp_fn':
check_sonmp.c:175:8: warning: too many arguments for format [-Wformat-extra-args]
175 | fail("unable to decode packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/bin/bash ../libtool --tag=CC --mode=link gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z,relro -Wl,-z,now -lbsd -fPIE -pie -Wl,-z,relro -o check_sonmp check_sonmp.o common.o ../src/daemon/liblldpd.la -lcheck_pic -pthread -lrt -lm -lsubunit -Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lm -lpcre -lnetsnmpagent -lpcre -lwrap -Wl,-E -lnetsnmp -lm -lssl -lssl -lcrypto -lbsd
libtool: link: gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z -Wl,relro -Wl,-z -Wl,now -fPIE -pie -Wl,-z -Wl,relro -o check_sonmp check_sonmp.o common.o -pthread -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-E ../src/daemon/.libs/liblldpd.a -levent -lcap -lcheck_pic -lrt -lsubunit -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lnetsnmpagent -lpcre -lwrap -lnetsnmp -lm -lssl -lcrypto -lbsd -pthread
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o check_edp.o check_edp.c
In file included from check_edp.c:22:
check_edp.c: In function 'test_send_basic_fn':
check_edp.c:100:8: warning: too many arguments for format [-Wformat-extra-args]
100 | fail("unable to build packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~
check_edp.c:104:8: warning: too many arguments for format [-Wformat-extra-args]
104 | fail("no packets sent");
| ^~~~~~~~~~~~~~~~~
check_edp.c:110:45: warning: too many arguments for format [-Wformat-extra-args]
110 | fail_unless(TAILQ_NEXT(pkt, next) == NULL, "more than one packet sent");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
check_edp.c: In function 'test_send_vlans_fn':
check_edp.c:271:8: warning: too many arguments for format [-Wformat-extra-args]
271 | fail("unable to build packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~
check_edp.c:275:8: warning: too many arguments for format [-Wformat-extra-args]
275 | fail("no packets sent");
| ^~~~~~~~~~~~~~~~~
check_edp.c:283:8: warning: too many arguments for format [-Wformat-extra-args]
283 | fail("need one more packet");
| ^~~~~~~~~~~~~~~~~~~~~~
check_edp.c:288:45: warning: too many arguments for format [-Wformat-extra-args]
288 | fail_unless(TAILQ_NEXT(pkt, next) == NULL, "more than two packets sent");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
check_edp.c: In function 'test_recv_edp_fn':
check_edp.c:522:8: warning: too many arguments for format [-Wformat-extra-args]
522 | fail("unable to decode packet");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
check_edp.c:551:8: warning: too many arguments for format [-Wformat-extra-args]
551 | fail("unable to find our previous port?");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check_edp.c:557:8: warning: too many arguments for format [-Wformat-extra-args]
557 | fail("no VLAN");
| ^~~~~~~~~
check_edp.c:565:8: warning: too many arguments for format [-Wformat-extra-args]
565 | fail("no more VLAN");
| ^~~~~~~~~~~~~~
check_edp.c:572:8: warning: too many arguments for format [-Wformat-extra-args]
572 | fail("no more VLAN");
| ^~~~~~~~~~~~~~
/bin/bash ../libtool --tag=CC --mode=link gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z,relro -Wl,-z,now -lbsd -fPIE -pie -Wl,-z,relro -o check_edp check_edp.o common.o ../src/daemon/liblldpd.la -lcheck_pic -pthread -lrt -lm -lsubunit -Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lm -lpcre -lnetsnmpagent -lpcre -lwrap -Wl,-E -lnetsnmp -lm -lssl -lssl -lcrypto -lbsd
libtool: link: gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z -Wl,relro -Wl,-z -Wl,now -fPIE -pie -Wl,-z -Wl,relro -o check_edp check_edp.o common.o -pthread -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-E ../src/daemon/.libs/liblldpd.a -levent -lcap -lcheck_pic -lrt -lsubunit -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lnetsnmpagent -lpcre -lwrap -lnetsnmp -lm -lssl -lcrypto -lbsd -pthread
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o check_fixedpoint.o check_fixedpoint.c
/bin/bash ../libtool --tag=CC --mode=link gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z,relro -Wl,-z,now -lbsd -fPIE -pie -Wl,-z,relro -o check_fixedpoint check_fixedpoint.o ../src/lib/libfixedpoint.la ../src/daemon/liblldpd.la -lcheck_pic -pthread -lrt -lm -lsubunit -Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lm -lpcre -lnetsnmpagent -lpcre -lwrap -Wl,-E -lnetsnmp -lm -lssl -lssl -lcrypto -lbsd
libtool: link: gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z -Wl,relro -Wl,-z -Wl,now -fPIE -pie -Wl,-z -Wl,relro -o check_fixedpoint check_fixedpoint.o -pthread -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-E ../src/lib/.libs/libfixedpoint.a ../src/daemon/.libs/liblldpd.a -levent -lcap -lcheck_pic -lrt -lsubunit -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lnetsnmpagent -lpcre -lwrap -lnetsnmp -lm -lssl -lcrypto -lbsd -pthread
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o check_snmp.o check_snmp.c
In file included from check_snmp.c:18:
check_snmp.c: In function 'tohex':
check_snmp.c:910:34: warning: too many arguments for format [-Wformat-extra-args]
910 | fail_unless(hex[which] != NULL, "Not enough memory?");
| ^~~~~~~~~~~~~~~~~~~~
check_snmp.c: In function 'snmp_is_prefix_of':
check_snmp.c:925:35: warning: too many arguments for format [-Wformat-extra-args]
925 | fail_unless(n->type == vp->type, "Inappropriate type for OID %s", repr);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check_snmp.c: In function 'snmp_compare':
check_snmp.c:962:7: warning: too many arguments for format [-Wformat-extra-args]
962 | "Bad OID returned when querying %s: got %s", repr,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check_snmp.c:970:8: warning: too many arguments for format [-Wformat-extra-args]
970 | "Inappropriate length for integer type for OID %s",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check_snmp.c:974:8: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=]
974 | "For OID %s, expected value %u but got %u instead",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
975 | repr,
976 | n->value.integer,
| ~~~~~~~~~~~~~~~~
| |
| long unsigned int
check_snmp.c:974:37: note: format string is defined here
974 | "For OID %s, expected value %u but got %u instead",
| ~^
| |
| unsigned int
| %lu
In file included from check_snmp.c:18:
check_snmp.c:974:8: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=]
974 | "For OID %s, expected value %u but got %u instead",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......
977 | value);
| ~~~~~
| |
| long unsigned int
check_snmp.c:974:48: note: format string is defined here
974 | "For OID %s, expected value %u but got %u instead",
| ~^
| |
| unsigned int
| %lu
In file included from check_snmp.c:18:
check_snmp.c:974:8: warning: too many arguments for format [-Wformat-extra-args]
974 | "For OID %s, expected value %u but got %u instead",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check_snmp.c:983:8: warning: too many arguments for format [-Wformat-extra-args]
983 | "OID %s: wanted %s, got %s",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
check_snmp.c: In function 'test_variable_order_fn':
check_snmp.c:998:8: warning: too many arguments for format [-Wformat-extra-args]
998 | "Registered OID are out of orders (see %s and next one)",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check_snmp.c: In function 'test_get_fn':
check_snmp.c:1037:9: warning: too many arguments for format [-Wformat-extra-args]
1037 | "No result when querying %s", repr);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
check_snmp.c:1044:9: warning: too many arguments for format [-Wformat-extra-args]
1044 | fail("OID %s not found", repr);
| ^~~~~~~~~~~~~~~~~~
check_snmp.c: In function 'test_getnext_fn':
check_snmp.c:1073:9: warning: too many arguments for format [-Wformat-extra-args]
1073 | "No next result found for %s", repr);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check_snmp.c:1077:8: warning: too many arguments for format [-Wformat-extra-args]
1077 | "More results after %s", repr);
| ^~~~~~~~~~~~~~~~~~~~~~~
/bin/bash ../libtool --tag=CC --mode=link gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z,relro -Wl,-z,now -lbsd -fPIE -pie -Wl,-z,relro -o check_snmp check_snmp.o ../src/daemon/liblldpd.la -lcheck_pic -pthread -lrt -lm -lsubunit -Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lm -lpcre -lnetsnmpagent -lpcre -lwrap -Wl,-E -lnetsnmp -lm -lssl -lssl -lcrypto -lbsd
libtool: link: gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z -Wl,relro -Wl,-z -Wl,now -fPIE -pie -Wl,-z -Wl,relro -o check_snmp check_snmp.o -pthread -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-E ../src/daemon/.libs/liblldpd.a -levent -lcap -lcheck_pic -lrt -lsubunit -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lnetsnmpagent -lpcre -lwrap -lnetsnmp -lm -lssl -lcrypto -lbsd -pthread
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -c -o decode.o decode.c
/bin/bash ../libtool --tag=CC --mode=link gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z,relro -Wl,-z,now -lbsd -fPIE -pie -Wl,-z,relro -o decode decode.o common.o ../src/daemon/liblldpd.la -lcheck_pic -pthread -lrt -lm -lsubunit -Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lm -lpcre -lnetsnmpagent -lpcre -lwrap -Wl,-E -lnetsnmp -lm -lssl -lssl -lcrypto -lbsd
libtool: link: gcc -I ../include -fdiagnostics-show-option -fdiagnostics-color=auto -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wcast-align -Winline -Wpointer-arith -fno-omit-frame-pointer -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection -fPIE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -pthread -g -O2 -ffile-prefix-map=/sonic/src/lldpd/lldpd-1.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -Wl,-z -Wl,relro -Wl,-z -Wl,now -fPIE -pie -Wl,-z -Wl,relro -o decode decode.o common.o -pthread -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-E ../src/daemon/.libs/liblldpd.a -levent -lcap -lcheck_pic -lrt -lsubunit -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnl-3 -lsensors -lpci -ldl -lnetsnmpagent -lpcre -lwrap -lnetsnmp -lm -lssl -lcrypto -lbsd -pthread
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/tests'
make check-TESTS
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/tests'
make[6]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/tests'
PASS: check_marshal
PASS: check_pattern
PASS: check_lldp
PASS: check_cdp
PASS: check_sonmp
PASS: check_edp
PASS: check_fixedpoint
PASS: check_snmp
============================================================================
Testsuite summary for lldpd 1.0.4
============================================================================
# TOTAL: 8
# PASS: 8
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
make[6]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/tests'
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/tests'
make[4]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/tests'
Making check in osx
make[4]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/osx'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/osx'
make[4]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4'
if test -e ./.git; then \
prev=$(git describe --tags --always --match '[0-9]*' 2> /dev/null) ; \
for tag in $(git tag | /bin/grep -E '^[0-9]+(\.[0-9]+){1,}$' | sort -t. -k 1,1nr -k 2,2nr -k 3,3nr); do \
if [ x"$prev" = x ]; then prev=$tag ; fi ; \
if [ x"$prev" = x"$tag" ]; then continue; fi ; \
echo "$prev [$(git log --no-merges $prev -1 --pretty=format:'%ai')]:" ; \
echo "" ; \
git log --pretty=' - [%h] %s (%an)' $tag..$prev ; \
echo "" ; \
prev=$tag ; \
done > ChangeLog ; \
else \
touch ChangeLog ; \
fi
make[4]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4'
make[3]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4'
make[2]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4'
fakeroot debian/rules binary
make[2]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
dh binary --with autoreconf --with systemd
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_testroot
dh_prep
dh_auto_install
dh_auto_install: warning: Compatibility levels before 10 are deprecated (level 9 in use)
make -j1 install DESTDIR=/sonic/src/lldpd/lldpd-1.0.4/debian/tmp AM_UPDATE_INFO_DIR=no
make[3]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4'
Making install in src/compat
make[4]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/compat'
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/compat'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/compat'
make[4]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/compat'
Making install in src
make[4]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src'
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src'
make[5]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/include'
/usr/bin/install -c -m 644 lldp-const.h '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/include'
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src'
make[4]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src'
Making install in src/daemon
make[4]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/daemon'
make install-am
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/daemon'
make[6]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/daemon'
/bin/mkdir -p '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/sbin'
/bin/bash ../../libtool --mode=install /usr/bin/install -c lldpd '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/sbin'
libtool: install: /usr/bin/install -c lldpd /sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/sbin/lldpd
/bin/mkdir -p '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/share/man/man8'
/usr/bin/install -c -m 644 lldpd.8 '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/share/man/man8'
/bin/mkdir -p '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/lib/systemd/system'
/usr/bin/install -c -m 644 lldpd.service '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/lib/systemd/system'
/bin/mkdir -p '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/lib/sysusers.d'
/usr/bin/install -c -m 644 lldpd.sysusers.conf '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/lib/sysusers.d'
make[6]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/daemon'
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/daemon'
make[4]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/daemon'
Making install in src/lib
make[4]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/lib'
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/lib'
/bin/mkdir -p '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/lib/x86_64-linux-gnu'
/bin/bash ../../libtool --mode=install /usr/bin/install -c liblldpctl.la '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/lib/x86_64-linux-gnu'
libtool: install: /usr/bin/install -c .libs/liblldpctl.so.4.8.0 /sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/lib/x86_64-linux-gnu/liblldpctl.so.4.8.0
libtool: install: (cd /sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/lib/x86_64-linux-gnu && { ln -s -f liblldpctl.so.4.8.0 liblldpctl.so.4 || { rm -f liblldpctl.so.4 && ln -s liblldpctl.so.4.8.0 liblldpctl.so.4; }; })
libtool: install: (cd /sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/lib/x86_64-linux-gnu && { ln -s -f liblldpctl.so.4.8.0 liblldpctl.so || { rm -f liblldpctl.so && ln -s liblldpctl.so.4.8.0 liblldpctl.so; }; })
libtool: install: /usr/bin/install -c .libs/liblldpctl.lai /sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/lib/x86_64-linux-gnu/liblldpctl.la
libtool: install: /usr/bin/install -c .libs/liblldpctl.a /sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/lib/x86_64-linux-gnu/liblldpctl.a
libtool: install: chmod 644 /sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/lib/x86_64-linux-gnu/liblldpctl.a
libtool: install: ranlib /sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/lib/x86_64-linux-gnu/liblldpctl.a
libtool: warning: remember to run 'libtool --finish /usr/lib/x86_64-linux-gnu'
/bin/mkdir -p '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/include'
/usr/bin/install -c -m 644 lldpctl.h '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/include'
/bin/mkdir -p '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig'
/usr/bin/install -c -m 644 lldpctl.pc '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig'
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/lib'
make[4]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/lib'
Making install in src/client
make[4]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/client'
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/src/client'
cd /sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/sbin && rm -f lldpctl
cd /sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/sbin && ln -s lldpcli lldpctl
/bin/mkdir -p '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/sbin'
/bin/bash ../../libtool --mode=install /usr/bin/install -c lldpcli '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/sbin'
libtool: warning: '../../src/lib/liblldpctl.la' has not been installed in '/usr/lib/x86_64-linux-gnu'
libtool: install: /usr/bin/install -c .libs/lldpcli /sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/sbin/lldpcli
/bin/mkdir -p '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/share/bash-completion/completions'
/usr/bin/install -c -m 644 completion/lldpcli '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/share/bash-completion/completions'
/bin/mkdir -p '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/etc/lldpd.d'
/usr/bin/install -c -m 644 README.conf '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/etc/lldpd.d'
/bin/mkdir -p '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/share/zsh/vendor-completions'
/usr/bin/install -c -m 644 completion/_lldpcli '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/share/zsh/vendor-completions'
/bin/mkdir -p '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/share/man/man8'
/usr/bin/install -c -m 644 lldpctl.8 lldpcli.8 '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/share/man/man8'
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/client'
make[4]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/src/client'
Making install in tests
make[4]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/tests'
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/tests'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/tests'
make[4]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/tests'
Making install in osx
make[4]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/osx'
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4/osx'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/osx'
make[4]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4/osx'
make[4]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4'
if test -e ./.git; then \
prev=$(git describe --tags --always --match '[0-9]*' 2> /dev/null) ; \
for tag in $(git tag | /bin/grep -E '^[0-9]+(\.[0-9]+){1,}$' | sort -t. -k 1,1nr -k 2,2nr -k 3,3nr); do \
if [ x"$prev" = x ]; then prev=$tag ; fi ; \
if [ x"$prev" = x"$tag" ]; then continue; fi ; \
echo "$prev [$(git log --no-merges $prev -1 --pretty=format:'%ai')]:" ; \
echo "" ; \
git log --pretty=' - [%h] %s (%an)' $tag..$prev ; \
echo "" ; \
prev=$tag ; \
done > ChangeLog ; \
else \
touch ChangeLog ; \
fi
make[5]: Entering directory '/sonic/src/lldpd/lldpd-1.0.4'
make[5]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/share/doc/lldpd'
/usr/bin/install -c -m 644 README.md NEWS CONTRIBUTE.md LICENSE '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/share/doc/lldpd'
if test -e ./.git; then \
prev=$(git describe --tags --always --match '[0-9]*' 2> /dev/null) ; \
for tag in $(git tag | /bin/grep -E '^[0-9]+(\.[0-9]+){1,}$' | sort -t. -k 1,1nr -k 2,2nr -k 3,3nr); do \
if [ x"$prev" = x ]; then prev=$tag ; fi ; \
if [ x"$prev" = x"$tag" ]; then continue; fi ; \
echo "$prev [$(git log --no-merges $prev -1 --pretty=format:'%ai')]:" ; \
echo "" ; \
git log --pretty=' - [%h] %s (%an)' $tag..$prev ; \
echo "" ; \
prev=$tag ; \
done > ChangeLog ; \
else \
touch ChangeLog ; \
fi
/bin/mkdir -p '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/share/doc/lldpd'
/usr/bin/install -c -m 644 ChangeLog '/sonic/src/lldpd/lldpd-1.0.4/debian/tmp/usr/share/doc/lldpd'
make[5]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4'
make[4]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4'
make[3]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4'
dh_install
dh_install: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_installdocs
dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_installchangelogs
dh_installchangelogs: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_installman
dh_installman: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_systemd_enable
dh_systemd_enable: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_installinit
dh_installinit: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_systemd_start
dh_systemd_start: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_lintian
dh_lintian: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_fixperms
dh_missing
dh_missing: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_strip
dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_makeshlibs
dh_makeshlibs: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_shlibdeps
dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_installdeb
dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'lldpd-dbgsym' in '../lldpd-dbgsym_1.0.4-1_amd64.deb'.
dpkg-deb: building package 'lldpd' in '../lldpd_1.0.4-1_amd64.deb'.
dpkg-deb: building package 'liblldpctl-dev' in '../liblldpctl-dev_1.0.4-1_amd64.deb'.
make[2]: Leaving directory '/sonic/src/lldpd/lldpd-1.0.4'
dpkg-genbuildinfo --build=binary --admindir=/sonic/dpkg/tmp.1fwJ0KR6RW
dpkg-genchanges --build=binary >../lldpd_1.0.4-1_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
/sonic/src/lldpd
make[1]: Leaving directory '/sonic/src/lldpd'
Build end time: Wed Sep 24 05:33:03 UTC 2025
Elapsed time: 0h 3m 26s
|