[Debichem-devel] Bug#984161: gromacs: ftbfs with GCC-11

Matthias Klose doko at debian.org
Wed Mar 3 16:12:55 GMT 2021


Package: src:gromacs
Version: 2020.5-4
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/gromacs_2020.5-4_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.

[...]
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/basic'
/usr/bin/make  -f src/programs/CMakeFiles/view_objlib.dir/build.make src/programs/CMakeFiles/view_objlib.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/build/basic'
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/3dview.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/3dview.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/buttons.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/buttons.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/src/external/thread_mpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/mdrun_objlib.dir/mdrun/nonbonded_bench.cpp.o -c /<<PKGBUILDDIR>>/src/programs/mdrun/nonbonded_bench.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/dialogs.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/dialogs.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/gromacs/modularsimulator && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/src/external/thread_mpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -fopenmp -Wno-redundant-move -std=c++14 -o CMakeFiles/modularsimulator.dir/constraintelement.cpp.o -c /<<PKGBUILDDIR>>/src/gromacs/modularsimulator/constraintelement.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/fgrid.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/fgrid.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/gromacs && /usr/bin/cc -DGMX_DOUBLE=0 -DUSE_STD_INTTYPES_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/external/tng_io/include -I/<<PKGBUILDDIR>>/build/basic/tng/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -msse4.1 -fexcess-precision=fast -funroll-all-loops -o CMakeFiles/tng_io_obj.dir/__/external/tng_io/src/lib/tng_io.c.o -c /<<PKGBUILDDIR>>/src/external/tng_io/src/lib/tng_io.c
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/basic'
[  3%] Built target mdrun_objlib
cd /<<PKGBUILDDIR>>/build/basic/src/gromacs && /usr/bin/cc -DGMX_DOUBLE=0 -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/external/tng_io/include -I/<<PKGBUILDDIR>>/build/basic/tng/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -msse4.1 -fexcess-precision=fast -funroll-all-loops -o CMakeFiles/tng_io_obj.dir/__/external/tng_io/src/lib/md5.c.o -c /<<PKGBUILDDIR>>/src/external/tng_io/src/lib/md5.c
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/filter.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/filter.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/logo.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/logo.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/gromacs/modularsimulator && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/src/external/thread_mpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -fopenmp -Wno-redundant-move -std=c++14 -o CMakeFiles/modularsimulator.dir/domdechelper.cpp.o -c /<<PKGBUILDDIR>>/src/gromacs/modularsimulator/domdechelper.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/manager.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/manager.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/molps.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/molps.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/nleg.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/nleg.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/gromacs/modularsimulator && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/src/external/thread_mpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -fopenmp -Wno-redundant-move -std=c++14 -o CMakeFiles/modularsimulator.dir/energyelement.cpp.o -c /<<PKGBUILDDIR>>/src/gromacs/modularsimulator/energyelement.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/nmol.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/nmol.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/popup.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/popup.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/pulldown.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/pulldown.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/view.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/view.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/x11.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/x11.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/xdlg.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/xdlg.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/xdlghi.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/xdlghi.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/gromacs/modularsimulator && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/src/external/thread_mpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -fopenmp -Wno-redundant-move -std=c++14 -o CMakeFiles/modularsimulator.dir/forceelement.cpp.o -c /<<PKGBUILDDIR>>/src/gromacs/modularsimulator/forceelement.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/xdlgitem.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/xdlgitem.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/xmb.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/xmb.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/gromacs/modularsimulator && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/src/external/thread_mpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -fopenmp -Wno-redundant-move -std=c++14 -o CMakeFiles/modularsimulator.dir/freeenergyperturbationelement.cpp.o -c /<<PKGBUILDDIR>>/src/gromacs/modularsimulator/freeenergyperturbationelement.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/programs && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -msse4.1 -fexcess-precision=fast -funroll-all-loops -std=c++14 -o CMakeFiles/view_objlib.dir/view/xutil.cpp.o -c /<<PKGBUILDDIR>>/src/programs/view/xutil.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/gromacs/modularsimulator && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/src/external/thread_mpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -fopenmp -Wno-redundant-move -std=c++14 -o CMakeFiles/modularsimulator.dir/modularsimulator.cpp.o -c /<<PKGBUILDDIR>>/src/gromacs/modularsimulator/modularsimulator.cpp
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/basic'
[  5%] Built target view_objlib
cd /<<PKGBUILDDIR>>/build/basic/src/gromacs/modularsimulator && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/src/external/thread_mpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -fopenmp -Wno-redundant-move -std=c++14 -o CMakeFiles/modularsimulator.dir/parrinellorahmanbarostat.cpp.o -c /<<PKGBUILDDIR>>/src/gromacs/modularsimulator/parrinellorahmanbarostat.cpp
In file included from /<<PKGBUILDDIR>>/src/gromacs/modularsimulator/modularsimulator.cpp:44:
/<<PKGBUILDDIR>>/src/gromacs/modularsimulator/modularsimulator.h:269:31: error: ‘numeric_limits’ is not a member of ‘std’
  269 |         Step lastStep_ = std::numeric_limits<Step>::max();
      |                               ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/gromacs/modularsimulator/modularsimulator.h:269:50: error: expected primary-expression before ‘>’ token
  269 |         Step lastStep_ = std::numeric_limits<Step>::max();
      |                                                  ^
/<<PKGBUILDDIR>>/src/gromacs/modularsimulator/modularsimulator.h:269:53: error: ‘::max’ has not been declared; did you mean ‘std::max’?
  269 |         Step lastStep_ = std::numeric_limits<Step>::max();
      |                                                     ^~~
      |                                                     std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /<<PKGBUILDDIR>>/src/gromacs/math/vectypes.h:42,
                 from /<<PKGBUILDDIR>>/src/gromacs/mdlib/vcm.h:44,
                 from /<<PKGBUILDDIR>>/src/gromacs/mdlib/md_support.h:40,
                 from /<<PKGBUILDDIR>>/src/gromacs/modularsimulator/modularsimulator.h:46,
                 from /<<PKGBUILDDIR>>/src/gromacs/modularsimulator/modularsimulator.cpp:44:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
cd /<<PKGBUILDDIR>>/build/basic/src/gromacs/modularsimulator && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/src/external/thread_mpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -fopenmp -Wno-redundant-move -std=c++14 -o CMakeFiles/modularsimulator.dir/pmeloadbalancehelper.cpp.o -c /<<PKGBUILDDIR>>/src/gromacs/modularsimulator/pmeloadbalancehelper.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/gromacs/modularsimulator && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/src/external/thread_mpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -fopenmp -Wno-redundant-move -std=c++14 -o CMakeFiles/modularsimulator.dir/propagator.cpp.o -c /<<PKGBUILDDIR>>/src/gromacs/modularsimulator/propagator.cpp
cd /<<PKGBUILDDIR>>/build/basic/src/gromacs/modularsimulator && /usr/bin/c++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/basic/src -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/src/external/thread_mpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -fopenmp -Wno-redundant-move -std=c++14 -o CMakeFiles/modularsimulator.dir/shellfcelement.cpp.o -c /<<PKGBUILDDIR>>/src/gromacs/modularsimulator/shellfcelement.cpp
make[3]: *** [src/gromacs/modularsimulator/CMakeFiles/modularsimulator.dir/build.make:177: src/gromacs/modularsimulator/CMakeFiles/modularsimulator.dir/modularsimulator.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/basic'
[  7%] Built target tng_io_obj
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/basic'
make[2]: *** [CMakeFiles/Makefile2:5501: src/gromacs/modularsimulator/CMakeFiles/modularsimulator.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build/basic'
make[1]: *** [Makefile:185: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build/basic'
make: *** [debian/rules:126: build-basic] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debichem-devel mailing list