Bug#746867: lcalc: ftbfs with GCC-4.9
Matthias Klose
doko at debian.org
Sun May 4 00:21:54 UTC 2014
Package: src:lcalc
Version: 1.23+dfsg-2
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.9
The package fails to build in a test rebuild on at least amd64 with
gcc-4.9/g++-4.9, but succeeds to build with gcc-4.8/g++-4.8. The
severity of this report may be raised before the jessie release.
The full build log can be found at:
http://people.debian.org/~doko/logs/failed-gcc49/lcalc_1.23+dfsg-2_unstable_gcc49.log
The last lines of the build log are at the end of this report.
To build with GCC 4.9, either set CC=gcc-4.9 CXX=g++-4.9 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-4.9/porting_to.html
[...]
USER=user
dpkg-buildpackage
âââââââââââââââââ
dpkg-buildpackage: source package lcalc
dpkg-buildpackage: source version 1.23+dfsg-2
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Tobias Hansen <thansen at debian.org>
dpkg-source --before-build lcalc-1.23+dfsg
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh clean --sourcedirectory=src --parallel
dh_testdir -O--sourcedirectory=src -O--parallel
debian/rules override_dh_auto_clean
make[1]: Entering directory `/«BUILDDIR»/lcalc-1.23+dfsg'
rm -f src/libLfunction.so.0
dh_auto_clean
make[2]: Entering directory `/«BUILDDIR»/lcalc-1.23+dfsg/src'
rm -f *.o lcalc libLfunction.so.0 example_programs/example
make[2]: Leaving directory `/«BUILDDIR»/lcalc-1.23+dfsg/src'
make[1]: Leaving directory `/«BUILDDIR»/lcalc-1.23+dfsg'
dh_clean -O--sourcedirectory=src -O--parallel
debian/rules build-arch
dh build-arch --sourcedirectory=src --parallel
dh_testdir -a -O--sourcedirectory=src -O--parallel
dh_auto_configure -a -O--sourcedirectory=src -O--parallel
debian/rules override_dh_auto_build
make[1]: Entering directory `/«BUILDDIR»/lcalc-1.23+dfsg'
dh_auto_build -- PARI_DEFINE=-DINCLUDE_PARI
make[2]: Entering directory `/«BUILDDIR»/lcalc-1.23+dfsg/src'
make libLfunction.so.0
make[3]: Entering directory `/«BUILDDIR»/lcalc-1.23+dfsg/src'
g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -O3 -Wno-deprecated -ffast-math -fPIC -I../include -c Lglobals.cc
g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -O3 -Wno-deprecated -ffast-math -fPIC -I../include -c Lgamma.cc
g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -O3 -Wno-deprecated -ffast-math -fPIC -I../include -c Lriemannsiegel.cc
In file included from ../include/L.h:532:0,
from Lriemannsiegel.cc:24:
../include/Ldirichlet_series.h:46:43: error: redeclaration of 'Complex L_function<ttype>::dirichlet_series(Complex, long long int)' may not have default arguments [-fpermissive]
dirichlet_series(Complex s, long long N=-1)
^
make[3]: *** [Lriemannsiegel.o] Error 1
make[3]: Leaving directory `/«BUILDDIR»/lcalc-1.23+dfsg/src'
make[2]: *** [all] Error 2
dh_auto_build: make -j1 PARI_DEFINE=-DINCLUDE_PARI returned exit code 2
make[2]: Leaving directory `/«BUILDDIR»/lcalc-1.23+dfsg/src'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/«BUILDDIR»/lcalc-1.23+dfsg'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
More information about the debian-science-maintainers
mailing list