[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#957143: dmrconfig: ftbfs with GCC-10



Package: src:dmrconfig
Version: 1.1+git20190919.e47491e-1
Severity: normal
Tags: sid bullseye
User: debian-gcc@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/dmrconfig_1.1+git20190919.e47491e-1_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

[...]
make[1]: git: Command not found
make[1]: git: Command not found
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DVERSION='"."' -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o rd5r.o rd5r.c
make[1]: git: Command not found
make[1]: git: Command not found
make[1]: git: Command not found
make[1]: git: Command not found
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DVERSION='"."' -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o gd77.o gd77.c
make[1]: git: Command not found
make[1]: git: Command not found
make[1]: git: Command not found
make[1]: git: Command not found
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DVERSION='"."' -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o hid.o hid.c
make[1]: git: Command not found
make[1]: git: Command not found
make[1]: git: Command not found
make[1]: git: Command not found
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DVERSION='"."' -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o serial.o serial.c
make[1]: git: Command not found
make[1]: git: Command not found
make[1]: git: Command not found
make[1]: git: Command not found
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DVERSION='"."' -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o d868uv.o d868uv.c
make[1]: git: Command not found
make[1]: git: Command not found
make[1]: git: Command not found
make[1]: git: Command not found
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DVERSION='"."' -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dm1801.o dm1801.c
make[1]: git: Command not found
make[1]: git: Command not found
make[1]: git: Command not found
make[1]: git: Command not found
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DVERSION='"."' -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o hid-libusb.o hid-libusb.c
make[1]: git: Command not found
make[1]: git: Command not found
cc -Wl,-z,relro -Wl,-z,now -o dmrconfig main.o util.o radio.o dfu-libusb.o uv380.o md380.o rd5r.o gd77.o hid.o serial.o d868uv.o dm1801.o hid-libusb.o /usr/lib/x86_64-linux-gnu/libusb-1.0.a -lpthread -ludev
make[1]: git: Command not found
make[1]: git: Command not found
/usr/bin/ld: util.o:./util.h:38: multiple definition of `trace_flag'; main.o:./util.h:38: first defined here
/usr/bin/ld: radio.o:./util.h:38: multiple definition of `trace_flag'; main.o:./util.h:38: first defined here
/usr/bin/ld: radio.o:./radio.h:147: multiple definition of `radio_progress'; main.o:./radio.h:147: first defined here
/usr/bin/ld: radio.o:./radio.h:142: multiple definition of `radio_port'; main.o:./radio.h:142: first defined here
/usr/bin/ld: dfu-libusb.o:./util.h:38: multiple definition of `trace_flag'; main.o:./util.h:38: first defined here
/usr/bin/ld: uv380.o:./util.h:38: multiple definition of `trace_flag'; main.o:./util.h:38: first defined here
/usr/bin/ld: uv380.o:./radio.h:147: multiple definition of `radio_progress'; main.o:./radio.h:147: first defined here
/usr/bin/ld: uv380.o:./radio.h:142: multiple definition of `radio_port'; main.o:./radio.h:142: first defined here
/usr/bin/ld: md380.o:./radio.h:147: multiple definition of `radio_progress'; main.o:./radio.h:147: first defined here
/usr/bin/ld: md380.o:./util.h:38: multiple definition of `trace_flag'; main.o:./util.h:38: first defined here
/usr/bin/ld: md380.o:./radio.h:142: multiple definition of `radio_port'; main.o:./radio.h:142: first defined here
/usr/bin/ld: rd5r.o:./radio.h:147: multiple definition of `radio_progress'; main.o:./radio.h:147: first defined here
/usr/bin/ld: rd5r.o:./util.h:38: multiple definition of `trace_flag'; main.o:./util.h:38: first defined here
/usr/bin/ld: rd5r.o:./radio.h:142: multiple definition of `radio_port'; main.o:./radio.h:142: first defined here
/usr/bin/ld: gd77.o:./radio.h:147: multiple definition of `radio_progress'; main.o:./radio.h:147: first defined here
/usr/bin/ld: gd77.o:./util.h:38: multiple definition of `trace_flag'; main.o:./util.h:38: first defined here
/usr/bin/ld: gd77.o:./radio.h:142: multiple definition of `radio_port'; main.o:./radio.h:142: first defined here
/usr/bin/ld: hid.o:./util.h:38: multiple definition of `trace_flag'; main.o:./util.h:38: first defined here
/usr/bin/ld: serial.o:./util.h:38: multiple definition of `trace_flag'; main.o:./util.h:38: first defined here
/usr/bin/ld: d868uv.o:./util.h:38: multiple definition of `trace_flag'; main.o:./util.h:38: first defined here
/usr/bin/ld: d868uv.o:./radio.h:147: multiple definition of `radio_progress'; main.o:./radio.h:147: first defined here
/usr/bin/ld: d868uv.o:./radio.h:142: multiple definition of `radio_port'; main.o:./radio.h:142: first defined here
/usr/bin/ld: dm1801.o:./radio.h:147: multiple definition of `radio_progress'; main.o:./radio.h:147: first defined here
/usr/bin/ld: dm1801.o:./util.h:38: multiple definition of `trace_flag'; main.o:./util.h:38: first defined here
/usr/bin/ld: dm1801.o:./radio.h:142: multiple definition of `radio_port'; main.o:./radio.h:142: first defined here
/usr/bin/ld: hid-libusb.o:./util.h:38: multiple definition of `trace_flag'; main.o:./util.h:38: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:52: dmrconfig] Error 1
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


Reply to: