Bug#984029: deal.ii: ftbfs with GCC-11

Matthias Klose doko at debian.org
Wed Mar 3 16:11:31 GMT 2021


Package: src:deal.ii
Version: 9.2.0-3
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye release]

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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/deal.ii_9.2.0-3_unstable_gcc11.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
                 from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /usr/include/boost/archive/detail/helper_collection.hpp:27,
                 from /usr/include/boost/archive/detail/basic_iarchive.hpp:28,
                 from /usr/include/boost/archive/detail/common_iarchive.hpp:21,
                 from /usr/include/boost/archive/basic_binary_iarchive.hpp:30,
                 from /usr/include/boost/archive/binary_iarchive_impl.hpp:21,
                 from /usr/include/boost/archive/binary_iarchive.hpp:20,
                 from /<<PKGBUILDDIR>>/include/deal.II/base/utilities.h:45,
                 from /<<PKGBUILDDIR>>/include/deal.II/lac/block_indices.h:25,
                 from /<<PKGBUILDDIR>>/include/deal.II/lac/block_vector.h:24,
                 from /<<PKGBUILDDIR>>/include/deal.II/numerics/vector_tools_project.templates.h:20,
                 from /<<PKGBUILDDIR>>/source/numerics/vector_tools_project_codim.cc:17:
/usr/include/boost/detail/no_exceptions_support.hpp:17:1: note: ‘#pragma message: This header is deprecated. Use <boost/core/no_exceptions_support.hpp> instead.’
   17 | BOOST_HEADER_DEPRECATED("<boost/core/no_exceptions_support.hpp>")
      | ^~~~~~~~~~~~~~~~~~~~~~~
[ 45%] Building CXX object source/numerics/CMakeFiles/obj_numerics_release.dir/vector_tools_project_qp.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/source/numerics && /usr/bin/c++ -DBOOST_NO_AUTO_PTR -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/source/numerics -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/include/trilinos -isystem /usr/include/hdf5/openmpi -isystem /usr/include/scotch -isystem /usr/include/suitesparse -isystem /usr/include/petsc -isystem /usr/lib/x86_64-linux-gnu/hdf5/openmpi/include -isystem /usr/include/opencascade -isystem /usr/include/slepc -pedantic -fPIC -Wall -Wextra -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wsuggest-override -Wswitch -Wsynth -Wwrite-strings -Wno-placement-new -Wno-deprecated-declarations -Wno-literal-suffix -Wno-psabi -Wno-class-memaccess -std=c++17 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-nonnull-compare -Wno-address -pthread -Wno-unused-local-typedefs -funroll-loops -funroll-all-loops -fstrict-aliasing -o CMakeFiles/obj_numerics_release.dir/vector_tools_project_qp.cc.o -c /<<PKGBUILDDIR>>/source/numerics/vector_tools_project_qp.cc
[ 45%] Building CXX object source/numerics/CMakeFiles/obj_numerics_release.dir/vector_tools_project_qpmf.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/source/numerics && /usr/bin/c++ -DBOOST_NO_AUTO_PTR -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/source/numerics -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/include/trilinos -isystem /usr/include/hdf5/openmpi -isystem /usr/include/scotch -isystem /usr/include/suitesparse -isystem /usr/include/petsc -isystem /usr/lib/x86_64-linux-gnu/hdf5/openmpi/include -isystem /usr/include/opencascade -isystem /usr/include/slepc -pedantic -fPIC -Wall -Wextra -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wsuggest-override -Wswitch -Wsynth -Wwrite-strings -Wno-placement-new -Wno-deprecated-declarations -Wno-literal-suffix -Wno-psabi -Wno-class-memaccess -std=c++17 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-nonnull-compare -Wno-address -pthread -Wno-unused-local-typedefs -funroll-loops -funroll-all-loops -fstrict-aliasing -o CMakeFiles/obj_numerics_release.dir/vector_tools_project_qpmf.cc.o -c /<<PKGBUILDDIR>>/source/numerics/vector_tools_project_qpmf.cc
In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /usr/include/boost/archive/detail/helper_collection.hpp:27,
                 from /usr/include/boost/archive/detail/basic_iarchive.hpp:28,
                 from /usr/include/boost/archive/detail/common_iarchive.hpp:21,
                 from /usr/include/boost/archive/basic_binary_iarchive.hpp:30,
                 from /usr/include/boost/archive/binary_iarchive_impl.hpp:21,
                 from /usr/include/boost/archive/binary_iarchive.hpp:20,
                 from /<<PKGBUILDDIR>>/include/deal.II/base/utilities.h:45,
                 from /<<PKGBUILDDIR>>/include/deal.II/lac/block_indices.h:25,
                 from /<<PKGBUILDDIR>>/include/deal.II/lac/block_vector.h:24,
                 from /<<PKGBUILDDIR>>/include/deal.II/numerics/vector_tools_project.templates.h:20,
                 from /<<PKGBUILDDIR>>/source/numerics/vector_tools_project_qp.cc:17:
/usr/include/boost/detail/no_exceptions_support.hpp:17:1: note: ‘#pragma message: This header is deprecated. Use <boost/core/no_exceptions_support.hpp> instead.’
   17 | BOOST_HEADER_DEPRECATED("<boost/core/no_exceptions_support.hpp>")
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /usr/include/boost/archive/detail/helper_collection.hpp:27,
                 from /usr/include/boost/archive/detail/basic_iarchive.hpp:28,
                 from /usr/include/boost/archive/detail/common_iarchive.hpp:21,
                 from /usr/include/boost/archive/basic_binary_iarchive.hpp:30,
                 from /usr/include/boost/archive/binary_iarchive_impl.hpp:21,
                 from /usr/include/boost/archive/binary_iarchive.hpp:20,
                 from /<<PKGBUILDDIR>>/include/deal.II/base/utilities.h:45,
                 from /<<PKGBUILDDIR>>/include/deal.II/lac/block_indices.h:25,
                 from /<<PKGBUILDDIR>>/include/deal.II/lac/block_vector.h:24,
                 from /<<PKGBUILDDIR>>/include/deal.II/numerics/vector_tools_project.templates.h:20,
                 from /<<PKGBUILDDIR>>/source/numerics/vector_tools_project_qpmf.cc:17:
/usr/include/boost/detail/no_exceptions_support.hpp:17:1: note: ‘#pragma message: This header is deprecated. Use <boost/core/no_exceptions_support.hpp> instead.’
   17 | BOOST_HEADER_DEPRECATED("<boost/core/no_exceptions_support.hpp>")
      | ^~~~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 45%] Built target obj_numerics_release
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:152: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list