[Debian-iot-maintainers] Bug#957641: openoverlayrouter: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:07:58 BST 2020


Package: src:openoverlayrouter
Version: 1.3.0+ds1-2
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/openoverlayrouter_1.3.0+ds1-2_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o liblisp/liblisp.o liblisp/liblisp.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o liblisp/lisp_address.o liblisp/lisp_address.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o liblisp/lisp_data.o liblisp/lisp_data.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o liblisp/lisp_ip.o liblisp/lisp_ip.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o liblisp/lisp_lcaf.o liblisp/lisp_lcaf.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o liblisp/lisp_locator.o liblisp/lisp_locator.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o liblisp/lisp_mapping.o liblisp/lisp_mapping.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o liblisp/lisp_mref_mapping.o liblisp/lisp_mref_mapping.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o liblisp/lisp_messages.o liblisp/lisp_messages.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o liblisp/lisp_message_fields.o liblisp/lisp_message_fields.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/cksum.o lib/cksum.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/generic_list.o lib/generic_list.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/hmac.o lib/hmac.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/htable_ptrs.o lib/htable_ptrs.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/iface_locators.o lib/iface_locators.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/int_table.o lib/int_table.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/interfaces_lib.o lib/interfaces_lib.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/lbuf.o lib/lbuf.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/lisp_site.o lib/lisp_site.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/oor_log.o lib/oor_log.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/mapping_db.o lib/mapping_db.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/map_cache_entry.o lib/map_cache_entry.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/ddt_map_cache_entry.o lib/ddt_map_cache_entry.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/map_cache_rtr_data.o lib/map_cache_rtr_data.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/map_local_entry.o lib/map_local_entry.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/mem_util.o lib/mem_util.c 
In file included from lib/../liblisp/lisp_mapping.h:24,
                 from lib/map_cache_entry.h:24,
                 from lib/map_cache_rtr_data.c:20:
lib/map_cache_rtr_data.c: In function ‘_mc_rtr_data_nat_update’:
lib/../liblisp/lisp_locator.h:87:20: warning: ‘loct’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   87 |     return (locator->priority);
      |            ~~~~~~~~^~~~~~~~~~~
lib/map_cache_rtr_data.c:143:16: note: ‘loct’ was declared here
  143 |     locator_t *loct;
      |                ^~~~
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/nonces_table.o lib/nonces_table.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/packets.o lib/packets.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/prefixes.o lib/prefixes.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/routing_tables_lib.o lib/routing_tables_lib.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/sockets.o lib/sockets.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/sockets-util.o lib/sockets-util.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/shash.o lib/shash.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/timers.o lib/timers.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/timers_utils.o lib/timers_utils.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o lib/util.o lib/util.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o net_mgr/net_mgr.o net_mgr/net_mgr.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o net_mgr/net_mgr_proc_fc.o net_mgr/net_mgr_proc_fc.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o net_mgr/kernel/netm_kernel.o net_mgr/kernel/netm_kernel.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o net_mgr/kernel/iface_mgmt.o net_mgr/kernel/iface_mgmt.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o iface_list.o iface_list.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o oor.o oor.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o config/oor_api.o config/oor_api.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o config/oor_api_internals.o config/oor_api_internals.c 
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_policies/flow_balancing -Inet_mgr -Inet_mgr/kernel -Inet_mgr/vpp -c -o config/oor_config_confuse.o config/oor_config_confuse.c 
cc -o oor cmdline.o config/oor_config_functions.o control/oor_control.o control/oor_ctrl_device.o control/oor_local_db.o control/oor_map_cache.o control/lisp_rtr.o control/lisp_tr.o control/lisp_xtr.o control/lisp_ms.o control/lisp_ddt_node.o control/lisp_ddt_mr.o control/control-data-plane/control-data-plane.o control/control-data-plane/tun/cdp_tun.o data-plane/encapsulations/vxlan-gpe.o data-plane/data-plane.o data-plane/ttable.o data-plane/tun/tun_input.o data-plane/tun/tun_output.o data-plane/tun/tun.o elibs/mbedtls/md.o elibs/mbedtls/sha1.o elibs/mbedtls/sha256.o elibs/mbedtls/md_wrap.o elibs/patricia/patricia.o fwd_policies/balancing_locators.o fwd_policies/fwd_addr_func.o fwd_policies/fwd_policy.o fwd_policies/fwd_utils.o fwd_policies/flow_balancing/flow_balancing.o fwd_policies/flow_balancing/fwd_entry_tuple.o liblisp/liblisp.o liblisp/lisp_address.o liblisp/lisp_data.o liblisp/lisp_ip.o liblisp/lisp_lcaf.o liblisp/lisp_locator.o liblisp/lisp_mapping.o liblisp/lisp_mref_mapping.o liblisp/lisp_messages.o liblisp/lisp_message_fields.o lib/cksum.o lib/generic_list.o lib/hmac.o lib/htable_ptrs.o lib/iface_locators.o lib/int_table.o lib/interfaces_lib.o lib/lbuf.o lib/lisp_site.o lib/oor_log.o lib/mapping_db.o lib/map_cache_entry.o lib/ddt_map_cache_entry.o lib/map_cache_rtr_data.o lib/map_local_entry.o lib/mem_util.o lib/nonces_table.o lib/packets.o lib/prefixes.o lib/routing_tables_lib.o lib/sockets.o lib/sockets-util.o lib/shash.o lib/timers.o lib/timers_utils.o lib/util.o net_mgr/net_mgr.o net_mgr/net_mgr_proc_fc.o net_mgr/kernel/netm_kernel.o net_mgr/kernel/iface_mgmt.o iface_list.o oor.o config/oor_api.o config/oor_api_internals.o config/oor_config_confuse.o -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=switch -std=gnu89 -g -I/usr/include/libxml2 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -Wl,-z,relro -z now -lconfuse -lrt -lm -lzmq -lxml2   
/usr/bin/ld: data-plane/tun/tun_output.o:./oor/data-plane/tun/tun.h:65: multiple definition of `tun_receive_buf'; data-plane/tun/tun_input.o:./oor/data-plane/tun/tun.h:65: first defined here
/usr/bin/ld: data-plane/tun/tun_output.o:./oor/data-plane/tun/tun.h:64: multiple definition of `tun_ifindex'; data-plane/tun/tun_input.o:./oor/data-plane/tun/tun.h:64: first defined here
/usr/bin/ld: data-plane/tun/tun_output.o:./oor/data-plane/tun/tun.h:63: multiple definition of `tun_receive_fd'; data-plane/tun/tun_input.o:./oor/data-plane/tun/tun.h:63: first defined here
/usr/bin/ld: data-plane/tun/tun.o:./oor/data-plane/tun/tun.h:64: multiple definition of `tun_ifindex'; data-plane/tun/tun_input.o:./oor/data-plane/tun/tun.h:64: first defined here
/usr/bin/ld: data-plane/tun/tun.o:./oor/data-plane/tun/tun.h:63: multiple definition of `tun_receive_fd'; data-plane/tun/tun_input.o:./oor/data-plane/tun/tun.h:63: first defined here
/usr/bin/ld: data-plane/tun/tun.o:./oor/data-plane/tun/tun.h:65: multiple definition of `tun_receive_buf'; data-plane/tun/tun_input.o:./oor/data-plane/tun/tun.h:65: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:167: oor] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/oor'
make[1]: *** [Makefile:11: build-oor] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debian-iot-maintainers mailing list