Bug#984217: liggghts: ftbfs with GCC-11

Matthias Klose doko at debian.org
Wed Mar 3 16:15:09 GMT 2021


Package: src:liggghts
Version: 3.8.0+repack1-7
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/liggghts_3.8.0+repack1-7_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.

[...]
/<<PKGBUILDDIR>>/src/dihedral_hybrid.cpp: In member function ‘virtual void LAMMPS_NS::DihedralHybrid::read_restart(FILE*)’:
/<<PKGBUILDDIR>>/src/dihedral_hybrid.cpp:352:21: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  352 |   if (me == 0) fread(&nstyles,sizeof(int),1,fp);
      |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/dihedral_hybrid.cpp:361:23: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  361 |     if (me == 0) fread(&n,sizeof(int),1,fp);
      |                  ~~~~~^~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/dihedral_hybrid.cpp:364:23: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  364 |     if (me == 0) fread(keywords[m],sizeof(char),n,fp);
      |                  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 25%] Building CXX object src/CMakeFiles/libliggghts.dir/domain.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/domain.cpp.o -c /<<PKGBUILDDIR>>/src/domain.cpp
[ 25%] Building CXX object src/CMakeFiles/libliggghts.dir/dump.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump.cpp.o -c /<<PKGBUILDDIR>>/src/dump.cpp
[ 26%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_atom_vtk.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump_atom_vtk.cpp.o -c /<<PKGBUILDDIR>>/src/dump_atom_vtk.cpp
[ 26%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_custom.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump_custom.cpp.o -c /<<PKGBUILDDIR>>/src/dump_custom.cpp
[ 26%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_custom_vtk.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump_custom_vtk.cpp.o -c /<<PKGBUILDDIR>>/src/dump_custom_vtk.cpp
[ 27%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_custom_vtm.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump_custom_vtm.cpp.o -c /<<PKGBUILDDIR>>/src/dump_custom_vtm.cpp
[ 27%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_decomposition_vtk.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump_decomposition_vtk.cpp.o -c /<<PKGBUILDDIR>>/src/dump_decomposition_vtk.cpp
[ 27%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_euler_vtk.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump_euler_vtk.cpp.o -c /<<PKGBUILDDIR>>/src/dump_euler_vtk.cpp
[ 27%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_image.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump_image.cpp.o -c /<<PKGBUILDDIR>>/src/dump_image.cpp
[ 28%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_local.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump_local.cpp.o -c /<<PKGBUILDDIR>>/src/dump_local.cpp
[ 28%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_local_gran.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump_local_gran.cpp.o -c /<<PKGBUILDDIR>>/src/dump_local_gran.cpp
[ 28%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_local_gran_vtk.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump_local_gran_vtk.cpp.o -c /<<PKGBUILDDIR>>/src/dump_local_gran_vtk.cpp
[ 29%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_mesh.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump_mesh.cpp.o -c /<<PKGBUILDDIR>>/src/dump_mesh.cpp
[ 29%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_mesh_stl.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump_mesh_stl.cpp.o -c /<<PKGBUILDDIR>>/src/dump_mesh_stl.cpp
[ 29%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_mesh_vtk.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump_mesh_vtk.cpp.o -c /<<PKGBUILDDIR>>/src/dump_mesh_vtk.cpp
[ 30%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_mesh_vtm.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump_mesh_vtm.cpp.o -c /<<PKGBUILDDIR>>/src/dump_mesh_vtm.cpp
[ 30%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_movie.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump_movie.cpp.o -c /<<PKGBUILDDIR>>/src/dump_movie.cpp
[ 30%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_particle.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump_particle.cpp.o -c /<<PKGBUILDDIR>>/src/dump_particle.cpp
[ 31%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_vtk.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump_vtk.cpp.o -c /<<PKGBUILDDIR>>/src/dump_vtk.cpp
[ 31%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_xyz.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/dump_xyz.cpp.o -c /<<PKGBUILDDIR>>/src/dump_xyz.cpp
[ 31%] Building CXX object src/CMakeFiles/libliggghts.dir/error.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/error.cpp.o -c /<<PKGBUILDDIR>>/src/error.cpp
[ 31%] Building CXX object src/CMakeFiles/libliggghts.dir/finish.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/finish.cpp.o -c /<<PKGBUILDDIR>>/src/finish.cpp
[ 32%] Building CXX object src/CMakeFiles/libliggghts.dir/fix.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -Dlibliggghts_EXPORTS -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" -I/usr/include/vtk-6.3 -I/usr/include/freetype2 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -pthread -fPIC -pthread -o CMakeFiles/libliggghts.dir/fix.cpp.o -c /<<PKGBUILDDIR>>/src/fix.cpp
/<<PKGBUILDDIR>>/src/finish.cpp: In member function ‘void LAMMPS_NS::Finish::end(int)’:
/<<PKGBUILDDIR>>/src/finish.cpp:722:40: error: ordered comparison of pointer with integer zero (‘int*’ and ‘int’)
  722 |       if (neighbor->lists[m]->numneigh > 0) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
make[3]: *** [src/CMakeFiles/libliggghts.dir/build.make:1411: src/CMakeFiles/libliggghts.dir/finish.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make[2]: *** [CMakeFiles/Makefile2:147: src/CMakeFiles/libliggghts.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make[1]: *** [Makefile:152: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
dh_auto_build: error: cd debian/build && make -j4 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list