Bug#817167: slepc: FTBFS when built with dpkg-buildpackage -A (dh_install: missing files)
Santiago Vila
sanvila at debian.org
Tue Mar 8 16:52:52 UTC 2016
Package: src:slepc
Version: 3.6.1.dfsg1-2
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
fakeroot debian/rules binary-indep
dh binary-indep --with python2
dh_testroot -i
dh_prep -i
debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PETSC_DIR=/usr/lib/petscdir/3.6.2/x86_64-linux-gnu-real \
./configure --prefix=/usr/lib/slepcdir/3.6.1/x86_64-linux-gnu-real \
[... 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 -plibslepc3.6 --sourcedir debian/tmp/slepc3.6.1-real --exclude=*html /usr/lib/slepcdir/3.6.1/x86_64-linux-gnu-real/lib/libslepc_real.so.3.6.1 usr/lib/x86_64-linux-gnu
dh_install: No packages to build.
dh_install -plibslepc3.6.1-dev --sourcedir debian/tmp/slepc3.6.1-real --autodest --exclude=*html --exclude=libslepc_real.so.3.6.1 usr
dh_install: No packages to build.
dh_link -plibslepc3.6.1-dev usr/lib/x86_64-linux-gnu/libslepc_real.so.3.6.1 /usr/lib/slepcdir/3.6.1/x86_64-linux-gnu-real/lib/libslepc_real.so.3.6.1
dh_link: No packages to build.
dh_link -plibslepc3.6 usr/lib/x86_64-linux-gnu/libslepc_real.so.3.6.1 usr/lib/x86_64-linux-gnu/libslepc_real.so.3.6
dh_link: No packages to build.
dh_link -plibslepc3.6.1-dev usr/lib/x86_64-linux-gnu/libslepc_real.so.3.6.1 usr/lib/x86_64-linux-gnu/libslepc_real.so
dh_link: No packages to build.
dh_install -plibslepc3.6.1-dbg --sourcedir debian/tmp/slepc3.6.1-real-debug --autodest --exclude=*html usr
dh_install: No packages to build.
dh_install -plibslepc-complex-3.6 --sourcedir debian/tmp/slepc3.6.1-complex --exclude=*html /usr/lib/slepcdir/3.6.1/x86_64-linux-gnu-complex/lib/libslepc_complex.so.3.6.1 usr/lib/x86_64-linux-gnu
dh_install: No packages to build.
dh_install -plibslepc-complex-3.6.1-dev --sourcedir debian/tmp/slepc3.6.1-complex --autodest --exclude=*html --exclude=libslepc_complex.so.3.6.1 usr
dh_install: No packages to build.
dh_link -plibslepc-complex-3.6.1-dev usr/lib/x86_64-linux-gnu/libslepc_complex.so.3.6.1 /usr/lib/slepcdir/3.6.1/x86_64-linux-gnu-complex/lib/libslepc_complex.so.3.6.1
dh_link: No packages to build.
dh_link -plibslepc-complex-3.6 usr/lib/x86_64-linux-gnu/libslepc_complex.so.3.6.1 usr/lib/x86_64-linux-gnu/libslepc_complex.so.3.6
dh_link: No packages to build.
dh_link -plibslepc-complex-3.6.1-dev usr/lib/x86_64-linux-gnu/libslepc_complex.so.3.6.1 usr/lib/x86_64-linux-gnu/libslepc_complex.so
dh_link: No packages to build.
dh_install -plibslepc-complex-3.6.1-dbg --sourcedir debian/tmp/slepc3.6.1-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 -pslepc3.6.1-doc --sourcedir debian/tmp/slepc3.6.1-real-debug --autodest /usr/lib/slepcdir/3.6.1/x86_64-linux-gnu-real-debug/include/*html
dh_install: slepc3.6.1-doc missing files: /usr/lib/slepcdir/3.6.1/x86_64-linux-gnu-real-debug/include/*html
dh_install: missing files, aborting
debian/rules:218: recipe for target 'override_dh_installdocs' failed
make[1]: *** [override_dh_installdocs] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:101: 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