[Debian-med-packaging] Bug#853681: theseus: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:36:18 UTC 2017


Package: src:theseus
Version: 3.3.0-5
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/theseus_3.3.0-5_unstable_gcc7.log
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 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-7/porting_to.html

[...]
a - EVD_dist.o
a - exp_dist.o
a - gamma_dist.o
a - invchisqr_dist.o
a - invgamma_dist.o
a - invgauss_dist.o
a - laplace_dist.o
a - logistic_dist.o
a - lognormal_dist.o
a - maxwell_dist.o
a - negbinom_dist.o
a - normal_dist.o
a - pareto_dist.o
a - rayleigh_dist.o
a - recinvgauss_dist.o
a - rice_dist.o
a - uniform_dist.o
a - vonmises_dist.o
a - weibull_dist.o
ranlib libdistfit.a
make[2]: Leaving directory '/<<PKGBUILDDIR>>/libdistfit'
( cd libDLTutils; make && cp libDLTutils.a ../lib  )
make[2]: Entering directory '/<<PKGBUILDDIR>>/libDLTutils'
/usr/bin/gcc -O3 -ffast-math -fstrict-aliasing -funroll-loops -fomit-frame-pointer -Wall -Werror -pedantic -std=c99 -Wno-unused-result -pthread  -c DLTutils.c
ar -rvs libDLTutils.a DLTutils.o
ar: creating libDLTutils.a
a - DLTutils.o
ranlib libDLTutils.a
make[2]: Leaving directory '/<<PKGBUILDDIR>>/libDLTutils'
( cd libmsa; make && cp libmsa.a ../lib  )
make[2]: Entering directory '/<<PKGBUILDDIR>>/libmsa'
/usr/bin/gcc -O3 -ffast-math -fstrict-aliasing -funroll-loops -fomit-frame-pointer -Wall -Werror -pedantic -std=c99 -Wno-unused-result -pthread  -c msa.c
msa.c: In function 'MSAfixnamesphy':
msa.c:629:36: error: may write a terminating nul past the end of the destination [-Werror=format-overflow=]
                 sprintf(digit, "%-d", cnt);
                                 ~~~^
msa.c:629:17: note: format output between 2 and 11 bytes into a destination of size 10
                 sprintf(digit, "%-d", cnt);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:10: recipe for target 'msa.o' failed
make[2]: *** [msa.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/libmsa'
Makefile:33: recipe for target 'lmsa' failed
make[1]: *** [lmsa] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 returned exit code 2
debian/rules:15: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Debian-med-packaging mailing list