[DebianGIS-dev] Bug#562796: libhdf4: Please support Renesas SuperH(sh4)
Nobuhiro Iwamatsu
iwamatsu at nigauri.org
Mon Dec 28 00:41:50 UTC 2009
Package: libhdf4
Version: 4.2r4-7
Severity: important
Tags: patch
User: debian-sh4 at superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh at lists.debian.org
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
libhdf4 FTBFS on SH4.
Because configure included in libhdf4 is created in old autoconf.
-----
checking for Fortran 77 libraries of gfortran... -little
-L/usr/lib/gcc/sh4-linux-gnu/4.3.4
-L/usr/lib/gcc/sh4-linux-gnu/4.3.4/../../.. -lgfortranbegin -lgfortran
-lm
configure: error: in
`/build/buildd-libhdf4_4.2r4-6-sh4-fxUH9M/libhdf4-4.2r4/HDF4':
checking for dummy main to link with Fortran 77 libraries... unknown
configure: error: linking to Fortran libraries from C fails
-----
Old autoconf adds -little option to compile option. sh4 architecture can't
interpret this option. Therefore, this has build error.
http://lists.gnu.org/archive/html/bug-autoconf/2008-10/msg00039.html
Could you update confiugre with new autoconf?
Or please apply the patch which I attached (sh4_configure).
This is patch for quick fix.
And libhdf4 not support Renesas SuperH.
I created patch(sh4_support) for support this CPU.
Could you apply these patches?
- sh4_configure
patch for configure. This patch revises problem -little option
- sh4_support
This patch supports Renesas SuperH.
- debian_rules.patch
Patch for debian/rules. This updates debian/patches1/series and
debian/patches2/series.
Best regards,
Nobuhiro
--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6
-------------- next part --------------
--- a/debian/rules 2009-12-28 00:13:02.000000000 +0000
+++ b/debina/rules 2009-12-28 00:22:04.000000000 +0000
@@ -69,7 +69,10 @@
cp -a debian/patches debian/patches2
# add a patch to series
echo shared_fortran >>debian/patches1/series
+ echo sh4_configure >>debian/patches1/series
+ echo sh4_support >>debian/patches1/series
echo autotools >>debian/patches2/series
+ echo sh4_support >>debian/patches2/series
QUILT_PATCH_OPTS="-p1" QUILT_PATCHES=debian/patches1 quilt push -a --color=auto || [ $$? = 2 ]
mv -f .pc .pc1
rm -f HDF4 && ln -sf HDF4_ALT HDF4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sh4_configure
Type: application/octet-stream
Size: 496 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20091228/61f9c4d2/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sh4_support
Type: application/octet-stream
Size: 2414 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20091228/61f9c4d2/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libhdf4_4.2r4-7_sh4.build.gz
Type: application/x-gzip
Size: 50294 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20091228/61f9c4d2/attachment-0001.bin>
More information about the Pkg-grass-devel
mailing list