Bug#926215: dune-pdelab: FTBFS with gcc 8.3

Santiago Vila sanvila at debian.org
Tue Apr 2 08:47:13 BST 2019


Package: src:dune-pdelab
Version: 2.6~20180302-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_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" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DBUILD_SHARED_LIBS=1 ..
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.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 ...]

cd "/<<PKGBUILDDIR>>/build/dune/pdelab/test" && /usr/bin/c++  -DENABLE_EIGEN=1 -DENABLE_GMP=1 -DENABLE_MPI=1 -DENABLE_SUITESPARSE=1 -DENABLE_SUPERLU=1 -DENABLE_TBB=1 -DENABLE_UG=1 -DHAVE_CONFIG_H -DMPICH_SKIP_MPICXX -DMPIPP_H -DMPI_NO_CPPBIND -DModelP -DUG_USE_NEW_DIMENSION_DEFINES -D_TBB_CPP0X -I"/<<PKGBUILDDIR>>/build" -I"/<<PKGBUILDDIR>>" -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -I/usr/include/eigen3 -I/usr/include/suitesparse -I/usr/include/superlu -I/usr/include/alberta  -std=c++17 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE   -o CMakeFiles/testdunefunctionsgfs.dir/testdunefunctionsgfs.cc.o -c "/<<PKGBUILDDIR>>/dune/pdelab/test/testdunefunctionsgfs.cc"
In file included from /usr/include/dune/istl/paamg/amg.hh:9,
                 from /<<PKGBUILDDIR>>/dune/pdelab/backend/istl/seqistlsolverbackend.hh:15,
                 from /<<PKGBUILDDIR>>/dune/pdelab/backend/istl/istlsolverbackend.hh:6,
                 from /<<PKGBUILDDIR>>/dune/pdelab/backend/istl.hh:7,
                 from /<<PKGBUILDDIR>>/dune/pdelab/backend/istl/dunefunctions.hh:6,
                 from /<<PKGBUILDDIR>>/dune/pdelab/gridfunctionspace/dunefunctionsgridfunctionspace.hh:16,
                 from /<<PKGBUILDDIR>>/dune/pdelab/test/testdunefunctionsgfs.cc:15:
/usr/include/dune/istl/paamg/transfer.hh:97:5: error: no declaration matches 'void Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::prolongateVector(const Dune::Amg::AggregatesMap<V>&, Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::Vector&, Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::Vector&, Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::Vector&, T, const Dune::Amg::SequentialInformation&, const Redist&)'
     Transfer<V,V1,SequentialInformation>::prolongateVector(const AggregatesMap<Vertex>& aggregates,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/dune/istl/paamg/transfer.hh:62:19: note: candidates are: 'template<class V, class V1> template<class T1> static void Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::prolongateVector(const Dune::Amg::AggregatesMap<V>&, Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::Vector&, Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::Vector&, T1, const Dune::Amg::SequentialInformation&)'
       static void prolongateVector(const AggregatesMap<Vertex>& aggregates, Vector& coarse, Vector& fine,
                   ^~~~~~~~~~~~~~~~
/usr/include/dune/istl/paamg/transfer.hh:57:19: note:                 'template<class V, class V1> template<class T1> static void Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::prolongateVector(const Dune::Amg::AggregatesMap<V>&, Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::Vector&, Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::Vector&, Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::Vector&, T1, const Dune::Amg::SequentialInformation&, const Redist&)'
       static void prolongateVector(const AggregatesMap<Vertex>& aggregates, Vector& coarse, Vector& fine,
                   ^~~~~~~~~~~~~~~~
/usr/include/dune/istl/paamg/transfer.hh:50:11: note: 'class Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>' defined here
     class Transfer<V,V1, SequentialInformation>
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/dune/istl/paamg/transfer.hh:111:5: error: no declaration matches 'void Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::prolongateVector(const Dune::Amg::AggregatesMap<V>&, Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::Vector&, Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::Vector&, T, const Dune::Amg::SequentialInformation&)'
     Transfer<V,V1,SequentialInformation>::prolongateVector(const AggregatesMap<Vertex>& aggregates,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/dune/istl/paamg/transfer.hh:62:19: note: candidates are: 'template<class V, class V1> template<class T1> static void Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::prolongateVector(const Dune::Amg::AggregatesMap<V>&, Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::Vector&, Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::Vector&, T1, const Dune::Amg::SequentialInformation&)'
       static void prolongateVector(const AggregatesMap<Vertex>& aggregates, Vector& coarse, Vector& fine,
                   ^~~~~~~~~~~~~~~~
/usr/include/dune/istl/paamg/transfer.hh:57:19: note:                 'template<class V, class V1> template<class T1> static void Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::prolongateVector(const Dune::Amg::AggregatesMap<V>&, Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::Vector&, Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::Vector&, Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>::Vector&, T1, const Dune::Amg::SequentialInformation&, const Redist&)'
       static void prolongateVector(const AggregatesMap<Vertex>& aggregates, Vector& coarse, Vector& fine,
                   ^~~~~~~~~~~~~~~~
/usr/include/dune/istl/paamg/transfer.hh:50:11: note: 'class Dune::Amg::Transfer<V, V1, Dune::Amg::SequentialInformation>' defined here
     class Transfer<V,V1, SequentialInformation>
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[5]: *** [dune/pdelab/test/CMakeFiles/testdunefunctionsgfs.dir/build.make:66: dune/pdelab/test/CMakeFiles/testdunefunctionsgfs.dir/testdunefunctionsgfs.cc.o] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[4]: *** [CMakeFiles/Makefile2:2850: dune/pdelab/test/CMakeFiles/testdunefunctionsgfs.dir/all] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[3]: *** [CMakeFiles/Makefile2:1296: CMakeFiles/build_tests.dir/rule] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [Makefile:655: 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 above is just how the build ends but I believe it's the most relevant part.

The build was made in my autobuilder with "dpkg-buildpackage -A".
I can't currently offer a second independent build log (reproducible-builds is down),
but this seems a C++ problem to me.

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