Bug#1075347: opm-grid: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:39:00 BST 2024


Package: src:opm-grid
Version: 2024.04+ds-2
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14

[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-14/g++-14, but succeeds to build with gcc-13/g++-13. 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/2024/07/01/opm-grid_2024.04+ds-2_unstable_gccexp.log
The last lines of the build log are at the end of this report.

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

[...]
[  7%] Generating tests/FIVE_PINCH.DATA
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/cpgrid/Intersection.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/cpgrid/Intersection.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/cpgrid/Intersection.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/cpgrid/Intersection.cpp
/usr/bin/cmake -E copy /<<PKGBUILDDIR>>/tests/FIVE_PINCH.DATA /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/FIVE_PINCH.DATA
/usr/bin/cmake -E copy /<<PKGBUILDDIR>>/tests/CORNERPOINT_ACTNUM.DATA /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/CORNERPOINT_ACTNUM.DATA
[  7%] Generating tests/FIVE_PINCH_NOGAP2.DATA
[  8%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/cpgrid/CpGridData.cpp.o
/usr/bin/cmake -E copy /<<PKGBUILDDIR>>/tests/FIVE_PINCH_NOGAP2.DATA /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/FIVE_PINCH_NOGAP2.DATA
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/cpgrid/CpGridData.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/cpgrid/CpGridData.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/cpgrid/CpGridData.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/cpgrid/CpGridData.cpp
[  8%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/cpgrid/CpGrid.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/cpgrid/CpGrid.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/cpgrid/CpGrid.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/cpgrid/CpGrid.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/cpgrid/CpGrid.cpp
[  9%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/cpgrid/GridHelpers.cpp.o
[ 10%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/cpgrid/DataHandleWrappers.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/cpgrid/GridHelpers.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/cpgrid/GridHelpers.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/cpgrid/GridHelpers.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/cpgrid/GridHelpers.cpp
[ 10%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/cpgrid/Iterators.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/cpgrid/DataHandleWrappers.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/cpgrid/DataHandleWrappers.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/cpgrid/DataHandleWrappers.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/cpgrid/DataHandleWrappers.cpp
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/cpgrid/Iterators.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/cpgrid/Iterators.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/cpgrid/Iterators.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/cpgrid/Iterators.cpp
[ 12%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/cpgrid/Indexsets.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/cpgrid/Indexsets.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/cpgrid/Indexsets.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/cpgrid/Indexsets.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/cpgrid/Indexsets.cpp
[ 13%] Making "tests" data available in output tree
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 13%] Built target datafiles
[ 14%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/cpgrid/PartitionTypeIndicator.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/cpgrid/PartitionTypeIndicator.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/cpgrid/PartitionTypeIndicator.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/cpgrid/PartitionTypeIndicator.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/cpgrid/PartitionTypeIndicator.cpp
[ 15%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/cpgrid/processEclipseFormat.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/cpgrid/processEclipseFormat.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/cpgrid/processEclipseFormat.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/cpgrid/processEclipseFormat.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/cpgrid/processEclipseFormat.cpp
[ 15%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/cpgrid/readSintefLegacyFormat.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/cpgrid/readSintefLegacyFormat.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/cpgrid/readSintefLegacyFormat.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/cpgrid/readSintefLegacyFormat.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/cpgrid/readSintefLegacyFormat.cpp
[ 16%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/cpgrid/writeSintefLegacyFormat.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/cpgrid/writeSintefLegacyFormat.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/cpgrid/writeSintefLegacyFormat.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/cpgrid/writeSintefLegacyFormat.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/cpgrid/writeSintefLegacyFormat.cpp
[ 17%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/common/GeometryHelpers.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/common/GeometryHelpers.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/common/GeometryHelpers.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/common/GeometryHelpers.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/common/GeometryHelpers.cpp
[ 17%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/common/GridPartitioning.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/common/GridPartitioning.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/common/GridPartitioning.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/common/GridPartitioning.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/common/GridPartitioning.cpp
[ 18%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/common/WellConnections.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/common/WellConnections.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/common/WellConnections.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/common/WellConnections.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/common/WellConnections.cpp
[ 19%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/common/ZoltanGraphFunctions.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/common/ZoltanGraphFunctions.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/common/ZoltanGraphFunctions.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/common/ZoltanGraphFunctions.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/common/ZoltanGraphFunctions.cpp
[ 20%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/common/ZoltanPartition.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/common/ZoltanPartition.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/common/ZoltanPartition.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/common/ZoltanPartition.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/common/ZoltanPartition.cpp
[ 20%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/CellQuadrature.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/CellQuadrature.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/CellQuadrature.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/CellQuadrature.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/CellQuadrature.cpp
[ 21%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/ColumnExtract.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/ColumnExtract.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/ColumnExtract.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/ColumnExtract.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/ColumnExtract.cpp
[ 23%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/FaceQuadrature.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/FaceQuadrature.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/FaceQuadrature.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/FaceQuadrature.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/FaceQuadrature.cpp
[ 23%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/GridHelpers.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/GridHelpers.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/GridHelpers.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/GridHelpers.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/GridHelpers.cpp
[ 24%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/GridManager.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/GridManager.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/GridManager.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/GridManager.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/GridManager.cpp
[ 25%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/GridUtilities.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/GridUtilities.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/GridUtilities.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/GridUtilities.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/GridUtilities.cpp
[ 26%] Building CXX object CMakeFiles/opmgrid.dir/opm/grid/MinpvProcessor.cpp.o
/usr/bin/c++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fopenmp -pthread -std=c++17 -fPIC -fopenmp -MD -MT CMakeFiles/opmgrid.dir/opm/grid/MinpvProcessor.cpp.o -MF CMakeFiles/opmgrid.dir/opm/grid/MinpvProcessor.cpp.o.d -o CMakeFiles/opmgrid.dir/opm/grid/MinpvProcessor.cpp.o -c /<<PKGBUILDDIR>>/opm/grid/MinpvProcessor.cpp
[ 26%] Building C object CMakeFiles/opmgrid.dir/opm/grid/cart_grid.c.o
/usr/bin/cc -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DENABLE_MPI=1 -DFMT_SHARED -DHAVE_CONFIG_H=1 -DModelP -Dopmgrid_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/parmetis -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/cjson -I/usr/include/trilinos -I/usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -pipe -fopenmp -pthread -fPIC -MD -MT CMakeFiles/opmgrid.dir/opm/grid/cart_grid.c.o -MF CMakeFiles/opmgrid.dir/opm/grid/cart_grid.c.o.d -o CMakeFiles/opmgrid.dir/opm/grid/cart_grid.c.o -c /<<PKGBUILDDIR>>/opm/grid/cart_grid.c
/<<PKGBUILDDIR>>/opm/grid/MinpvProcessor.cpp: In member function ‘double Opm::MinpvProcessor::computeGap(const std::array<double, 8>&, const std::array<double, 8>&) const’:
/<<PKGBUILDDIR>>/opm/grid/MinpvProcessor.cpp:47:28: error: ‘min_element’ is not a member of ‘std’; did you mean ‘tuple_element’?
   47 |     double min_val = *std::min_element(vertical_gap.begin(), vertical_gap.end());
      |                            ^~~~~~~~~~~
      |                            tuple_element
make[3]: *** [CMakeFiles/opmgrid.dir/build.make:387: CMakeFiles/opmgrid.dir/opm/grid/MinpvProcessor.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:211: CMakeFiles/opmgrid.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