Bug#627896: hdf5: FTBFS on hurd-i386

Pino Toscano toscano.pino at tiscali.it
Wed May 25 09:47:44 UTC 2011


Package: hdf5
Version: 1.8.7-1
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd

Hi,

currently, hdf5 cannot be compiled on hurd-i386.
There are three kind of issues, solved by the attached patches:
- debian_no-lam.diff:
  remove the unneeded build dependency on lam-dev (unavailable on Hurd)
- debian_openmpi-on-hurd.diff:
  add hurd-i386 as architecture for openmpi (we have it)
- path_max.diff:
  a semi-hackish patch to avoid the issue of PATH_MAX not being available
  on Hurd; not really clean and suitable for upstream though, but can do
  the job for making hdf5 compile and available in Debian

It would be nice if you could review and include them in sight of your
coming-soon MPI transition.

Thanks,
-- 
Pino
-------------- next part --------------
--- a/debian/control.in
+++ b/debian/control.in
@@ -4,7 +4,7 @@
 Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
 Uploaders: Francesco Paolo Lovergine <frankie at debian.org>,
  Sylvestre Ledru <sylvestre at debian.org>
-Build-Depends: libmpich2-dev, zlib1g-dev, lam4-dev (>= 7.1.1-3.2),
+Build-Depends: libmpich2-dev, zlib1g-dev,
  libopenmpi-dev [!arm !armel !hppa !mips !mipsel !s390 !sh4 !m68k], libjpeg-dev, debhelper (>> 7), sed (>=4.1.5), 
  gfortran, libibverbs-dev [!arm !armel !hppa !mips !mipsel !s390 !kfreebsd-i386 !kfreebsd-amd64 !hurd-i386 !sh4],
  sharutils, mpi-default-dev
-------------- next part --------------
--- a/debian/rules
+++ b/debian/rules
@@ -27,7 +27,7 @@
 #ARCH_FLAG=-a
 #ARCHS=any
 ARCH_FLAG=-s
-ARCHS=alpha amd64 i386 ia64 powerpc sparc kfreebsd-i386 kfreebsd-amd64
+ARCHS=alpha amd64 i386 ia64 powerpc sparc kfreebsd-i386 kfreebsd-amd64 hurd-i386
 
 ifeq ($(DEB_BUILD_ARCH),arm)
 build_openmpi = no
-------------- next part --------------
A non-text attachment was scrubbed...
Name: path_max.diff
Type: text/x-c
Size: 519 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20110525/f81850ae/attachment.bin>


More information about the Pkg-grass-devel mailing list