Your message dated Tue, 19 Feb 2008 17:47:06 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#456297: fixed in libhdf4 4.1r4-21.1
has caused the Debian Bug report #456297,
regarding libhdf4: please use gfortran instead of g77 to compile tests/examples
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
456297: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456297
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: libhdf4
Severity: important
Tags: patch

libhdf4 build-depends on g77, which has been dropped from gcc suite
after gcc 3.4. As libhdf4 uses g77 merely to compile example/test files,
migration is painless and doesn't affect other packages depending
on libhdf4. See http://wiki.debian.org/GfortranTransition for
more details on the transition, although it doesn't really affect
libhdf4.

Patch attached. But note also that the file debian/README.arm-fortran
is no longer applicable.
diff -ur libhdf4-old/config/mh-linux libhdf4-4.1r4/config/mh-linux
--- libhdf4-old/config/mh-linux 2007-12-13 17:21:12.000000000 +0000
+++ libhdf4-4.1r4/config/mh-linux       2007-12-13 16:13:17.000000000 +0000
@@ -26,7 +26,7 @@
 # Fortran compilier
 #FC = f77
 #FC = NONE
-FC = g77
+FC = gfortran
 FFLAGS = 
 
 # Name of achive randomizer, usually ranlib (use 'true' if non-existant)
diff -ur libhdf4-old/debian/changelog libhdf4-4.1r4/debian/changelog
--- libhdf4-old/debian/changelog        2007-12-13 17:21:12.000000000 +0000
+++ libhdf4-4.1r4/debian/changelog      2007-12-14 11:31:01.000000000 +0000
@@ -1,3 +1,13 @@
+libhdf4 (4.1r4-21.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Move from g77 to gfortran.
+  * Remove the fix for bug #90363 which is no longer relevant
+    including the NOFORTRANINSOLIB hack.
+  * Char string fix in fortestF.f to overcome gfortran compiler problem.
+
+ -- Colin Tuckley <[EMAIL PROTECTED]>  Fri, 14 Dec 2007 11:30:39 +0000
+
 libhdf4 (4.1r4-21) unstable; urgency=low
 
   * Introducing versioning in conflicts for libhdf4g-run.
diff -ur libhdf4-old/debian/control libhdf4-4.1r4/debian/control
--- libhdf4-old/debian/control  2007-12-13 17:21:12.000000000 +0000
+++ libhdf4-4.1r4/debian/control        2007-12-13 12:28:58.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
 Uploaders: Francesco Paolo Lovergine <[EMAIL PROTECTED]>
-Build-depends: g77, sharutils, libjpeg62-dev, zlib1g-dev, bison, flex, groff, 
autotools-dev
+Build-depends: gfortran, sharutils, libjpeg62-dev, zlib1g-dev, bison, flex, 
groff, autotools-dev
 Standards-Version: 3.7.2
 
 Package: libhdf4g
diff -ur libhdf4-old/debian/rules libhdf4-4.1r4/debian/rules
--- libhdf4-old/debian/rules    2007-12-13 17:21:12.000000000 +0000
+++ libhdf4-4.1r4/debian/rules  2007-12-13 17:28:55.000000000 +0000
@@ -33,12 +33,6 @@
 somajor:=$(shell echo $(UPVERSION) | sed -e 's/^\([0-9]*\)\..*$$/\1/')
 export somajor sominor
 
-# Temporary arm hack: g77 PIC is broken, so don't put fortran objects
-# in the solib, but put them in the .a.
-ifeq ($(shell dpkg --print-architecture),arm)
-export NOFORTRANINSOLIB=yes
-endif
-
 build:
        $(checkdir)
        cat debian/copyright.in COPYING > debian/copyright
@@ -166,9 +160,8 @@
        gzip -v9 debian/tmp-lib/usr/share/man/man5/*
        # Docs
        cp debian/copyright debian/tmp-lib/usr/share/doc/$(package)/
-       cp debian/README.arm-fortran debian/tmp-lib/usr/share/doc/$(package)
        cp debian/changelog 
debian/tmp-lib/usr/share/doc/$(package)/changelog.Debian
-       gzip -9v 
debian/tmp-lib/usr/share/doc/$(package)/{changelog.Debian,README.arm-fortran}
+       gzip -9v debian/tmp-lib/usr/share/doc/$(package)/changelog.Debian
        dpkg-shlibdeps debian/tmp-lib/usr/lib/*.so*
        dpkg-gencontrol -isp -Pdebian/tmp-lib -p$(package)
        chown -R root.root debian/tmp-lib
diff -ur libhdf4-old/hdf/src/Makefile.in libhdf4-4.1r4/hdf/src/Makefile.in
--- libhdf4-old/hdf/src/Makefile.in     2007-12-13 17:21:12.000000000 +0000
+++ libhdf4-4.1r4/hdf/src/Makefile.in   2007-12-13 17:27:19.000000000 +0000
@@ -263,12 +263,7 @@
 libdf.so.$(somajor): libdf.so.$(sominor)
        ln -sf $^ $@
 
-ifeq ($(NOFORTRANINSOLIB),)
 libdf.so.$(sominor): $(COBJS:%.o=%.sho) $(FOBJS:%.o=%.sho)
-else
-libdf.so.$(sominor): $(COBJS:%.o=%.sho)
-       @echo "### Temporary Debian hack: build solib without fortran"
-endif
        $(CC) -shared -Wl,-soname,libdf.so.$(somajor) -o $@ $^ -lz -ljpeg -lc
 
 nofort-libdf-inst.a:   $(COBJS) $(PCOBJS)
diff -ur libhdf4-old/hdf/test/fortestF.f libhdf4-4.1r4/hdf/test/fortestF.f
--- libhdf4-old/hdf/test/fortestF.f     1999-05-04 18:36:31.000000000 +0100
+++ libhdf4-4.1r4/hdf/test/fortestF.f   2007-12-13 18:27:19.000000000 +0000
@@ -190,7 +190,8 @@
 
        if (cmd .NE. 'Test' .AND. cmd .NE. 'test') then
            print *, 'Unknown Command: ', cmd, param
-           print *, 'Try one of "Skip", "Test", "Verbosity" or "Cleanup"'
+C          print *, 'Try one of "Skip", "Test", "Verbosity" or "Cleanup"'
+           print *, 'Try one of Skip, Test, Verbosity or Cleanup'
            retcode = -1
            return
        endif
diff -ur libhdf4-old/hdf/test/Makefile.in libhdf4-4.1r4/hdf/test/Makefile.in
--- libhdf4-old/hdf/test/Makefile.in    2007-12-13 17:21:12.000000000 +0000
+++ libhdf4-4.1r4/hdf/test/Makefile.in  2007-12-13 17:28:13.000000000 +0000
@@ -357,11 +357,7 @@
        test -d $(TESTDIR) || mkdir $(TESTDIR)
 
 fortestF: $(FOBJS) $(HDFLIB)/libdf.so
-ifeq ($(NOFORTRANINSOLIB),)
        $(FC) $(FFLAGS) -o $@ $(FOBJS) -L$(HDFSRC) -ldf -ljpeg -lz -lm
-else
-       $(FC) $(FFLAGS) -o $@ $(FOBJS) -static -L$(HDFSRC) -ldf -dynamic -ljpeg 
-lz -lm
-endif
 
 fortest: $(HDFLIB)/libdf.so fortest.c $(CHDRS)
        $(CC) $(ALL_CFLAGS) -o fortest fortest.c -L$(HDFSRC) -ldf -ljpeg -lz -lm
diff -ur libhdf4-old/INSTALL libhdf4-4.1r4/INSTALL
--- libhdf4-old/INSTALL 2000-10-20 17:22:42.000000000 +0100
+++ libhdf4-4.1r4/INSTALL       2007-12-13 15:15:44.000000000 +0000
@@ -100,7 +100,7 @@
   DEC Alpha/OpenVMS AXP v7.1      DEC C v5.6-003   Digital Fortran 77 X7.1-156 
 
   IBM PC - Intel Pentium
        Solarisx86 (2.5.1)         GCC 2.7.2          -                
-       Linux      (2.2.16)        GCC 2.95.2       g77  0.5.25    
+       Linux      (2.2.16)        GCC 2.95.2       gFortran  4.2.3    
        FreeBSD    (4.1.1)         GCC 2.95.2       GNU f77 V0.5.25
   Windows NT/98/2000              MSVC++ 6.0       DEC Visual Fortran 6.0
   T3E (sn6711 2.0.539b)           Cray CC 6.3.0.2  Cray Fortran 3.4.0.1.0
diff -ur libhdf4-old/mfhdf/fortran/Makefile.in 
libhdf4-4.1r4/mfhdf/fortran/Makefile.in
--- libhdf4-old/mfhdf/fortran/Makefile.in       2007-12-13 17:21:12.000000000 
+0000
+++ libhdf4-4.1r4/mfhdf/fortran/Makefile.in     2007-12-13 17:25:43.000000000 
+0000
@@ -76,11 +76,7 @@
 
 # ------------ General Macros for NETCDF --------------------
 INCDIR  = $(prefix)/include
-ifeq ($(NOFORTRANINSOLIB),)
 HDF_LIB  = -L$(TOP_SRCDIR)/hdf/src -ldf
-else
-HDF_LIB  = -static -L$(TOP_SRCDIR)/hdf/src -ldf -dynamic
-endif
 HDF_INC  = $(TOP_SRCDIR)/hdf/src/
 PABLO_HINC = $(TOP_SRCDIR)/hdf/pablo
 FMPOOL_INC = $(TOP_SRCDIR)/hdf/fmpool
diff -ur libhdf4-old/release_notes/compile.txt 
libhdf4-4.1r4/release_notes/compile.txt
--- libhdf4-old/release_notes/compile.txt       2000-10-20 19:51:26.000000000 
+0100
+++ libhdf4-4.1r4/release_notes/compile.txt     2007-12-13 17:01:43.000000000 
+0000
@@ -158,7 +158,7 @@
         -L<path for hdf libraries> -lmfhdf -ldf -ljpeg -lz
 
 FORTRAN:
-    g77 -o <your program> <your program>.f  \
+    gfortran -o <your program> <your program>.f  \
         -L<path for hdf libraries> -lmfhdf -ldf -ljpeg -lz
 
 Solaris:

--- End Message ---
--- Begin Message ---
Source: libhdf4
Source-Version: 4.1r4-21.1

We believe that the bug you reported is fixed in the latest version of
libhdf4, which is due to be installed in the Debian FTP archive:

hdf4-tools_4.1r4-21.1_i386.deb
  to pool/main/libh/libhdf4/hdf4-tools_4.1r4-21.1_i386.deb
libhdf4_4.1r4-21.1.diff.gz
  to pool/main/libh/libhdf4/libhdf4_4.1r4-21.1.diff.gz
libhdf4_4.1r4-21.1.dsc
  to pool/main/libh/libhdf4/libhdf4_4.1r4-21.1.dsc
libhdf4g-dev_4.1r4-21.1_i386.deb
  to pool/main/libh/libhdf4/libhdf4g-dev_4.1r4-21.1_i386.deb
libhdf4g-doc_4.1r4-21.1_all.deb
  to pool/main/libh/libhdf4/libhdf4g-doc_4.1r4-21.1_all.deb
libhdf4g_4.1r4-21.1_i386.deb
  to pool/main/libh/libhdf4/libhdf4g_4.1r4-21.1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Riku Voipio <[EMAIL PROTECTED]> (supplier of updated libhdf4 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 19 Feb 2008 14:22:32 +0200
Source: libhdf4
Binary: libhdf4g hdf4-tools libhdf4g-dev libhdf4g-doc
Architecture: source all i386
Version: 4.1r4-21.1
Distribution: unstable
Urgency: low
Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Changed-By: Riku Voipio <[EMAIL PROTECTED]>
Description: 
 hdf4-tools - The Hierarchical Data Format library -- runtime package
 libhdf4g   - The Hierarchical Data Format library -- library package
 libhdf4g-dev - The Hierarchical Data Format library -- development package
 libhdf4g-doc - The Hierarchical Data Format library -- documentation
Closes: 456297
Changes: 
 libhdf4 (4.1r4-21.1) unstable; urgency=low
 .
   * Non-maintainer upload. (porter NMU).
   * Move from g77 to gfortran, closes: #456297
   * Remove the fix for bug #90363 which is no longer relevant
     including the NOFORTRANINSOLIB hack.
   * Char string fix in fortestF.f to overcome gfortran compiler problem.
   * Thanks Colin Tuckley
Files: 
 cea18796b123b3ec0dc871f3487cbdb6 758 graphics optional libhdf4_4.1r4-21.1.dsc
 98a5fa40099de95aa9a732b41b5c08cb 1260659 graphics optional 
libhdf4_4.1r4-21.1.diff.gz
 a8cc0346e99b8ede350bb00890ff6bb6 1169610 doc optional 
libhdf4g-doc_4.1r4-21.1_all.deb
 5e7a57dd844373a2063ddc39b67bc754 283006 libs optional 
libhdf4g_4.1r4-21.1_i386.deb
 9d06918cf13f867e6d967b07a2678667 427558 devel optional 
libhdf4g-dev_4.1r4-21.1_i386.deb
 004b7d9b06d3354bda264f00ee0c6d24 175728 graphics optional 
hdf4-tools_4.1r4-21.1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHus08ibPvMsrqrwMRAgaKAKDrlei9Jolz3ILe9rAMDyhvIhUQ6gCg85Jz
9O2gdfj3Fc6tGlgvdIc3LsE=
=2Kwi
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to