[Pkg-openmpi-maintainers] Bug#535225: openmpi: Please fix installability of libopenmpi-dev on non-Linux archs.
Cyril Brulebois
kibi at debian.org
Tue Jun 30 21:40:51 UTC 2009
Package: openmpi
Version: 1.3.2-3
Severity: important
Tags: patch
User: glibc-bsd-devel at lists.alioth.debian.org
Usertags: kfreebsd
Hi,
thanks for the tweak in Build-Depends for libibverbs on non-Linux archs,
but that's not sufficient, there's the Depends line of libopenmpi-dev
that needs tweaking too. Please find attached a patch that implements
what would be needed.
It would be really great if you could fix that ASAP, so that we can give
boost a try, which we need for schroot and finally sbuild. Since we're
bootstrapping kfreebsd-*, having fast answers would really help. I can
take care of an NMU if you like.
(Having sbuild would help people handle their build environments and
build attempts very easily, that's why I tracked that down ASAP and
initially filed #535202.)
Oh, and I checked the .la files on kfreebsd-i386, there's no mention of
libibverbs there, which I first thought we might have to strip; it looks
like the build system does its job properly, which is a nice surprise.
:)
Thanks for your time.
Mraw,
KiBi.
-------------- next part --------------
--- a/debian/control
+++ b/debian/control
@@ -40,7 +40,7 @@
Package: libopenmpi-dev
Section: libdevel
Architecture: alpha amd64 i386 ia64 powerpc ppc64 sparc kfreebsd-i386 kfreebsd-amd64 hurd-i386
-Depends: ${shlibs:Depends}, libopenmpi1.3 (= ${binary:Version}), openmpi-common (= ${source:Version}), libibverbs-dev
+Depends: ${shlibs:Depends}, libopenmpi1.3 (= ${binary:Version}), openmpi-common (= ${source:Version}), libibverbs-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386]
Conflicts: libopal-dev, pgapack (<= 1.0.0.1-4.2), openmpi-dev
Replaces: openmpi-dev, openmpi-bin (<= 1.2.4-0)
Provides: openmpi-dev
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+openmpi (1.3.2-3.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix installability of libopenmpi-dev on non-Linux architectures, where
+ libibverbs-dev isn't built (due to its being Linux-specific) by removing
+ the latter from the dependencies of the former for kfreebsd-* and
+ hurd-i386 (for reference, that was already done for Build-Depends).
+
+ -- Cyril Brulebois <kibi at debian.org> Tue, 30 Jun 2009 23:27:55 +0200
+
openmpi (1.3.2-3) unstable; urgency=low
* Re-uploading, as last upload was not successful.
More information about the Pkg-openmpi-maintainers
mailing list