Bug#975488: lammps FTBFS: error: format not a string literal and no format arguments
Adrian Bunk
bunk at debian.org
Sun Nov 22 19:01:05 GMT 2020
Source: lammps
Version: 20200303+dfsg1-3
Severity: serious
Tags: ftbfs
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/lammps.html
...
/usr/bin/c++ -DFFT_FFTW3 -DFFT_FFTW_THREADS -DLAMMPS_GZIP -DLAMMPS_JPEG -DLAMMPS_MEMALIGN=64 -DLAMMPS_PNG -DLAMMPS_SMALLBIG -DLAMMPS_VTK -DLMP_HAS_NETCDF -DLMP_KIM_CURL -DLMP_MPIIO -DLMP_PYTHON -DLMP_USER_OMP -DNC_64BIT_DATA=0x0020 -DvtkDomainsChemistry_AUTOINIT="1(vtkDomainsChemistryOpenGL2)" -DvtkFiltersCore_AUTOINIT="1(vtkFiltersParallelDIY2)" -DvtkFiltersFlowPaths_AUTOINIT="1(vtkFiltersParallelFlowPaths)" -DvtkIOExodus_AUTOINIT="1(vtkIOParallelExodus)" -DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOImage_AUTOINIT="1(vtkIOMPIImage)" -DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" -DvtkIOSQL_AUTOINIT="2(vtkIOMySQL,vtkIOPostgreSQL)" -DvtkRenderingContext2D_AUTOINIT="1(vtkRenderingContextOpenGL2)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL2)" -DvtkRenderingFreeType_AUTOINIT="2(vtkRenderingFreeTypeFontConfig,vtkRenderingMatplotlib)" -DvtkRenderingLICOpenGL2_AUTOINIT="1(vtkRenderingParallelLIC)" -DvtkRenderingOpenGL2_AUTOINIT="1(vtkRenderingGL2PSOpenGL2)" -DvtkRenderingVolume_AUTOINIT="1(vtkRenderingVolumeOpenGL2)" -I/build/lammps-20200303+dfsg1/src -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -I/usr/include/python3.9 -I/usr/include/voro++ -I/usr/include/eigen3 -I/usr/include/vtk-7.1 -I/usr/include/freetype2 -I/usr/include/python3.8 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/libxml2 -I/usr/include/tcl -I/usr/include/kim-api -I/usr/lib/x86_64-linux-gnu/kim-api/mod -I/build/lammps-20200303+dfsg1/src/ASPHERE -I/build/lammps-20200303+dfsg1/src/BODY -I/build/lammps-20200303+dfsg1/src/CLASS2 -I/build/lammps-20200303+dfsg1/src/COLLOID -I/build/lammps-20200303+dfsg1/src/COMPRESS -I/build/lammps-20200303+dfsg1/src/CORESHELL -I/build/lammps-20200303+dfsg1/src/DIPOLE -I/build/lammps-20200303+dfsg1/src/GRANULAR -I/build/lammps-20200303+dfsg1/src/KSPACE -I/build/lammps-20200303+dfsg1/src/MANYBODY -I/build/lammps-20200303+dfsg1/src/MC -I/build/lammps-20200303+dfsg1/src/MISC -I/build/lammps-20200303+dfsg1/src/MOLECULE -I/build/lammps-20200303+dfsg1/src/PERI -I/build/lammps-20200303+dfsg1/src/POEMS -I/build/lammps-20200303+dfsg1/src/QEQ -I/build/lammps-20200303+dfsg1/src/REPLICA -I/build/lammps-20200303+dfsg1/src/RIGID -I/build/lammps-20200303+dfsg1/src/SHOCK -I/build/lammps-20200303+dfsg1/src/SNAP -I/build/lammps-20200303+dfsg1/src/SRD -I/build/lammps-20200303+dfsg1/src/KIM -I/build/lammps-20200303+dfsg1/src/PYTHON -I/build/lammps-20200303+dfsg1/src/MPIIO -I/build/lammps-20200303+dfsg1/src/VORONOI -I/build/lammps-20200303+dfsg1/src/USER-ATC -I/build/lammps-20200303+dfsg1/src/USER-AWPMD -I/build/lammps-20200303+dfsg1/src/USER-BOCS -I/build/lammps-20200303+dfsg1/src/USER-CGDNA -I/build/lammps-20200303+dfsg1/src/USER-MESO -I/build/lammps-20200303+dfsg1/src/USER-CGSDK -I/build/lammps-20200303+dfsg1/src/USER-DIFFRACTION -I/build/lammps-20200303+dfsg1/src/USER-DPD -I/build/lammps-20200303+dfsg1/src/USER-DRUDE -I/build/lammps-20200303+dfsg1/src/USER-EFF -I/build/lammps-20200303+dfsg1/src/USER-FEP -I/build/lammps-20200303+dfsg1/src/USER-H5MD -I/build/lammps-20200303+dfsg1/src/USER-LB -I/build/lammps-20200303+dfsg1/src/USER-MANIFOLD -I/build/lammps-20200303+dfsg1/src/USER-MEAMC -I/build/lammps-20200303+dfsg1/src/USER-MGPT -I/build/lammps-20200303+dfsg1/src/USER-MISC -I/build/lammps-20200303+dfsg1/src/USER-MOFFF -I/build/lammps-20200303+dfsg1/src/USER-MOLFILE -I/build/lammps-20200303+dfsg1/src/USER-NETCDF -I/build/lammps-20200303+dfsg1/src/USER-PHONON -I/build/lammps-20200303+dfsg1/src/USER-QTB -I/build/lammps-20200303+dfsg1/src/USER-SMD -I/build/lammps-20200303+dfsg1/src/USER-SMTBQ -I/build/lammps-20200303+dfsg1/src/USER-SPH -I/build/lammps-20200303+dfsg1/src/USER-TALLY -I/build/lammps-20200303+dfsg1/src/USER-UEF -I/build/lammps-20200303+dfsg1/src/USER-VTK -I/build/lammps-20200303+dfsg1/lib/poems -I/usr/include/hdf5/serial -I/build/lammps-20200303+dfsg1/src/USER-OMP -I/build/lammps-20200303+dfsg1/src/OPT -I/build/lammps-20200303+dfsg1/src/GPU -I/build/lammps-20200303+dfsg1/debian/build/styles -g -O2 -fdebug-prefix-map=/build/lammps-20200303+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/poems.dir/build/lammps-20200303+dfsg1/lib/poems/joint.cpp.o -c /build/lammps-20200303+dfsg1/lib/poems/joint.cpp
In file included from /build/lammps-20200303+dfsg1/lib/awpmd/systems/interact/TCP/wpmd.h:149,
from /build/lammps-20200303+dfsg1/lib/awpmd/systems/interact/TCP/wpmd_split.h:65,
from /build/lammps-20200303+dfsg1/lib/awpmd/systems/interact/TCP/wpmd_split.cpp:1:
/build/lammps-20200303+dfsg1/lib/awpmd/ivutils/include/pairhash.h: In function 'int fileout(FILE*, const matrix_t&, const char*, const char*, const char*)':
/build/lammps-20200303+dfsg1/lib/awpmd/ivutils/include/pairhash.h:503:14: error: format not a string literal and no format arguments [-Werror=format-security]
503 | fprintf(f,elm_sep);
| ~~~~~~~^~~~~~~~~~~
/build/lammps-20200303+dfsg1/lib/awpmd/ivutils/include/pairhash.h:505:12: error: format not a string literal and no format arguments [-Werror=format-security]
505 | fprintf(f,line_sep);
| ~~~~~~~^~~~~~~~~~~~
In file included from /build/lammps-20200303+dfsg1/lib/awpmd/systems/interact/TCP/wpmd.h:149,
from /build/lammps-20200303+dfsg1/lib/awpmd/systems/interact/TCP/wpmd.cpp:1:
/build/lammps-20200303+dfsg1/lib/awpmd/ivutils/include/pairhash.h: In function 'int fileout(FILE*, const matrix_t&, const char*, const char*, const char*)':
/build/lammps-20200303+dfsg1/lib/awpmd/ivutils/include/pairhash.h:503:14: error: format not a string literal and no format arguments [-Werror=format-security]
503 | fprintf(f,elm_sep);
| ~~~~~~~^~~~~~~~~~~
/build/lammps-20200303+dfsg1/lib/awpmd/ivutils/include/pairhash.h:505:12: error: format not a string literal and no format arguments [-Werror=format-security]
505 | fprintf(f,line_sep);
| ~~~~~~~^~~~~~~~~~~~
...
More information about the debian-science-maintainers
mailing list