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

Re: Bug#777769: aghermann: ftbfs with GCC-5



Hi Yaroslav, Matthias,

I have prepared a new version of aghermann, with a fix for this bug and then
some, which I would like Yaroslav to upload. The dsc link is
http://johnhommer.com/academic/code/aghermann/source/deb/aghermann_1.0.4-1.dsc.

Thanks,
Andrei

On Thu, 12 Feb 2015 10:29:43 +0000
Matthias Klose <doko@debian.org> wrote:

> Package: src:aghermann
> Version: 1.0.2-1
> Severity: normal
> Tags: sid stretch
> User: debian-gcc@lists.debian.org
> Usertags: ftbfs-gcc-5
> 
> 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-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
> severity of this report may be raised before the stretch release.
> 
> The full build log can be found at:
> http://people.debian.org/~doko/logs/gcc5-20150205/aghermann_1.0.2-1_unstable_gcc5.log
> The last lines of the build log are at the end of this report.
> 
> To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
> or install the gcc, g++, gfortran, ... packages from experimental.
> 
>   apt-get -t experimental install g++ 
> 
> Common build failures are C11 as the default C mode, 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-5/porting_to.html
> 
> [...]
> 
>    dh_auto_build -a
> make[1]: Entering directory '/«PKGBUILDDIR»'
> make  all-recursive
> make[2]: Entering directory '/«PKGBUILDDIR»'
> Making all in src
> make[3]: Entering directory '/«PKGBUILDDIR»/src'
> make  all-recursive
> make[4]: Entering directory '/«PKGBUILDDIR»/src'
> Making all in common
> make[5]: Entering directory '/«PKGBUILDDIR»/src/common'
> g++ -DHAVE_CONFIG_H -I. -I../..   -D_FORTIFY_SOURCE=2 -Wall -std=c++0x
> -fno-rtti -I../../src -g -O2 -fstack-protector-strong -Wformat
> -Werror=format-security -c -o libcommon.o libcommon.cc g++ -DHAVE_CONFIG_H
> -I. -I../..   -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -I../../src -g
> -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o
> log-facility.o log-facility.cc g++ -DHAVE_CONFIG_H -I. -I../..
> -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -I../../src -g -O2
> -fstack-protector-strong -Wformat -Werror=format-security -c -o
> subject_id.o subject_id.cc rm -f liba.a ar cru liba.a libcommon.o
> log-facility.o subject_id.o ranlib liba.a make[5]: Leaving directory
> '/«PKGBUILDDIR»/src/common' Making all in libsigproc make[5]: Entering
> directory '/«PKGBUILDDIR»/src/libsigproc' /bin/bash ../../libtool
> --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..
> -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g
> -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o
> exstrom.lo exstrom.cc libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../..
> -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2
> -fstack-protector-strong -Wformat -Werror=format-security -c exstrom.cc
> -fPIC -DPIC -o .libs/exstrom.o /bin/bash ../../libtool  --tag=CXX
> --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -D_FORTIFY_SOURCE=2 -Wall
> -std=c++0x -fno-rtti -shared -fPIC -I../../src -g -O2
> -fstack-protector-strong -Wformat -Werror=format-security -c -o
> ext-filters.lo ext-filters.cc libtool: compile:  g++ -DHAVE_CONFIG_H -I.
> -I../.. -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g
> -O2 -fstack-protector-strong -Wformat -Werror=format-security -c
> ext-filters.cc  -fPIC -DPIC -o .libs/ext-filters.o /bin/bash ../../libtool
> --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..
> -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -shared -fPIC -I../../src -g
> -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o
> sigproc.lo sigproc.cc libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../..
> -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -fno-rtti -fPIC -I../../src -g -O2
> -fstack-protector-strong -Wformat -Werror=format-security -c sigproc.cc
> -fPIC -DPIC -o .libs/sigproc.o In file included from sigproc.hh:354:0, from
> sigproc.cc:15: sigproc.ii:116:43: error: redeclaration of 'template<class
> T> size_t sigproc::envelope(const sigproc::SSignalRef<T>&, double, double,
> T> std::valarray<_Tp>*, std::valarray<_Tp>*, std::vector<long unsigned
> T> int>*, std::vector<long unsigned int>*)' may not have default arguments
> T> int>[-fpermissive] vector<size_t> *maxi_p = nullptr) ^ make[5]: ***
> T> int>[sigproc.lo] Error 1 Makefile:507: recipe for target 'sigproc.lo'
> T> int>failed make[5]: Leaving directory '/«PKGBUILDDIR»/src/libsigproc'
> T> int>make[4]: *** [all-recursive] Error 1 Makefile:464: recipe for target
> T> int>'all-recursive' failed make[4]: Leaving directory
> T> int>'/«PKGBUILDDIR»/src' make[3]: *** [all] Error 2 Makefile:417: recipe
> T> int>for target 'all' failed make[3]: Leaving directory
> T> int>'/«PKGBUILDDIR»/src' make[2]: *** [all-recursive] Error 1
> T> int>Makefile:532: recipe for target 'all-recursive' failed make[2]:
> T> int>Leaving directory '/«PKGBUILDDIR»' make[1]: *** [all] Error 2
> T> int>Makefile:410: recipe for target 'all' failed make[1]: Leaving
> T> int>directory '/«PKGBUILDDIR»'
> dh_auto_build: make -j1 returned exit code 2
> make: *** [build-arch] Error 2
> debian/rules:16: recipe for target 'build-arch' failed
> dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2


Reply to: