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

Bug#957562: mpc123: ftbfs with GCC-10



Package: src:mpc123
Version: 0.2.4-5
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/mpc123_0.2.4-5_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

[...]
SCHROOT_CHROOT_NAME=sid-amd64-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=1001
SCHROOT_GROUP=user42
SCHROOT_SESSION_ID=sid-amd64-sbuild-cdfc310e-adb5-4983-9569-216c76087c8c
SCHROOT_UID=1001
SCHROOT_USER=user42
SHELL=/bin/sh
USER=user42

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package mpc123
dpkg-buildpackage: info: source version 0.2.4-5
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Joao Eriberto Mota Filho <eriberto@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
dh clean
   dh_auto_clean
	make -j4 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f tags  ao.o  player.o  playlist.o  reader.o  reader_file.o  shuffle.o  signals.o mpc123 LOCALES/it/LC_MESSAGES/mpc123.mo
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
	make -j4
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ao.o ao.c
/usr/bin/cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o player.o player.c
/usr/bin/cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o playlist.o playlist.c
/usr/bin/cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o reader.o reader.c
player.c: In function ‘do_play_stream’:
player.c:44:12: warning: variable ‘bytes_from_decoder’ set but not used [-Wunused-but-set-variable]
   44 |   unsigned bytes_from_decoder=0;
      |            ^~~~~~~~~~~~~~~~~~
/usr/bin/cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o reader_file.o reader_file.c
/usr/bin/cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o shuffle.o shuffle.c
/usr/bin/cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o signals.o signals.c
msgfmt LOCALES/it/LC_MESSAGES/mpc123.po -o LOCALES/it/LC_MESSAGES/mpc123.mo;
Building mpc123 version 0.2 ...
/usr/bin/cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -o mpc123  ao.o  player.o  playlist.o  reader.o  reader_file.o  shuffle.o  signals.o mpc123.c -Wl,-z,relro -Wl,-z,now -lao -lmpcdec
/usr/bin/ld: player.o:./mpc123.h:148: multiple definition of `options'; ao.o:./mpc123.h:148: first defined here
/usr/bin/ld: player.o:./mpc123.h:146: multiple definition of `mpc123_file_reader'; ao.o:./mpc123.h:146: first defined here
/usr/bin/ld: playlist.o:./mpc123.h:148: multiple definition of `options'; ao.o:./mpc123.h:148: first defined here
/usr/bin/ld: playlist.o:./mpc123.h:146: multiple definition of `mpc123_file_reader'; ao.o:./mpc123.h:146: first defined here
/usr/bin/ld: reader.o:./mpc123.h:146: multiple definition of `mpc123_file_reader'; ao.o:./mpc123.h:146: first defined here
/usr/bin/ld: reader.o:./mpc123.h:148: multiple definition of `options'; ao.o:./mpc123.h:148: first defined here
/usr/bin/ld: reader_file.o:./mpc123.h:148: multiple definition of `options'; ao.o:./mpc123.h:148: first defined here
/usr/bin/ld: reader_file.o:./mpc123.h:146: multiple definition of `mpc123_file_reader'; ao.o:./mpc123.h:146: first defined here
/usr/bin/ld: shuffle.o:./mpc123.h:148: multiple definition of `options'; ao.o:./mpc123.h:148: first defined here
/usr/bin/ld: shuffle.o:./mpc123.h:146: multiple definition of `mpc123_file_reader'; ao.o:./mpc123.h:146: first defined here
/usr/bin/ld: signals.o:./mpc123.h:148: multiple definition of `options'; ao.o:./mpc123.h:148: first defined here
/usr/bin/ld: signals.o:./mpc123.h:146: multiple definition of `mpc123_file_reader'; ao.o:./mpc123.h:146: first defined here
/usr/bin/ld: /tmp/cclU1abh.o:./mpc123.h:148: multiple definition of `options'; ao.o:./mpc123.h:148: first defined here
/usr/bin/ld: /tmp/cclU1abh.o:./mpc123.h:146: multiple definition of `mpc123_file_reader'; ao.o:./mpc123.h:146: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:53: mpc123] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: