[Debian-med-packaging] Bug#957768: roguenarok: ftbfs with GCC-10

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


Package: src:roguenarok
Version: 1.0-3
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/roguenarok_1.0-3_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

[...]
-----------------

Command: dpkg-buildpackage -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package roguenarok
dpkg-buildpackage: info: source version 1.0-3
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Graham Inggs <ginggs at 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 -fr common.o RogueNaRok.o  Tree.o BitVector.o HashTable.o List.o Array.o  Dropset.o ProfileElem.o legacy.o newFunctions.o parallel.o Node.o rnr-lsi.o common.o Tree.o BitVector.o   HashTable.o legacy.o newFunctions.o List.o rnr-tii.o common.o BitVector.o Tree.o HashTable.o List.o legacy.o newFunctions.o  rnr-mast.o common.o List.o Tree.o BitVector.o HashTable.o legacy.o newFunctions.o rnr-prune.o common.o Tree.o BitVector.o HashTable.o  legacy.o newFunctions.o List.o RogueNaRok rnr-prune rnr-lsi  rnr-tii  rnr-mast     RogueNaRok-parallel
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
	make -j4 "INSTALL=install --strip-program=true"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gcc  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE  -O3  -c -o common.o common.c
gcc  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE  -O3  -c -o RogueNaRok.o RogueNaRok.c
gcc  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE  -O3  -c -o Tree.o Tree.c
gcc  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE  -O3  -c -o BitVector.o BitVector.c
gcc  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE  -O3  -c -o HashTable.o HashTable.c
gcc  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE  -O3  -c -o List.o List.c
gcc  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE  -O3  -c -o Array.o Array.c
gcc  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE  -O3  -c -o Dropset.o Dropset.c
gcc  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE  -O3  -c -o ProfileElem.o ProfileElem.c
gcc  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE  -O3  -c -o legacy.o legacy.c
gcc  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE  -O3  -c -o newFunctions.o newFunctions.c
gcc  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE  -O3  -c -o parallel.o parallel.c
gcc  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE  -O3  -c -o Node.o Node.c
gcc  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE  -O3  -c -o rnr-prune.o rnr-prune.c
gcc  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE  -O3  -c -o rnr-lsi.o rnr-lsi.c
gcc  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE  -O3  -c -o rnr-tii.o rnr-tii.c
gcc  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE  -O3  -c -o rnr-mast.o rnr-mast.c
gcc  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE  -O3  -Wl,-z,relro -Wl,-z,now -o RogueNaRok   common.o RogueNaRok.o Tree.o BitVector.o HashTable.o List.o Array.o Dropset.o ProfileElem.o legacy.o newFunctions.o parallel.o Node.o -lm
/usr/bin/ld: RogueNaRok.o:./common.h:74: multiple definition of `processID'; common.o:./common.h:74: first defined here
/usr/bin/ld: Tree.o:./BitVector.h:52: multiple definition of `bits_in_16bits'; RogueNaRok.o:./BitVector.h:52: first defined here
/usr/bin/ld: Tree.o:./common.h:74: multiple definition of `processID'; common.o:./common.h:74: first defined here
/usr/bin/ld: BitVector.o:./BitVector.h:52: multiple definition of `bits_in_16bits'; RogueNaRok.o:./BitVector.h:52: first defined here
/usr/bin/ld: BitVector.o:./common.h:74: multiple definition of `processID'; common.o:./common.h:74: first defined here
/usr/bin/ld: HashTable.o:./common.h:74: multiple definition of `processID'; common.o:./common.h:74: first defined here
/usr/bin/ld: List.o:./common.h:74: multiple definition of `processID'; common.o:./common.h:74: first defined here
/usr/bin/ld: Dropset.o:./BitVector.h:52: multiple definition of `bits_in_16bits'; RogueNaRok.o:./BitVector.h:52: first defined here
/usr/bin/ld: Dropset.o:./common.h:74: multiple definition of `processID'; common.o:./common.h:74: first defined here
/usr/bin/ld: ProfileElem.o:./BitVector.h:52: multiple definition of `bits_in_16bits'; RogueNaRok.o:./BitVector.h:52: first defined here
/usr/bin/ld: ProfileElem.o:./common.h:74: multiple definition of `processID'; common.o:./common.h:74: first defined here
/usr/bin/ld: legacy.o:./BitVector.h:52: multiple definition of `bits_in_16bits'; RogueNaRok.o:./BitVector.h:52: first defined here
/usr/bin/ld: legacy.o:./common.h:74: multiple definition of `processID'; common.o:./common.h:74: first defined here
/usr/bin/ld: newFunctions.o:./BitVector.h:52: multiple definition of `bits_in_16bits'; RogueNaRok.o:./BitVector.h:52: first defined here
/usr/bin/ld: newFunctions.o:./common.h:74: multiple definition of `processID'; common.o:./common.h:74: first defined here
/usr/bin/ld: Node.o:./common.h:74: multiple definition of `processID'; common.o:./common.h:74: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:49: RogueNaRok] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:11: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debian-med-packaging mailing list