[DebianGIS-dev] Bug#553979: hdf5: Please port to sh4

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Mon Nov 2 13:44:24 UTC 2009


Package: hdf5
Version: 1.8.3-2.1
Severity: important
User: debian-sh4 at superh.org
Usertags: sh4

Hi,

I am now trying to run Debian on Renesas SH(sh4) CPU.
http://buildd.debian-ports.org/status/architecture.php?suite=unstable&a=sh4&buildd=

When we build hdf5 package on sh4, some revision is necessary.

1. Add !sh4 to libopenmpi-dev build-dep.
   sh4 doesn't support openmpi.

2. Add revision to configure.
   Current configure of hdf5 pacakge generate from old autoconf.
   Old autoconf adds -little option to compile option.
     http://lists.gnu.org/archive/html/bug-autoconf/2008-10/msg00039.html
   We need patch revising this.

I added patch to revising these. Package building was fine.
Please apply these patches.

Best regards,
 Nobuhiro
-------------- next part --------------
--- a/configure	2009-11-02 02:52:09.000000000 +0000
+++ b/configure	2009-11-02 02:52:01.000000000 +0000
@@ -5115,7 +5115,7 @@
 
           ;;
           # Ignore these flags.
-        -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*)
+        -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little | -LANG:=* | -LIST:* | -LNO:*)
           ;;
         -lkernel32)
           test x"$CYGWIN" != xyes && ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg"
-------------- next part --------------
--- a/debian/control.in	2009-11-02 02:45:41.000000000 +0000
+++ b/debian/control.in	2009-11-02 02:46:07.000000000 +0000
@@ -4,8 +4,8 @@
 Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
 Uploaders: Francesco Paolo Lovergine <frankie at debian.org>
 Build-Depends: libmpich1.0-dev (>= 1.2.7-1), zlib1g-dev, lam4-dev (>= 7.1.1-3.2), quilt,
- libopenmpi-dev [!arm !armel !hppa !mips !mipsel !s390], libjpeg62-dev | libjpeg-dev, debhelper (>> 7), sed (>=4.1.5), 
- gfortran, libibverbs-dev [!arm !armel !hppa !mips !mipsel !s390 !kfreebsd-i386 !kfreebsd-amd64 !hurd-i386]
+ libopenmpi-dev [!arm !armel !hppa !mips !mipsel !s390 !sh4], libjpeg62-dev | libjpeg-dev, debhelper (>> 7), sed (>=4.1.5), 
+ gfortran, libibverbs-dev [!arm !armel !hppa !mips !mipsel !s390 !kfreebsd-i386 !kfreebsd-amd64 !hurd-i386 !sh4]
 Standards-Version: 3.8.1
 Homepage: http://hdfgroup.org/HDF5/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-grass/packages/hdf5/trunk/
--- a/debian/rules	2009-11-02 02:46:54.000000000 +0000
+++ b/debian/rules	2009-11-02 02:46:29.000000000 +0000
@@ -48,6 +48,8 @@
 build_openmpi = no
 else ifeq ($(DEB_BUILD_ARCH),s390)
 build_openmpi = no
+else ifeq ($(DEB_BUILD_ARCH),sh4)
+build_openmpi = no
 else
 build_openmpi = yes
 endif
--- a/debian/control	2009-11-02 03:01:57.000000000 +0000
+++ b/debian/control	2009-11-02 03:02:14.000000000 +0000
@@ -4,8 +4,8 @@
 Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
 Uploaders: Francesco Paolo Lovergine <frankie at debian.org>
 Build-Depends: libmpich1.0-dev (>= 1.2.7-1), zlib1g-dev, lam4-dev (>= 7.1.1-3.2), quilt,
- libopenmpi-dev [!arm !armel !hppa !mips !mipsel !s390], libjpeg62-dev | libjpeg-dev, debhelper (>> 7), sed (>=4.1.5), 
- gfortran, libibverbs-dev [!arm !armel !hppa !mips !mipsel !s390 !kfreebsd-i386 !kfreebsd-amd64 !hurd-i386]
+ libopenmpi-dev [!arm !armel !hppa !mips !mipsel !s390 !sh4], libjpeg62-dev | libjpeg-dev, debhelper (>> 7), sed (>=4.1.5), 
+ gfortran, libibverbs-dev [!arm !armel !hppa !mips !mipsel !s390 !kfreebsd-i386 !kfreebsd-amd64 !hurd-i386 !sh4]
 Standards-Version: 3.8.1
 Homepage: http://hdfgroup.org/HDF5/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-grass/packages/hdf5/trunk/


More information about the Pkg-grass-devel mailing list