Bug#817165: petsc: FTBFS when built with dpkg-buildpackage -A (dh_install: missing files)
Santiago Vila
sanvila at debian.org
Tue Mar 8 16:52:47 UTC 2016
Package: src:petsc
Version: 3.6.2.dfsg1-3
User: sanvila at debian.org
Usertags: binary-indep
Severity: important
Dear maintainer:
I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with python2
dh_testdir -i
dh_update_autotools_config -i
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -plibpetsc3.6.2-dbg -- \
--with-debugging=1 \
--shared-library-extension=_real \
--with-hypre=1 --with-hypre-dir=/usr --with-clanguage=C++ --with-c-support \
--with-shared-libraries --useThreads 0 --with-fortran-interfaces=1 --with-mpi-dir=/usr/lib/openmpi --with-blas-lib=-lblas --with-lapack-lib=-llapack --with-blacs=1 --with-blacs-lib="-lblacsCinit-openmpi -lblacs-openmpi" --with-scalapack=1 --with-scalapack-lib=-lscalapack-openmpi --with-mumps=1 --with-mumps-include=[] --with-mumps-lib="-ldmumps -lzmumps -lsmumps -lcmumps -lmumps_common -lpord" --with-suitesparse=1 --with-suitesparse-include=/usr/include/suitesparse --with-suitesparse-lib="-lumfpack -lamd -lcholmod -lklu" --with-spooles=1 --with-spooles-include=/usr/include/spooles --with-spooles-lib=-lspooles --with-ptscotch=1 --with-ptscotch-include=/usr/include/scotch --with-ptscotch-lib="-lptesmumps -lptscotch -lptscotcherr" --with-fftw=1 --with-fftw-include=[] --with-fftw-lib="-lfftw3 -lfftw3_mpi" --with-superlu=1 --with-superlu-include=/usr/include/superlu --with-superlu-lib=-lsuperlu --CXX_LINKER_FLAGS="-Wl,--no-as-needed" \
--prefix=/usr/lib/petscdir/3.6.2/x86_64-linux-gnu-real-debug \
[... snipped ...]
dh_auto_install: No packages to build.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install -plibpetsc3.6 --sourcedir debian/tmp/petsc3.6.2-real --exclude=*html /usr/lib/petscdir/3.6.2/x86_64-linux-gnu-real/lib/libpetsc_real.so.3.6.2 usr/lib/x86_64-linux-gnu
dh_install: No packages to build.
dh_install -plibpetsc3.6.2-dev --sourcedir debian/tmp/petsc3.6.2-real --autodest --exclude=*html --exclude=libpetsc_real.so.3.6.2 usr
dh_install: No packages to build.
dh_link -plibpetsc3.6.2-dev usr/lib/x86_64-linux-gnu/libpetsc_real.so.3.6.2 /usr/lib/petscdir/3.6.2/x86_64-linux-gnu-real/lib/libpetsc_real.so.3.6.2
dh_link: No packages to build.
dh_link -plibpetsc3.6 usr/lib/x86_64-linux-gnu/libpetsc_real.so.3.6.2 usr/lib/x86_64-linux-gnu/libpetsc_real.so.3.6
dh_link: No packages to build.
dh_link -plibpetsc3.6.2-dev usr/lib/x86_64-linux-gnu/libpetsc_real.so.3.6.2 usr/lib/x86_64-linux-gnu/libpetsc_real.so
dh_link: No packages to build.
dh_install -plibpetsc3.6.2-dbg --sourcedir debian/tmp/petsc3.6.2-real-debug --autodest --exclude=*html usr
dh_install: No packages to build.
dh_install -plibpetsc-complex-3.6 --sourcedir debian/tmp/petsc3.6.2-complex --exclude=*html /usr/lib/petscdir/3.6.2/x86_64-linux-gnu-complex/lib/libpetsc_complex.so.3.6.2 usr/lib/x86_64-linux-gnu
dh_install: No packages to build.
dh_install -plibpetsc-complex-3.6.2-dev --sourcedir debian/tmp/petsc3.6.2-complex --autodest --exclude=*html --exclude=libpetsc_complex.so.3.6.2 usr
dh_install: No packages to build.
dh_link -plibpetsc-complex-3.6.2-dev usr/lib/x86_64-linux-gnu/libpetsc_complex.so.3.6.2 /usr/lib/petscdir/3.6.2/x86_64-linux-gnu-complex/lib/libpetsc_complex.so.3.6.2
dh_link: No packages to build.
dh_link -plibpetsc-complex-3.6 usr/lib/x86_64-linux-gnu/libpetsc_complex.so.3.6.2 usr/lib/x86_64-linux-gnu/libpetsc_complex.so.3.6
dh_link: No packages to build.
dh_link -plibpetsc-complex-3.6.2-dev usr/lib/x86_64-linux-gnu/libpetsc_complex.so.3.6.2 usr/lib/x86_64-linux-gnu/libpetsc_complex.so
dh_link: No packages to build.
dh_install -plibpetsc-complex-3.6.2-dbg --sourcedir debian/tmp/petsc3.6.2-complex-debug --autodest --exclude=*html usr
dh_install: No packages to build.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_installdocs
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_installdocs
dh_install -ppetsc3.6.2-doc --sourcedir debian/tmp/petsc3.6.2-real-debug --autodest /usr/lib/petscdir/3.6.2/x86_64-linux-gnu-real-debug/include/*html
dh_install: petsc3.6.2-doc missing files: /usr/lib/petscdir/3.6.2/x86_64-linux-gnu-real-debug/include/*html
dh_install: missing files, aborting
debian/rules:229: recipe for target 'override_dh_installdocs' failed
make[1]: *** [override_dh_installdocs] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:106: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2
--------------------------------------------------------------------------------
Sorry not to have a fix, as I am reporting many bugs similar to
this one. The common hints are:
* If the only architecture-independent packages are dummy transitional
ones and they were released with jessie, the easy fix is to drop them
now.
* When using "dh", it is allowed to use (independently)
optional targets override_dh_foo-arch and override_dh_foo-indep
(for several values of "foo").
Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, the package would be suitable to be uploaded in source-only
form if you wish.
Thanks.
More information about the debian-science-maintainers
mailing list