Bug#897846: rheolef: ftbfs with GCC-8
Matthias Klose
doko at debian.org
Fri May 4 13:23:21 BST 2018
Package: src:rheolef
Version: 7.0-1
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-8
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-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.
The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/rheolef_7.0-1_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.
To build with GCC 8, either set CC=gcc-8 CXX=g++-8 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-8/porting_to.html
[...]
/usr/include/c++/8/bits/stl_vector.h: In instantiation of 'class std::vector<std::pair<long unsigned int, int>, std::allocator<int> >':
../../include/rheolef/disarray.h:275:59: required from 'struct rheolef::disarray_rep<int, rheolef::distributed, std::allocator<int> >::message_type'
../../include/rheolef/disarray.h:286:22: required from 'class rheolef::disarray_rep<int, rheolef::distributed, std::allocator<int> >'
disarray_mpi_inst.cc:31:16: required from here
/usr/include/c++/8/bits/stl_vector.h:354:21: error: static assertion failed: std::vector must have the same value_type as its allocator
static_assert(is_same<typename _Alloc::value_type, _Tp>::value,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/map:61,
from ../../include/rheolef/compiler.h:345,
from ../../include/rheolef/distributed.h:24,
from ../../include/rheolef/disarray.h:24,
from disarray_mpi_inst.cc:25:
/usr/include/c++/8/bits/stl_map.h: In instantiation of 'class std::map<long unsigned int, long unsigned int, std::less<long unsigned int>, std::allocator<std::pair<long unsigned int, long unsigned int> > >':
../../include/rheolef/disarray.h:285:22: required from 'class rheolef::disarray_rep<long unsigned int, rheolef::distributed, std::allocator<long unsigned int> >'
disarray_mpi_inst.cc:32:16: required from here
/usr/include/c++/8/bits/stl_map.h:122:21: error: static assertion failed: std::map must have the same value_type as its allocator
static_assert(is_same<typename _Alloc::value_type, value_type>::value,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/list:63,
from ../../include/rheolef/compiler.h:333,
from ../../include/rheolef/distributed.h:24,
from ../../include/rheolef/disarray.h:24,
from disarray_mpi_inst.cc:25:
/usr/include/c++/8/bits/stl_list.h: In instantiation of 'class std::__cxx11::list<std::pair<long unsigned int, boost::mpi::request>, std::allocator<long unsigned int> >':
../../include/rheolef/disarray.h:274:59: required from 'struct rheolef::disarray_rep<long unsigned int, rheolef::distributed, std::allocator<long unsigned int> >::message_type'
../../include/rheolef/disarray.h:286:22: required from 'class rheolef::disarray_rep<long unsigned int, rheolef::distributed, std::allocator<long unsigned int> >'
disarray_mpi_inst.cc:32:16: required from here
/usr/include/c++/8/bits/stl_list.h:578:21: error: static assertion failed: std::list must have the same value_type as its allocator
static_assert(is_same<typename _Alloc::value_type, _Tp>::value,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/vector:64,
from ../../include/rheolef/compiler.h:327,
from ../../include/rheolef/distributed.h:24,
from ../../include/rheolef/disarray.h:24,
from disarray_mpi_inst.cc:25:
/usr/include/c++/8/bits/stl_vector.h: In instantiation of 'class std::vector<std::pair<long unsigned int, long unsigned int>, std::allocator<long unsigned int> >':
../../include/rheolef/disarray.h:275:59: required from 'struct rheolef::disarray_rep<long unsigned int, rheolef::distributed, std::allocator<long unsigned int> >::message_type'
../../include/rheolef/disarray.h:286:22: required from 'class rheolef::disarray_rep<long unsigned int, rheolef::distributed, std::allocator<long unsigned int> >'
disarray_mpi_inst.cc:32:16: required from here
/usr/include/c++/8/bits/stl_vector.h:354:21: error: static assertion failed: std::vector must have the same value_type as its allocator
static_assert(is_same<typename _Alloc::value_type, _Tp>::value,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:742: disarray_mpi_inst.lo] Error 1
make[3]: *** [Makefile:641: all] Error 2
make[2]: *** [Makefile:463: all-recursive] Error 1
make[1]: *** [Makefile:554: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 returned exit code 2
make: *** [debian/rules:30: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list