Bug#906351: dune-istl: FTBFS in buster/sid (error: static assertion failed)

Santiago Vila sanvila at debian.org
Fri Aug 17 12:19:30 BST 2018


Package: src:dune-istl
Version: 2.6.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules binary-indep
dh binary-indep --parallel --builddirectory=build
   dh_update_autotools_config -i -O--parallel -O--builddirectory=build
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -DBUILD_SHARED_LIBS=1
	cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON "-GUnix Makefiles" -DBUILD_SHARED_LIBS=1 ..
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features

[... snipped ...]

In file included from /usr/include/c++/8/map:60,
                 from /<<PKGBUILDDIR>>/dune/istl/repartition.hh:7,
                 from /<<PKGBUILDDIR>>/dune/istl/matrixredistribute.hh:6,
                 from /<<PKGBUILDDIR>>/dune/istl/test/matrixredisttest.cc:7:
/usr/include/c++/8/bits/stl_tree.h: In instantiation of 'class std::_Rb_tree<std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> >, std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> >, std::_Identity<std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> > >, Dune::{anonymous}::CompPair, std::allocator<std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> > > >':
/usr/include/c++/8/bits/stl_set.h:133:17:   required from 'class std::set<std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> >, Dune::{anonymous}::CompPair, std::allocator<std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> > > >'
/<<PKGBUILDDIR>>/dune/istl/matrixutils.hh:196:57:   required from 'void Dune::printGlobalSparseMatrix(const M&, C&, std::ostream&) [with M = Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >; C = Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<56> >; std::ostream = std::basic_ostream<char>]'
/<<PKGBUILDDIR>>/dune/istl/test/matrixredisttest.cc:78:26:   required from 'int testRepart(int, int) [with int BS = 1]'
/<<PKGBUILDDIR>>/dune/istl/test/matrixredisttest.cc:142:32:   required from here
/usr/include/c++/8/bits/stl_tree.h:457:21: error: static assertion failed: comparison object must be invocable as const
       static_assert(is_invocable_v<const _Compare&, const _Key&, const _Key&>,
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_tree.h:964:7: warning: 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::~_Rb_tree() noexcept [with _Key = std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> >; _Val = std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> >; _KeyOfValue = std::_Identity<std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> > >; _Compare = Dune::{anonymous}::CompPair; _Alloc = std::allocator<std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> > >]' used but never defined
       ~_Rb_tree() _GLIBCXX_NOEXCEPT
       ^
/usr/include/c++/8/bits/stl_tree.h:699:4: warning: 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_impl<_Key_compare, <anonymous> >::_Rb_tree_impl() noexcept (false) [with _Key_compare = Dune::{anonymous}::CompPair; bool <anonymous> = true; _Key = std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> >; _Val = std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> >; _KeyOfValue = std::_Identity<std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> > >; _Compare = Dune::{anonymous}::CompPair; _Alloc = std::allocator<std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> > >]' used but never defined
    _Rb_tree_impl()
    ^~~~~~~~~~~~~
In file included from /usr/include/c++/8/set:61,
                 from /usr/include/dune/common/parallel/remoteindices.hh:13,
                 from /usr/include/dune/common/parallel/interface.hh:8,
                 from /usr/include/dune/common/parallel/communicator.hh:18,
                 from /<<PKGBUILDDIR>>/dune/istl/repartition.hh:25,
                 from /<<PKGBUILDDIR>>/dune/istl/matrixredistribute.hh:6,
                 from /<<PKGBUILDDIR>>/dune/istl/test/matrixredisttest.cc:7:
/usr/include/c++/8/bits/stl_set.h:353:7: warning: 'std::set<_Key, _Compare, _Alloc>::iterator std::set<_Key, _Compare, _Alloc>::end() const noexcept [with _Key = std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> >; _Compare = Dune::{anonymous}::CompPair; _Alloc = std::allocator<std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> > >]' used but never defined
       end() const _GLIBCXX_NOEXCEPT
       ^~~
/usr/include/c++/8/bits/stl_set.h:344:7: warning: 'std::set<_Key, _Compare, _Alloc>::iterator std::set<_Key, _Compare, _Alloc>::begin() const noexcept [with _Key = std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> >; _Compare = Dune::{anonymous}::CompPair; _Alloc = std::allocator<std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> > >]' used but never defined
       begin() const _GLIBCXX_NOEXCEPT
       ^~~~~
/usr/include/c++/8/bits/stl_set.h:518:7: warning: 'std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(std::set<_Key, _Compare, _Alloc>::value_type&&) [with _Key = std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> >; _Compare = Dune::{anonymous}::CompPair; _Alloc = std::allocator<std::pair<Dune::bigunsignedint<56>, Dune::FieldMatrix<double, 1, 1> > >]' used but never defined
       insert(value_type&& __x)
       ^~~~~~
make[5]: *** [dune/istl/test/CMakeFiles/matrixredisttest.dir/build.make:66: dune/istl/test/CMakeFiles/matrixredisttest.dir/matrixredisttest.cc.o] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[4]: *** [CMakeFiles/Makefile2:3374: dune/istl/test/CMakeFiles/matrixredisttest.dir/all] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[3]: *** [CMakeFiles/Makefile2:1226: CMakeFiles/build_tests.dir/rule] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [Makefile:642: build_tests] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: cd build && make -j1 build_tests returned exit code 2
make[1]: *** [/usr/share/dune/dune-debian.mk:20: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary-indep] Error 2
dpkg-buildpackage: error: debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/dune-istl.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the debian-science-maintainers mailing list