Bug#778106: rheolef: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:36:37 UTC 2015


Package: src:rheolef
Version: 6.5-1
Severity: normal
Tags: sid stretch
User: debian-gcc at 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/rheolef_6.5-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

[...]
/bin/rm -f /«PKGBUILDDIR»/include/rheolef/environment.h
ln -s /«PKGBUILDDIR»/skit/plib2/environment.h environment.h
linking done.
make  all-am
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../config  -fno-strict-aliasing -I../../include -I/usr/include/suitesparse        -D_FORTIFY_SOURCE=2  -O3 -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c++11 -Wall -Wno-unused -Werror -Wno-strict-aliasing -O2  -MT index_set.lo -MD -MP -MF .deps/index_set.Tpo -c -o index_set.lo index_set.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../config -fno-strict-aliasing -I../../include -I/usr/include/suitesparse -D_FORTIFY_SOURCE=2 -O3 -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c++11 -Wall -Wno-unused -Werror -Wno-strict-aliasing -O2 -MT index_set.lo -MD -MP -MF .deps/index_set.Tpo -c index_set.cc  -fPIC -DPIC -o .libs/index_set.o
mv -f .deps/index_set.Tpo .deps/index_set.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../config  -fno-strict-aliasing -I../../include -I/usr/include/suitesparse        -D_FORTIFY_SOURCE=2  -O3 -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c++11 -Wall -Wno-unused -Werror -Wno-strict-aliasing -O2  -MT environment.lo -MD -MP -MF .deps/environment.Tpo -c -o environment.lo environment.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../config -fno-strict-aliasing -I../../include -I/usr/include/suitesparse -D_FORTIFY_SOURCE=2 -O3 -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c++11 -Wall -Wno-unused -Werror -Wno-strict-aliasing -O2 -MT environment.lo -MD -MP -MF .deps/environment.Tpo -c environment.cc  -fPIC -DPIC -o .libs/environment.o
mv -f .deps/environment.Tpo .deps/environment.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../config  -fno-strict-aliasing -I../../include -I/usr/include/suitesparse        -D_FORTIFY_SOURCE=2  -O3 -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c++11 -Wall -Wno-unused -Werror -Wno-strict-aliasing -O2  -MT distributor.lo -MD -MP -MF .deps/distributor.Tpo -c -o distributor.lo distributor.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../config -fno-strict-aliasing -I../../include -I/usr/include/suitesparse -D_FORTIFY_SOURCE=2 -O3 -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c++11 -Wall -Wno-unused -Werror -Wno-strict-aliasing -O2 -MT distributor.lo -MD -MP -MF .deps/distributor.Tpo -c distributor.cc  -fPIC -DPIC -o .libs/distributor.o
mv -f .deps/distributor.Tpo .deps/distributor.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../config  -fno-strict-aliasing -I../../include -I/usr/include/suitesparse        -D_FORTIFY_SOURCE=2  -O3 -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c++11 -Wall -Wno-unused -Werror -Wno-strict-aliasing -O2  -MT diststream.lo -MD -MP -MF .deps/diststream.Tpo -c -o diststream.lo diststream.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../config -fno-strict-aliasing -I../../include -I/usr/include/suitesparse -D_FORTIFY_SOURCE=2 -O3 -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c++11 -Wall -Wno-unused -Werror -Wno-strict-aliasing -O2 -MT diststream.lo -MD -MP -MF .deps/diststream.Tpo -c diststream.cc  -fPIC -DPIC -o .libs/diststream.o
mv -f .deps/diststream.Tpo .deps/diststream.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../config  -fno-strict-aliasing -I../../include -I/usr/include/suitesparse        -D_FORTIFY_SOURCE=2  -O3 -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c++11 -Wall -Wno-unused -Werror -Wno-strict-aliasing -O2  -MT array_seq_inst.lo -MD -MP -MF .deps/array_seq_inst.Tpo -c -o array_seq_inst.lo array_seq_inst.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../config -fno-strict-aliasing -I../../include -I/usr/include/suitesparse -D_FORTIFY_SOURCE=2 -O3 -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c++11 -Wall -Wno-unused -Werror -Wno-strict-aliasing -O2 -MT array_seq_inst.lo -MD -MP -MF .deps/array_seq_inst.Tpo -c array_seq_inst.cc  -fPIC -DPIC -o .libs/array_seq_inst.o
In file included from ../../include/rheolef/array_seq.icc:22:0,
                 from ../../include/rheolef/array.h:691,
                 from array_seq_inst.cc:21:
../../include/rheolef/load_chunk.h: In instantiation of 'bool rheolef::load_chunk(std::istream&, RandomIterator, RandomIterator, GetFunction) [with RandomIterator = __gnu_cxx::__normal_iterator<double*, std::vector<double> >; GetFunction = rheolef::_array_get_element_type<double>; std::istream = std::basic_istream<char>]':
../../include/rheolef/array_seq.icc:75:19:   required from 'rheolef::idiststream& rheolef::array_rep<T, rheolef::sequential, A>::get_values(rheolef::idiststream&, GetFunction) [with GetFunction = rheolef::_array_get_element_type<double>; T = double; A = std::allocator<double>]'
../../include/rheolef/array_seq.icc:83:21:   required from 'rheolef::idiststream& rheolef::array_rep<T, rheolef::sequential, A>::get_values(rheolef::idiststream&) [with T = double; A = std::allocator<double>]'
array_seq_inst.cc:28:16:   required from here
../../include/rheolef/load_chunk.h:40:12: error: cannot convert 'std::istream {aka std::basic_istream<char>}' to 'bool' in return
     return s;
            ^
../../include/rheolef/load_chunk.h: In instantiation of 'bool rheolef::load_chunk(std::istream&, RandomIterator, RandomIterator, GetFunction) [with RandomIterator = __gnu_cxx::__normal_iterator<int*, std::vector<int> >; GetFunction = rheolef::_array_get_element_type<int>; std::istream = std::basic_istream<char>]':
../../include/rheolef/array_seq.icc:75:19:   required from 'rheolef::idiststream& rheolef::array_rep<T, rheolef::sequential, A>::get_values(rheolef::idiststream&, GetFunction) [with GetFunction = rheolef::_array_get_element_type<int>; T = int; A = std::allocator<int>]'
../../include/rheolef/array_seq.icc:83:21:   required from 'rheolef::idiststream& rheolef::array_rep<T, rheolef::sequential, A>::get_values(rheolef::idiststream&) [with T = int; A = std::allocator<int>]'
array_seq_inst.cc:29:16:   required from here
../../include/rheolef/load_chunk.h:40:12: error: cannot convert 'std::istream {aka std::basic_istream<char>}' to 'bool' in return
../../include/rheolef/load_chunk.h: In instantiation of 'bool rheolef::load_chunk(std::istream&, RandomIterator, RandomIterator, GetFunction) [with RandomIterator = __gnu_cxx::__normal_iterator<long unsigned int*, std::vector<long unsigned int, std::allocator<long unsigned int> > >; GetFunction = rheolef::_array_get_element_type<long unsigned int>; std::istream = std::basic_istream<char>]':
../../include/rheolef/array_seq.icc:75:19:   required from 'rheolef::idiststream& rheolef::array_rep<T, rheolef::sequential, A>::get_values(rheolef::idiststream&, GetFunction) [with GetFunction = rheolef::_array_get_element_type<long unsigned int>; T = long unsigned int; A = std::allocator<long unsigned int>]'
../../include/rheolef/array_seq.icc:83:21:   required from 'rheolef::idiststream& rheolef::array_rep<T, rheolef::sequential, A>::get_values(rheolef::idiststream&) [with T = long unsigned int; A = std::allocator<long unsigned int>]'
array_seq_inst.cc:30:16:   required from here
../../include/rheolef/load_chunk.h:40:12: error: cannot convert 'std::istream {aka std::basic_istream<char>}' to 'bool' in return
make[4]: *** [array_seq_inst.lo] Error 1
Makefile:718: recipe for target 'array_seq_inst.lo' failed
make[3]: *** [all] Error 2
Makefile:611: recipe for target 'all' failed
make[2]: *** [all-recursive] Error 1
Makefile:441: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Makefile:551: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-stamp] Error 2
debian/rules:59: recipe for target 'build-stamp' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the debian-science-maintainers mailing list