[Debian-mobcom-maintainers] Bug#957651: osmo-bts: ftbfs with GCC-10

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


Package: src:osmo-bts
Version: 0.8.1-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-bts_0.8.1-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

[...]
/usr/bin/ld: ../../src/common/libbts.a(amr.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(lchan.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(lchan.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(lchan.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(load_indication.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(load_indication.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(load_indication.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(pcu_sock.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(pcu_sock.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(pcu_sock.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(handover.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(handover.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(handover.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(l1sap.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(l1sap.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(l1sap.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(cbch.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(cbch.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(cbch.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(power_control.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(power_control.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(power_control.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(main.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(main.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(main.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(phy_link.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(phy_link.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(phy_link.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(scheduler_mframe.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(scheduler_mframe.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(scheduler_mframe.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(sysinfo.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(sysinfo.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(sysinfo.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(logging.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(logging.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(logging.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(abis.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(abis.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(abis.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(vty.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(vty.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(vty.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(measurement.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(measurement.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(measurement.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(msg_utils.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(msg_utils.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(msg_utils.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(bts_ctrl_lookup.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(bts_ctrl_lookup.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(bts_ctrl_lookup.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(bts_ctrl_commands.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(bts_ctrl_commands.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(bts_ctrl_commands.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
/usr/bin/ld: ../../src/common/libbts.a(tx_power.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:738: multiple definition of `gsm_pchant_descs'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:738: first defined here
/usr/bin/ld: ../../src/common/libbts.a(tx_power.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:737: multiple definition of `gsm_pchant_names'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:737: first defined here
/usr/bin/ld: ../../src/common/libbts.a(tx_power.o):./src/common/../../include/osmo-bts/gsm_data_shared.h:331: multiple definition of `gsm_bts_trx_ts_flags'; main.o:./src/osmo-bts-virtual/../../include/osmo-bts/gsm_data_shared.h:331: first defined here
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:426: osmo-bts-virtual] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/osmo-bts-virtual'
make[3]: *** [Makefile:382: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:435: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:367: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:13: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debian-mobcom-maintainers mailing list