[DebianGIS-dev] Bug#473871: hdf5: Doesn't actually build openmpi libs

Adam C Powell IV hazelsct at debian.org
Wed Apr 2 03:13:16 UTC 2008


Package: hdf5
Version: 1.6.6-3

Greetings,

I'm afraid your rules file doesn't build openmpi libraries on the
architectures where it's supposed to, so the openmpi packages are empty.
Looking through the build logs on every architecture where it's supposed
to work (amd64, ia64, sparc, powerpc), if I search the log for
"openmpi", I get the package installation, a couple of symlinks at the
top, then dh_makeshlibs at the very end, with no references to openmpi
in between.  I don't understand why this is; your system seems sound and
logical.

I realize that I'm the cause of a lot of your openmpi troubles, having
suggested this in the first place.  So I think I've come up with an
elegant solution to this problem, found in the patch.  Instead of
testing for the architecture in rules, each openmpi target just tests
for the file /usr/lib/openmpi/include/mpi.h, and if it finds it,
configures/builds/installs.  This patch works on amd64, haven't tested
it elsewhere.

The advantage of this approach is that when more arches support openmpi,
you can just adjust the arch lists in control, and rules will
automatically build the new openmpi packages.

I hope this patch meets with your approval, and solves this problem of
openmpi support once and for all.

Regards,
-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openmpi-patch
Type: text/x-patch
Size: 4714 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20080401/64b20629/attachment.bin 


More information about the Pkg-grass-devel mailing list