Bug#917500: liggghts: FTBFS (style_atom.h: No such file or directory)
Santiago Vila
sanvila at debian.org
Thu Dec 27 23:54:11 GMT 2018
Package: src:liggghts
Version: 3.8.0+repack1-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --buildsystem=cmake --builddirectory=/<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build
dh_update_autotools_config -i -O--buildsystem=cmake -O--builddirectory=/<<BUILDDIR>>/liggghts-3.8.0\+repack1/debian/build
dh_autoreconf -i -O--buildsystem=cmake -O--builddirectory=/<<BUILDDIR>>/liggghts-3.8.0\+repack1/debian/build
dh_auto_configure -i -O--buildsystem=cmake -O--builddirectory=/<<BUILDDIR>>/liggghts-3.8.0\+repack1/debian/build
cd debian/build && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu ../..
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
[... snipped ...]
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
-- Build files have been written to: /<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build
dh_auto_build -i -O--buildsystem=cmake -O--builddirectory=/<<BUILDDIR>>/liggghts-3.8.0\+repack1/debian/build
cd debian/build && make -j1 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build'
/usr/bin/cmake -S/<<BUILDDIR>>/liggghts-3.8.0+repack1 -B/<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build/CMakeFiles /<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build'
make -f src/CMakeFiles/libliggghts.dir/build.make src/CMakeFiles/libliggghts.dir/depend
make[3]: Entering directory '/<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build'
cd /<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<BUILDDIR>>/liggghts-3.8.0+repack1 /<<BUILDDIR>>/liggghts-3.8.0+repack1/src /<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build /<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build/src /<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build/src/CMakeFiles/libliggghts.dir/DependInfo.cmake --color=
Scanning dependencies of target libliggghts
make[3]: Leaving directory '/<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build'
make -f src/CMakeFiles/libliggghts.dir/build.make src/CMakeFiles/libliggghts.dir/build
make[3]: Entering directory '/<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build'
[ 0%] Building CXX object src/CMakeFiles/libliggghts.dir/angle.cpp.o
cd /<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build/src && /usr/bin/mpicxx -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/x86_64-linux-gnu -I/usr/include/hdf5/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<BUILDDIR>>/liggghts-3.8.0+repack1 -I/<<BUILDDIR>>/liggghts-3.8.0+repack1/src -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/liggghts-3.8.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -fPIC -o CMakeFiles/libliggghts.dir/angle.cpp.o -c /<<BUILDDIR>>/liggghts-3.8.0+repack1/src/angle.cpp
[ 0%] Building CXX object src/CMakeFiles/libliggghts.dir/angle_hybrid.cpp.o
cd /<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build/src && /usr/bin/mpicxx -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/x86_64-linux-gnu -I/usr/include/hdf5/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<BUILDDIR>>/liggghts-3.8.0+repack1 -I/<<BUILDDIR>>/liggghts-3.8.0+repack1/src -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/liggghts-3.8.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -fPIC -o CMakeFiles/libliggghts.dir/angle_hybrid.cpp.o -c /<<BUILDDIR>>/liggghts-3.8.0+repack1/src/angle_hybrid.cpp
/<<BUILDDIR>>/liggghts-3.8.0+repack1/src/angle_hybrid.cpp: In member function 'virtual void LAMMPS_NS::AngleHybrid::read_restart(FILE*)':
/<<BUILDDIR>>/liggghts-3.8.0+repack1/src/angle_hybrid.cpp:363:21: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if (me == 0) fread(&nstyles,sizeof(int),1,fp);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/liggghts-3.8.0+repack1/src/angle_hybrid.cpp:372:23: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if (me == 0) fread(&n,sizeof(int),1,fp);
~~~~~^~~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/liggghts-3.8.0+repack1/src/angle_hybrid.cpp:375:23: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if (me == 0) fread(keywords[m],sizeof(char),n,fp);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 0%] Building CXX object src/CMakeFiles/libliggghts.dir/atom.cpp.o
cd /<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build/src && /usr/bin/mpicxx -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/x86_64-linux-gnu -I/usr/include/hdf5/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -I/usr/include/jsoncpp -I/usr/include/eigen3 -I/<<BUILDDIR>>/liggghts-3.8.0+repack1 -I/<<BUILDDIR>>/liggghts-3.8.0+repack1/src -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/liggghts-3.8.0+repack1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG -fPIC -o CMakeFiles/libliggghts.dir/atom.cpp.o -c /<<BUILDDIR>>/liggghts-3.8.0+repack1/src/atom.cpp
/<<BUILDDIR>>/liggghts-3.8.0+repack1/src/atom.cpp:59:10: fatal error: style_atom.h: No such file or directory
#include "style_atom.h"
^~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [src/CMakeFiles/libliggghts.dir/build.make:92: src/CMakeFiles/libliggghts.dir/atom.cpp.o] Error 1
make[3]: Leaving directory '/<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build'
make[2]: *** [CMakeFiles/Makefile2:97: src/CMakeFiles/libliggghts.dir/all] Error 2
make[2]: Leaving directory '/<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build'
make[1]: *** [Makefile:133: all] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/liggghts-3.8.0+repack1/debian/build'
dh_auto_build: cd debian/build && make -j1 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:5: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made in my autobuilder with "dpkg-buildpackage -A"
but it also fails here:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/liggghts.html
where you can get a full build log if you need it.
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.
Thanks.
More information about the debian-science-maintainers
mailing list