Your message dated Wed, 16 Sep 2009 11:47:06 +0000
with message-id <e1mnsyy-00080n...@ries.debian.org>
and subject line Bug#534093: fixed in ogdi-dfsg 3.2.0~beta2-5
has caused the Debian Bug report #534093,
regarding ogdi-dfsg: FTBFS on Debian GNU/Hurd
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 ow...@bugs.debian.org
immediately.)


-- 
534093: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534093
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ogdi-dfsg
Version: 3.2.0~beta2-4
Severity: normal

Hi,

ogdi-dfsg currently fails to build on Debian GNU/Hurd as GNU is not recognized. Here is a patch to resolve the issue. Adding the include/GNU/... file might not be necessary but seemed more clean.

Thank you,

Barry deFreese


--- ogdi-dfsg-3.2.0~beta2.orig/config/GNU.mak
+++ ogdi-dfsg-3.2.0~beta2/config/GNU.mak
@@ -0,0 +1,109 @@
+# Copyright (C) 2001 Her Majesty the Queen in Right of Canada.
+# Permission to use, copy, modify and distribute this software and
+# its documentation for any purpose and without fee is hereby granted,
+# provided that the above copyright notice appear in all copies, that
+# both the copyright notice and this permission notice appear in
+# supporting documentation, and that the name of Her Majesty the Queen
+# in Right  of Canada not be used in advertising or publicity pertaining
+# to distribution of the software without specific, written prior
+# permission.  Her Majesty the Queen in Right of Canada makes no
+# representations about the suitability of this software for any purpose.
+# It is provided "as is" without express or implied warranty.
+
+# Generic unix configuration file, processed by configure to make 
+# platform specific.
+
+#
+# Read in the configuration common to all Unix
+#
+include $(TOPDIR)/config/unix.mak
+
+#
+# platform specific Symbols
+#
+PLATFORM       = $(TARGET)
+_SOLARIS       = 1
+USE_TERMIO     = -DUSE_TERMIO
+
+# 
+# platform specific tools
+#
+AR             = ar cr
+
+
+#
+# Compilation and linking flags
+#
+SHLIB_CFLAGS   = -fPIC
+COMMON_CFLAGS  = $(OPTIMIZATION) -Wall -O2  -Wall -DUNIX=1
+
+SHLIB_LDFLAGS  = -shared 
+COMMON_LDFLAGS  = $(OPTIMIZATION) 
+
+RPC_INCLUDES = -DHAVE_STD_RPC_INCLUDES
+
+UCB_STATICLIB = 
+
+TCL_INCLUDE = -I/usr/include/tcl8.4
+TCL_LINKLIB =
+
+#
+#      Install Locations
+#
+prefix         = /usr
+exec_prefix    = ${prefix}
+INST_INCLUDE   = ${prefix}/include
+INST_LIB       = ${exec_prefix}/lib
+INST_BIN       = ${exec_prefix}/bin
+
+#
+# platform specific file locations
+#
+#RPC_LINKLIB   = -lrpcsvc -lnsl -lsocket
+#RPC_LINKLIB   =       -ldl -ldbmalloc
+RPC_LINKLIB    =       -ldl 
+
+#
+# Endian definition, could be little or big
+#
+BIG_ENDIAN          = 0
+
+#
+# Handle internal/external PROJ.4 library usage.
+#
+
+PROJ_SETTING=external
+
+ifeq ($(PROJ_SETTING),external)
+PROJ_INCLUDE :=        -I/usr/include
+PROJ_STATICLIB := -lproj
+endif
+
+#
+# Handle internal/external ZLIB library usage.
+#
+
+ZLIB_SETTING=external
+
+ifeq ($(ZLIB_SETTING),external)
+ZLIB_INCLUDE :=        -I/usr/include
+ZLIB_LINKLIB := -lz
+endif
+
+#
+# Handle internal/external/disabled "Expat" library handling.
+#
+
+EXPAT_SETTING=external
+
+ifeq ($(EXPAT_SETTING),external)
+EXPAT_INCLUDE := -I/usr/include
+EXPAT_LINKLIB := -lexpat
+endif
+
+ifeq ($(EXPAT_SETTING),disabled)
+EXPAT_INCLUDE := -DEXPAT_DISABLED
+EXPAT_LINKLIB := 
+endif
+
+
only in patch2:
unchanged:
--- ogdi-dfsg-3.2.0~beta2.orig/include/GNU/ogdi_macro.h
+++ ogdi-dfsg-3.2.0~beta2/include/GNU/ogdi_macro.h
@@ -0,0 +1,48 @@
+#include <signal.h>
+#include <wait.h>
+#include <rpc/xdr.h>
+#include <stdio.h>
+
+#define ogdi_IXDR_PUT_LONG(buf, v) { \
+           long ZF = ((long)IXDR_PUT_INT32(buf, (long)(v))); \
+           ZF = ZF; \
+           } 
+
+#define ogdi_IXDR_PUT_U_LONG(buf, v)   ogdi_IXDR_PUT_LONG(buf, (long)(v))
+
+
+
+
+// Hook fread/fwrite/fgets/system. Check returns for errors and print tham 
verbose if any.
+
+#define ogdi_read(p,s,fp)   { \
+        unsigned int ZF = read(p,s,fp); \
+            if (ZF == -1 ) \
+                printf("Error: read error\n"); \
+                               }
+
+#define ogdi_fread(p,s,n,fp)   { \
+        unsigned int ZF = fread(p,s,n,fp); \
+            if (ZF != (unsigned) (n)) \
+                printf("Error: fread found %d bytes, not %d at %d\n", ZF, 
(int)(n), (int) ftell(fp)); \
+                               }
+
+#define ogdi_fwrite(p,s,n,fp) { \
+       unsigned int ZF = fwrite(p,s,n,fp); \
+            if (ZF != (unsigned) (n)) \
+                printf("Error: fwrite wrote %d bytes, not %d at %d\n", ZF, 
(int)(n), (int) ftell(fp)); \
+                              }
+
+#define ogdi_fgets(p,n,fp) { \
+        void *ZF = fgets(p,n,fp); \
+             if (ZF == NULL) \
+                printf("Error: fgets seek error at %d byte\n",  (int)(n)); \
+                              }
+
+#define ogdi_system(fp) { \
+       int ZF = system(fp); \
+           if (WIFSIGNALED(ZF) && \
+              (WTERMSIG(ZF) == SIGINT || WTERMSIG(ZF) == SIGQUIT)) \
+                   printf("Error: shell not found or command error.\n"); \
+                              }
+

--- End Message ---
--- Begin Message ---
Source: ogdi-dfsg
Source-Version: 3.2.0~beta2-5

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

libogdi3.2-dev_3.2.0~beta2-5_i386.deb
  to pool/main/o/ogdi-dfsg/libogdi3.2-dev_3.2.0~beta2-5_i386.deb
libogdi3.2_3.2.0~beta2-5_i386.deb
  to pool/main/o/ogdi-dfsg/libogdi3.2_3.2.0~beta2-5_i386.deb
ogdi-bin_3.2.0~beta2-5_i386.deb
  to pool/main/o/ogdi-dfsg/ogdi-bin_3.2.0~beta2-5_i386.deb
ogdi-dfsg_3.2.0~beta2-5.diff.gz
  to pool/main/o/ogdi-dfsg/ogdi-dfsg_3.2.0~beta2-5.diff.gz
ogdi-dfsg_3.2.0~beta2-5.dsc
  to pool/main/o/ogdi-dfsg/ogdi-dfsg_3.2.0~beta2-5.dsc



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 534...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Francesco Paolo Lovergine <fran...@debian.org> (supplier of updated ogdi-dfsg 
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 ftpmas...@debian.org)


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

Format: 1.8
Date: Wed, 16 Sep 2009 13:15:44 +0200
Source: ogdi-dfsg
Binary: libogdi3.2-dev libogdi3.2 ogdi-bin
Architecture: source i386
Version: 3.2.0~beta2-5
Distribution: unstable
Urgency: low
Maintainer: Francesco Paolo Lovergine <fran...@debian.org>
Changed-By: Francesco Paolo Lovergine <fran...@debian.org>
Description: 
 libogdi3.2 - Open Geographic Datastore Interface Library -- library
 libogdi3.2-dev - Open Geographic Datastore Interface Library -- development
 ogdi-bin   - Open Geographic Datastore Interface Library -- utilities
Closes: 534093
Changes: 
 ogdi-dfsg (3.2.0~beta2-5) unstable; urgency=low
 .
   * [PATCH] Added hurd.dpatch to support GNU/Hurd. Thanks Barry deFreese.
     (closes: #534093)
   * Policy set to 3.8.3, no changes.
   * Removed stamp file cleaning, because it is now automatically done.
   * Better debian/watch file.
Checksums-Sha1: 
 76734b2935c49931815ec5662f778c7fa1b1a541 1372 ogdi-dfsg_3.2.0~beta2-5.dsc
 a6dff132a0f2ffcde399f98251125a3bfac9924c 31641 ogdi-dfsg_3.2.0~beta2-5.diff.gz
 08c68132eb7bf3599f98e20e9202198bb1e40d17 35804 
libogdi3.2-dev_3.2.0~beta2-5_i386.deb
 bc578cae7544fbe8f9ead1870286e8803b5d773d 253392 
libogdi3.2_3.2.0~beta2-5_i386.deb
 ffecf9add31dc6e12f8eba1c1703db5d4375dc68 47080 ogdi-bin_3.2.0~beta2-5_i386.deb
Checksums-Sha256: 
 10d6cb4f297dd646609323bd502c9e46af645c2782e8f62f66b89dd894796ca4 1372 
ogdi-dfsg_3.2.0~beta2-5.dsc
 8763293e9c43b1bac05cb1d756e6ae732c1d115ff6cce297b14e485ca42617dd 31641 
ogdi-dfsg_3.2.0~beta2-5.diff.gz
 b38d6c98f5d567b93c70c2503ff5e949ab5cd13a03cf36a06acbe24b1a964893 35804 
libogdi3.2-dev_3.2.0~beta2-5_i386.deb
 8e836768e0af2a6fc2767bee25cde29bb99815833f98b379d4709fc12adf4d09 253392 
libogdi3.2_3.2.0~beta2-5_i386.deb
 70ede2d6224ccb823e7570654a4317e6de1fd5ec2e725c10406c1cc62e96bf7d 47080 
ogdi-bin_3.2.0~beta2-5_i386.deb
Files: 
 455830e200800251bf34fb2d90486e4f 1372 libs extra ogdi-dfsg_3.2.0~beta2-5.dsc
 4dadbf771c8cc3c655b901d77dc1d46b 31641 libs extra 
ogdi-dfsg_3.2.0~beta2-5.diff.gz
 55c584f8f48f7541a0302b44c2052d2b 35804 libdevel extra 
libogdi3.2-dev_3.2.0~beta2-5_i386.deb
 4e832114e70d947bc53e8ea46efb91ec 253392 libs extra 
libogdi3.2_3.2.0~beta2-5_i386.deb
 6116fe1180b504c7ffb39af291427a04 47080 science extra 
ogdi-bin_3.2.0~beta2-5_i386.deb

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

iEYEARECAAYFAkqwz5sACgkQpFNRmenyx0f0xACg2EXL+NWXJOrE/ct5fuXmZ9co
518AoMDGELQ9YpC/dDUkSViKr58czbqp
=gbPA
-----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