Bug#1037810: opm-upscaling: ftbfs with GCC-13

Matthias Klose doko at debian.org
Wed Jun 14 10:29:46 BST 2023


Package: src:opm-upscaling
Version: 2022.10+ds-4
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-13

[This bug is targeted to the upcoming trixie 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-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/opm-upscaling_2022.10+ds-4_unstable_gccexp.log
The last lines of the build log are at the end of this report.

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

[...]
/<<PKGBUILDDIR>>/opm/porsol/mimetic/IncompFlowSolverHybrid.hpp:158:35: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
  158 |         class axpby : public std::binary_function<T,T,T> {
      |                                   ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/13/bits/stl_tree.h:65,
                 from /usr/include/c++/13/map:62,
                 from /usr/include/opm/common/utility/parameters/ParameterGroup.hpp:40,
                 from /<<PKGBUILDDIR>>/opm/porsol/euler/EulerUpstreamResidual.hpp:41,
                 from /<<PKGBUILDDIR>>/opm/porsol/euler/ImplicitCapillarity.hpp:40:
/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here
  131 |     struct binary_function
      |            ^~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/opmupscaling.dir/build.make:219: CMakeFiles/opmupscaling.dir/opm/elasticity/boundarygrid.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /<<PKGBUILDDIR>>/opm/porsol/common/ImplicitTransportDefs.hpp:20,
                 from /<<PKGBUILDDIR>>/opm/porsol/common/ImplicitTransportDefs.cpp:22:
/<<PKGBUILDDIR>>/opm/core/transport/implicit/NormSupport.hpp:47:38: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
   47 |         class MaxAbs : public ::std::binary_function <double, T, double> {
      |                                      ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/13/string:49,
                 from /usr/include/c++/13/bits/locale_classes.h:40,
                 from /usr/include/c++/13/bits/ios_base.h:41,
                 from /usr/include/c++/13/ios:44,
                 from /usr/include/c++/13/istream:40,
                 from /usr/include/c++/13/sstream:40,
                 from /usr/include/c++/13/complex:45,
                 from /usr/include/dune/common/fvector.hh:12,
                 from /<<PKGBUILDDIR>>/opm/porsol/common/ImplicitTransportDefs.hpp:6:
/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here
  131 |     struct binary_function
      |            ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/opm/core/transport/implicit/NormSupport.hpp:59:38: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
   59 |         class SumAbs : public ::std::binary_function <double, T, double> {
      |                                      ^~~~~~~~~~~~~~~
/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here
  131 |     struct binary_function
      |            ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/opm/core/transport/implicit/NormSupport.hpp:71:38: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
   71 |         class Euclid : public ::std::binary_function <double, T, double> {
      |                                      ^~~~~~~~~~~~~~~
/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here
  131 |     struct binary_function
      |            ^~~~~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 39%] Built target benchmark20
In file included from /<<PKGBUILDDIR>>/opm/porsol/common/SimulatorTraits.hpp:43,
                 from /<<PKGBUILDDIR>>/opm/upscaling/UpscalingTraits.hpp:38,
                 from /<<PKGBUILDDIR>>/opm/upscaling/SinglePhaseUpscaler.hpp:39,
                 from /<<PKGBUILDDIR>>/opm/upscaling/RelPermUtils.hpp:33,
                 from /<<PKGBUILDDIR>>/opm/upscaling/RelPermUtils.cpp:22:
/<<PKGBUILDDIR>>/opm/porsol/mimetic/IncompFlowSolverHybrid.hpp:158:35: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
  158 |         class axpby : public std::binary_function<T,T,T> {
      |                                   ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/13/string:49,
                 from /usr/include/c++/13/stdexcept:39,
                 from /usr/include/c++/13/system_error:43,
                 from /usr/include/c++/13/bits/fs_fwd.h:35,
                 from /usr/include/c++/13/filesystem:48,
                 from /usr/include/opm/input/eclipse/Parser/Parser.hpp:23,
                 from /<<PKGBUILDDIR>>/opm/upscaling/RelPermUtils.hpp:27:
/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here
  131 |     struct binary_function
      |            ^~~~~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:188: CMakeFiles/opmupscaling.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list