[Debian-mobcom-maintainers] Bug#957655: osmo-sgsn: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:08:10 BST 2020


Package: src:osmo-sgsn
Version: 1.3.0-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/osmo-sgsn_1.3.0-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

[...]
 2823 | #pragma message "set drop_cipherable arg for gsm0408_rcv_gmm() from IuPS?"
      |         ^~~~~~~
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o gprs_sndcp_dcomp.o gprs_sndcp_dcomp.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o gprs_sndcp_pcomp.o gprs_sndcp_pcomp.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o gprs_sndcp_vty.o gprs_sndcp_vty.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o gprs_sndcp_xid.o gprs_sndcp_xid.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o sgsn_main.o sgsn_main.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o sgsn_vty.o sgsn_vty.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o sgsn_libgtp.o sgsn_libgtp.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o gprs_llc.o gprs_llc.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o gprs_llc_vty.o gprs_llc_vty.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o sgsn_ctrl.o sgsn_ctrl.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o sgsn_auth.o sgsn_auth.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o gprs_subscriber.o gprs_subscriber.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o sgsn_cdr.o sgsn_cdr.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o sgsn_ares.o sgsn_ares.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o slhc.o slhc.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o gprs_llc_xid.o gprs_llc_xid.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o v42bis.o v42bis.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o gsup_client.o gsup_client.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o oap_client.o oap_client.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o gtphub_main.o gtphub_main.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o gtphub.o gtphub.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o gtphub_sock.o gtphub_sock.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o gtphub_ares.o gtphub_ares.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o gtphub_vty.o gtphub_vty.c
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o osmo-gbproxy gb_proxy.o gb_proxy_main.o gb_proxy_vty.o gb_proxy_patch.o gb_proxy_tlli.o gb_proxy_peer.o gprs_gb_parse.o gprs_llc_parse.o crc24.o gprs_utils.o -ltalloc -losmocore -ltalloc -losmogsm -losmocore -ltalloc -losmovty -losmocore -ltalloc -losmoctrl -losmogsm -losmocore -ltalloc -losmogb -losmovty -losmocore -lgtp  -lrt  
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o osmo-sgsn gprs_gmm.o gprs_sgsn.o gprs_sndcp.o gprs_sndcp_comp.o gprs_sndcp_dcomp.o gprs_sndcp_pcomp.o gprs_sndcp_vty.o gprs_sndcp_xid.o sgsn_main.o sgsn_vty.o sgsn_libgtp.o gprs_llc.o gprs_llc_parse.o gprs_llc_vty.o crc24.o sgsn_ctrl.o sgsn_auth.o gprs_subscriber.o gprs_utils.o sgsn_cdr.o sgsn_ares.o slhc.o gprs_llc_xid.o v42bis.o gsup_client.o oap_client.o -ltalloc -losmocore -ltalloc -losmogsm -losmocore -ltalloc -losmovty -losmocore -ltalloc -losmoctrl -losmogsm -losmocore -ltalloc -losmogb -losmovty -losmocore -lgtp  -losmoabis -lcares -lgtp -lrt -lm  -losmo-sigtran -losmo-ranap -ltalloc -lasn1c  
libtool: link: gcc -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -o osmo-gbproxy gb_proxy.o gb_proxy_main.o gb_proxy_vty.o gb_proxy_patch.o gb_proxy_tlli.o gb_proxy_peer.o gprs_gb_parse.o gprs_llc_parse.o crc24.o gprs_utils.o  /usr/lib/x86_64-linux-gnu/libosmoctrl.so /usr/lib/x86_64-linux-gnu/libosmogsm.so -ltalloc /usr/lib/x86_64-linux-gnu/libosmogb.so /usr/lib/x86_64-linux-gnu/libosmovty.so /usr/lib/x86_64-linux-gnu/libosmocore.so -lgtp -lrt
libtool: link: gcc -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -o osmo-sgsn gprs_gmm.o gprs_sgsn.o gprs_sndcp.o gprs_sndcp_comp.o gprs_sndcp_dcomp.o gprs_sndcp_pcomp.o gprs_sndcp_vty.o gprs_sndcp_xid.o sgsn_main.o sgsn_vty.o sgsn_libgtp.o gprs_llc.o gprs_llc_parse.o gprs_llc_vty.o crc24.o sgsn_ctrl.o sgsn_auth.o gprs_subscriber.o gprs_utils.o sgsn_cdr.o sgsn_ares.o slhc.o gprs_llc_xid.o v42bis.o gsup_client.o oap_client.o  /usr/lib/x86_64-linux-gnu/libosmoctrl.so /usr/lib/x86_64-linux-gnu/libosmogsm.so /usr/lib/x86_64-linux-gnu/libosmogb.so /usr/lib/x86_64-linux-gnu/libosmovty.so /usr/lib/x86_64-linux-gnu/libosmocore.so -losmoabis -lcares -lgtp -lrt -lm -losmo-sigtran -losmo-ranap -ltalloc -lasn1c
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/   -I/usr/include/  -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o osmo-gtphub gtphub_main.o gtphub.o gtphub_sock.o gtphub_ares.o gtphub_vty.o sgsn_ares.o gprs_utils.o -ltalloc -losmocore -ltalloc -losmogsm -losmocore -ltalloc -losmovty -losmocore -lcares -lgtp -losmo-sigtran -lrt  
libtool: link: gcc -Wall -fno-strict-aliasing -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/asn1c -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -o osmo-gtphub gtphub_main.o gtphub.o gtphub_sock.o gtphub_ares.o gtphub_vty.o sgsn_ares.o gprs_utils.o  /usr/lib/x86_64-linux-gnu/libosmogsm.so -ltalloc /usr/lib/x86_64-linux-gnu/libosmovty.so /usr/lib/x86_64-linux-gnu/libosmocore.so -lcares -lgtp -losmo-sigtran -lrt
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/gprs'
make[4]: Entering directory '/<<PKGBUILDDIR>>/src'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
Making all in tests
make[3]: Entering directory '/<<PKGBUILDDIR>>/tests'
Making all in gprs
make[4]: Entering directory '/<<PKGBUILDDIR>>/tests/gprs'
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -ggdb3 -I/usr/include/ -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o gprs_test.o gprs_test.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -ggdb3 -I/usr/include/ -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o gprs_utils.o `test -f '../../src/gprs/gprs_utils.c' || echo './'`../../src/gprs/gprs_utils.c
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall -ggdb3 -I/usr/include/ -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o gprs_test gprs_test.o gprs_utils.o -ltalloc -losmocore -ltalloc -losmogsm -losmocore 
libtool: link: gcc -Wall -ggdb3 -I/usr/include/ -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -o gprs_test gprs_test.o gprs_utils.o  -ltalloc /usr/lib/x86_64-linux-gnu/libosmogsm.so /usr/lib/x86_64-linux-gnu/libosmocore.so
make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests/gprs'
Making all in gbproxy
make[4]: Entering directory '/<<PKGBUILDDIR>>/tests/gbproxy'
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -ggdb3 -I/usr/include/ -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o gbproxy_test.o gbproxy_test.c
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall -ggdb3 -I/usr/include/ -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -Wl,--wrap=osmo_get_rand_id  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o gbproxy_test gbproxy_test.o ../../src/gprs/gb_proxy.o ../../src/gprs/gb_proxy_patch.o ../../src/gprs/gb_proxy_peer.o ../../src/gprs/gb_proxy_tlli.o ../../src/gprs/gprs_gb_parse.o ../../src/gprs/gprs_llc_parse.o ../../src/gprs/crc24.o ../../src/gprs/gprs_utils.o -ltalloc -losmocore -ltalloc -losmogb -losmovty -losmocore -ltalloc -losmogsm -losmocore -ltalloc -losmovty -losmocore -losmoabis -ldl  -lrt  
libtool: link: gcc -Wall -ggdb3 -I/usr/include/ -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -Wl,--wrap=osmo_get_rand_id -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -o gbproxy_test gbproxy_test.o ../../src/gprs/gb_proxy.o ../../src/gprs/gb_proxy_patch.o ../../src/gprs/gb_proxy_peer.o ../../src/gprs/gb_proxy_tlli.o ../../src/gprs/gprs_gb_parse.o ../../src/gprs/gprs_llc_parse.o ../../src/gprs/crc24.o ../../src/gprs/gprs_utils.o  /usr/lib/x86_64-linux-gnu/libosmogb.so /usr/lib/x86_64-linux-gnu/libosmogsm.so -ltalloc /usr/lib/x86_64-linux-gnu/libosmovty.so /usr/lib/x86_64-linux-gnu/libosmocore.so -losmoabis -ldl -lrt
make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests/gbproxy'
Making all in gtphub
make[4]: Entering directory '/<<PKGBUILDDIR>>/tests/gtphub'
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wall -ggdb3 -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o gtphub_test.o gtphub_test.c
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall -ggdb3 -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -Wl,--wrap=gtphub_resolve_ggsn_addr -Wl,--wrap=gtphub_ares_init -Wl,--wrap=gtphub_write  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o gtphub_test gtphub_test.o ../../src/gprs/gtphub.o ../../src/gprs/gprs_utils.o -ltalloc -losmocore -ltalloc -losmogsm -losmocore -lgtp -lrt  
libtool: link: gcc -Wall -ggdb3 -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -Wl,--wrap=gtphub_resolve_ggsn_addr -Wl,--wrap=gtphub_ares_init -Wl,--wrap=gtphub_write -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -o gtphub_test gtphub_test.o ../../src/gprs/gtphub.o ../../src/gprs/gprs_utils.o  -ltalloc /usr/lib/x86_64-linux-gnu/libosmogsm.so /usr/lib/x86_64-linux-gnu/libosmocore.so -lgtp -lrt
/usr/bin/ld: ../../src/gprs/gtphub.o:./src/gprs/gtphub.c:50: multiple definition of `osmo_gtphub_ctx'; gtphub_test.o:./tests/gtphub/gtphub_test.c:57: first defined here
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:416: gtphub_test] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests/gtphub'
make[3]: *** [Makefile:412: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[2]: *** [Makefile:500: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:409: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:15: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debian-mobcom-maintainers mailing list