[Pkg-openmpi-maintainers] Bug#816985: openmpi: FTBFS when built with dpkg-buildpackage -A (No such file or directory)

Santiago Vila sanvila at debian.org
Sun Mar 6 23:27:20 UTC 2016


Package: src:openmpi
Version: 1.6.5-11
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 --parallel #--with autotools_dev
   dh_testdir -i -O--parallel
   dh_update_autotools_config -i -O--parallel
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./autogen.sh
[Checking] command line parameters
[Checking] prerequisites
Configuring projects: opal orte ompi
/<<PKGBUILDDIR>>


[... snipped ...]

cd debian/tmp/usr/share/man/man3; \
for f in *.3; do \
	mv $f $(echo $f|sed -e "s|\.3|.openmpi.3|g"); \
done; \

if test -f debian/tmp/usr/bin/orte-bootproxy.sh; then \
	mv debian/tmp/usr/bin/orte-bootproxy.sh debian/tmp/usr/bin/orte-bootproxy; \
fi
rm -f debian/tmp/usr/share/man/man1/mpiCC.1
rm -f debian/tmp/usr/share/man/man1/orteCC.1
rm -f -r debian/tmp/usr/share/openmpi/doc/
dh_install
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_installdocs
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_installdocs --all AUTHORS NEWS README
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installchangelogs -i -O--parallel
   dh_installman -i -O--parallel
   dh_perl -i -O--parallel
   dh_link -i -O--parallel
   dh_strip_nondeterminism -i -O--parallel
   dh_compress -i -O--parallel
   debian/rules override_dh_fixperms
make[1]: Entering directory '/<<PKGBUILDDIR>>'
chmod 0644 debian/tmp/usr/lib/openmpi/lib/mpi.mod
dh_fixperms
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installdeb -i -O--parallel
   dh_gencontrol -i -O--parallel
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
   dh_md5sums -i -O--parallel
   dh_builddeb -i -O--parallel
dpkg-deb: building package 'openmpi-common' in '../openmpi-common_1.6.5-11_all.deb'.
dpkg-deb: building package 'openmpi-doc' in '../openmpi-doc_1.6.5-11_all.deb'.
 dpkg-genchanges -A >../openmpi_1.6.5-11_all.changes
dpkg-genchanges: binary-only arch-indep upload (source code and arch-specific packages not included)
 dpkg-source --after-build openmpi-1.6.5
dpkg-source: info: using options from openmpi-1.6.5/debian/source/options: --compression=xz
dpkg-buildpackage: binary-only upload (no source included)
--------------------------------------------------------------------------------

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 Pkg-openmpi-maintainers mailing list