[Debian-med-packaging] Bug#957415: lagan: ftbfs with GCC-10
Matthias Klose
doko at debian.org
Fri Apr 17 12:03:52 BST 2020
Package: src:lagan
Version: 2.0-5
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/lagan_2.0-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
[...]
multial.c:563:10: warning: ‘matchcache’ is static but used in inline function ‘scoreOpp’ which is not static
563 | return matchcache[v(other->cnts[0][ow]) |
| ^~~~~~~~~~
multial.c:556:5: warning: ‘gapcache’ is static but used in inline function ‘matchscore’ which is not static
556 | gapcache[v(a->cnts[CNTS_GS][ai] + b->cnts[CNTS_GS][bi]) |
| ^~~~~~~~
multial.c:552:5: warning: ‘matchcache’ is static but used in inline function ‘matchscore’ which is not static
552 | matchcache[v(a->cnts[0][ai] + b->cnts[0][bi]) |
| ^~~~~~~~~~
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -o ../utils/bin2mf utils/bin2mf.c -Wl,-z,relro
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -o ../utils/bin2bl utils/bin2bl.c -Wl,-z,relro
skiplist.c: In function ‘printSLE’:
skiplist.c:12:19: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘void *’ [-Wformat=]
12 | printf(" %d %x\n", tbp->index, tbp->myelem);
| ~^ ~~~~~~~~~~~
| | |
| unsigned int void *
| %p
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -o ../utils/cextract utils/cextract.c -Wl,-z,relro
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -o ../utils/cstat utils/cstat.c -Wl,-z,relro
utils/cstat.c: In function ‘cntlets’:
utils/cstat.c:51:10: warning: implicit declaration of function ‘isspace’ [-Wimplicit-function-declaration]
51 | if (!isspace(currchar)) {
| ^~~~~~~
utils/cstat.c:52:18: warning: implicit declaration of function ‘toupper’ [-Wimplicit-function-declaration]
52 | currchar = toupper(currchar);
| ^~~~~~~
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -o ../utils/contigorder utils/contigorder.c -Wl,-z,relro
utils/contigorder.c: In function ‘getFileInfo’:
utils/contigorder.c:15:57: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=]
15 | fprintf (stderr, "contigorder: Error opening file: %s\n");
| ~^
| |
| char *
utils/contigorder.c:26:18: warning: unknown conversion type character ‘&’ in format [-Wformat=]
26 | fscanf (file, "%&d", &dummy);
| ^
utils/contigorder.c:26:16: warning: too many arguments for format [-Wformat-extra-args]
26 | fscanf (file, "%&d", &dummy);
| ^~~~~
utils/contigorder.c: In function ‘getScores’:
utils/contigorder.c:52:57: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=]
52 | fprintf (stderr, "contigorder: Error opening file: %s\n");
| ~^
| |
| char *
/usr/bin/ld: /tmp/ccABy6FA.o:./src/thrtrie.h:5: multiple definition of `indeces'; /tmp/cc1mHUWL.o:./src/thrtrie.h:5: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:14: ../chaos] Error 1
make[2]: *** Waiting for unfinished jobs....
skiplist.c: In function ‘printSLE’:
skiplist.c:12:19: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘void *’ [-Wformat=]
12 | printf(" %d %x\n", tbp->index, tbp->myelem);
| ~^ ~~~~~~~~~~~
| | |
| unsigned int void *
| %p
skiplist.c: In function ‘printSLE’:
skiplist.c:12:19: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘void *’ [-Wformat=]
12 | printf(" %d %x\n", tbp->index, tbp->myelem);
| ~^ ~~~~~~~~~~~
| | |
| unsigned int void *
| %p
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
dh_auto_build: error: cd src && make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:9: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Debian-med-packaging
mailing list