Bug#923466: lammps: FTBFS (dh_auto_configure fails)

Santiago Vila sanvila at debian.org
Thu Feb 28 15:13:09 GMT 2019


Package: src:lammps
Version: 0~20181211.gitad1b1897d+dfsg1-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 --sourcedirectory=cmake --builddirectory=/<<BUILDDIR>>/lammps-0~20181211.gitad1b1897d+dfsg1/debian/build
   dh_update_autotools_config -i -O--sourcedirectory=cmake -O--builddirectory=/<<BUILDDIR>>/lammps-0\~20181211.gitad1b1897d\+dfsg1/debian/build
   dh_autoreconf -i -O--sourcedirectory=cmake -O--builddirectory=/<<BUILDDIR>>/lammps-0\~20181211.gitad1b1897d\+dfsg1/debian/build
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<BUILDDIR>>/lammps-0~20181211.gitad1b1897d+dfsg1'
dh_auto_configure -- \
	-DPKG_ASPHERE=ON \
	-DPKG_BODY=ON \
	-DPKG_CLASS2=ON \
	-DPKG_COLLOID=ON \
	-DPKG_COMPRESS=ON \
	-DPKG_CORESHELL=ON \
	-DPKG_DIPOLE=ON \

[... snipped ...]


Run Build Command:"/usr/bin/make" "cmTC_341b1/fast"
make[2]: Entering directory '/<<BUILDDIR>>/lammps-0~20181211.gitad1b1897d+dfsg1/debian/build/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_341b1.dir/build.make CMakeFiles/cmTC_341b1.dir/build
make[3]: Entering directory '/<<BUILDDIR>>/lammps-0~20181211.gitad1b1897d+dfsg1/debian/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_341b1.dir/feature_tests.c.o
/usr/bin/cc   -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/lammps-0~20181211.gitad1b1897d+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2    -std=c99 -o CMakeFiles/cmTC_341b1.dir/feature_tests.c.o   -c "/<<BUILDDIR>>/lammps-0~20181211.gitad1b1897d+dfsg1/debian/build/CMakeFiles/feature_tests.c"
Linking C executable cmTC_341b1
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_341b1.dir/link.txt --verbose=1
/usr/bin/cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/lammps-0~20181211.gitad1b1897d+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -Wl,-z,relro  -rdynamic CMakeFiles/cmTC_341b1.dir/feature_tests.c.o  -o cmTC_341b1 
make[3]: Leaving directory '/<<BUILDDIR>>/lammps-0~20181211.gitad1b1897d+dfsg1/debian/build/CMakeFiles/CMakeTmp'
make[2]: Leaving directory '/<<BUILDDIR>>/lammps-0~20181211.gitad1b1897d+dfsg1/debian/build/CMakeFiles/CMakeTmp'


    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:1c_restrict
    Feature record: C_FEATURE:0c_static_assert
    Feature record: C_FEATURE:1c_variadic_macros


Detecting C [-std=c90] compiler features compiled with the following output:
Change Dir: /<<BUILDDIR>>/lammps-0~20181211.gitad1b1897d+dfsg1/debian/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_2dfd2/fast"
make[2]: Entering directory '/<<BUILDDIR>>/lammps-0~20181211.gitad1b1897d+dfsg1/debian/build/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_2dfd2.dir/build.make CMakeFiles/cmTC_2dfd2.dir/build
make[3]: Entering directory '/<<BUILDDIR>>/lammps-0~20181211.gitad1b1897d+dfsg1/debian/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2dfd2.dir/feature_tests.c.o
/usr/bin/cc   -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/lammps-0~20181211.gitad1b1897d+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2    -std=c90 -o CMakeFiles/cmTC_2dfd2.dir/feature_tests.c.o   -c "/<<BUILDDIR>>/lammps-0~20181211.gitad1b1897d+dfsg1/debian/build/CMakeFiles/feature_tests.c"
Linking C executable cmTC_2dfd2
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2dfd2.dir/link.txt --verbose=1
/usr/bin/cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/lammps-0~20181211.gitad1b1897d+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -Wl,-z,relro  -rdynamic CMakeFiles/cmTC_2dfd2.dir/feature_tests.c.o  -o cmTC_2dfd2 
make[3]: Leaving directory '/<<BUILDDIR>>/lammps-0~20181211.gitad1b1897d+dfsg1/debian/build/CMakeFiles/CMakeTmp'
make[2]: Leaving directory '/<<BUILDDIR>>/lammps-0~20181211.gitad1b1897d+dfsg1/debian/build/CMakeFiles/CMakeTmp'


    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:0c_restrict
    Feature record: C_FEATURE:0c_static_assert
    Feature record: C_FEATURE:0c_variadic_macros
dh_auto_configure: 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 -DPKG_ASPHERE=ON -DPKG_BODY=ON -DPKG_CLASS2=ON -DPKG_COLLOID=ON -DPKG_COMPRESS=ON -DPKG_CORESHELL=ON -DPKG_DIPOLE=ON -DPKG_GPU=ON -DPKG_GRANULAR=ON -DPKG_KIM=OFF -DPKG_KSPACE=ON -DPKG_MANYBODY=ON -DPKG_MC=ON -DPKG_MEAM=ON -DPKG_MISC=ON -DPKG_MOLECULE=ON -DPKG_MPIIO=ON -DPKG_OPT=ON -DPKG_PERI=ON -DPKG_POEMS=ON -DPKG_PYTHON=ON -DPKG_QEQ=ON -DPKG_REAX=OFF -DPKG_REPLICA=ON -DPKG_RIGID=ON -DPKG_SHOCK=ON -DPKG_SNAP=ON -DPKG_SRD=ON -DPKG_USER-ATC=ON -DPKG_USER-AWPMD=ON -DPKG_USER-BOCS=ON -DPKG_USER-CGDNA=ON -DPKG_USER-CGSDK=ON -DPKG_USER-DIFFRACTION=ON -DPKG_USER-DPD=ON -DPKG_USER-DRUDE=ON -DPKG_USER-EFF=ON -DPKG_USER-FEP=ON -DPKG_USER-H5MD=ON -DPKG_USER-LB=ON -DPKG_USER-MANIFOLD=ON -DPKG_USER-MEAMC=ON -DPKG_USER-MESO=ON -DPKG_USER-MGPT=ON -DPKG_USER-MISC=ON -DPKG_USER-MOFFF=ON -DPKG_USER-MOLFILE=ON -DPKG_USER-NETCDF=ON -DPKG_USER-OMP=ON -DPKG_USER-PHONON=ON -DPKG_USER-QTB=ON -DPKG_USER-REAXC=OFF -DPKG_USER-SMD=ON -DPKG_USER-SMTBQ=ON -DPKG_USER-SPH=ON -DPKG_USER-TALLY=ON -DPKG_USER-UEF=ON -DPKG_USER-VTK=ON -DPKG_VORONOI=ON ../../cmake returned exit code 1
make[1]: *** [debian/rules:13: override_dh_auto_configure] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/lammps-0~20181211.gitad1b1897d+dfsg1'
make: *** [debian/rules:10: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant part)

The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/lammps.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