Your message dated Mon, 20 Feb 2006 14:18:28 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#336498: fixed in grass 6.0.1-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: grass
Severity: important

Please split macro LOC_CHECK_VERSION from aclocal
into LOC_CHECK_VERSION_STRING and LOC_CHECK_VERSION_NUMBER
and use them appropriate in configure.in.

Current version check is unreliable.

Generated snippet, i.e.:

#include "confdefs.h"

#include <stdio.h> 
#include <proj_api.h>
int main(void) {
 FILE *fp = fopen("conftestdata","w");
 char *p;
 p = PJ_VERSION;
 fputs(p, fp);
 return 0;
}

is compiled OK, only with "warning: assignment makes pointer from integer 
without a cast".

When the created binary is executed, random (given by arbitrary version 
integer) memory is accessed and result might be either segfault or garbage from 
memory.

It currently segfault on GNU/Linux => package can be compiled
and returns garbage on GNU/FreeBSD => it FTBFS there.

It would be nice if you could get fixed it into upstream.

Temporarily the attached patch can be also used.

Thanks in advance,

        Petr


--- grass-6.0.1.orig/configure
+++ grass-6.0.1/configure
@@ -6421,31 +6421,6 @@
     echo "$ac_t""unknown (cross-compiling)" 1>&6 
 else
   cat > conftest.$ac_ext <<EOF
-#line 6425 "configure"
-#include "confdefs.h"
-
-#include <stdio.h> 
-#include <proj_api.h>
-int main(void) {
- FILE *fp = fopen("conftestdata","w");
- fputs(PJ_VERSION, fp);
- return 0;
-}
-
-EOF
-if { (eval echo configure:6437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && 
test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
-     proj_ver=`cat conftestdata`
-    echo "$ac_t""$proj_ver" 1>&6
-else
-  echo "configure: failed program was:" >&5
-  cat conftest.$ac_ext >&5
-  rm -fr conftest*
-     if test "$cross_compiling" = yes; then
-     proj_ver=UNKNOWN
-        echo "$ac_t""unknown (cross-compiling)" 1>&6 
-else
-  cat > conftest.$ac_ext <<EOF
 #line 6450 "configure"
 #include "confdefs.h"
 
@@ -6471,11 +6446,6 @@
 rm -fr conftest*
 fi
 
-
-fi
-rm -fr conftest*
-fi
-
 CPPFLAGS=$ac_save_cppflags
 







--- End Message ---
--- Begin Message ---
Source: grass
Source-Version: 6.0.1-3

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

grass-doc_6.0.1-3_all.deb
  to pool/main/g/grass/grass-doc_6.0.1-3_all.deb
grass_6.0.1-3.diff.gz
  to pool/main/g/grass/grass_6.0.1-3.diff.gz
grass_6.0.1-3.dsc
  to pool/main/g/grass/grass_6.0.1-3.dsc
grass_6.0.1-3_i386.deb
  to pool/main/g/grass/grass_6.0.1-3_i386.deb
libgrass-dev_6.0.1-3_i386.deb
  to pool/main/g/grass/libgrass-dev_6.0.1-3_i386.deb
libgrass_6.0.1-3_i386.deb
  to pool/main/g/grass/libgrass_6.0.1-3_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.
Francesco Paolo Lovergine <[EMAIL PROTECTED]> (supplier of updated grass 
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: Fri, 17 Feb 2006 13:03:03 +0100
Source: grass
Binary: libgrass-dev grass libgrass grass-doc
Architecture: source i386 all
Version: 6.0.1-3
Distribution: unstable
Urgency: low
Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Changed-By: Francesco Paolo Lovergine <[EMAIL PROTECTED]>
Description: 
 grass      - Geographic Resources Analysis Support System
 grass-doc  - Geographic Resources Analysis Support System documentation
 libgrass   - GRASS GIS development libraries
 libgrass-dev - GRASS GIS library development files
Closes: 315073 336498 350010
Changes: 
 grass (6.0.1-3) unstable; urgency=low
 .
   [ Francesco Paolo Lovergine ]
 .
   * Added NVIZ html help pages to -doc package, previously missing. Thanks 
Stephan Holl.
   * Re-introduced missing build-indep target in rules for the -doc package.
     This is still sub-optimal...
   * Added missing libxmu-dev
     (closes: #350010)
   * Added Module.make among -dev files.
     (closes: #315073)
   * Added configure.in.dpatch for FTBS on GNU/FreeBSD. Merged correction for 
configure(1333).
     (closes: #336498)
 .
   [ Paul Wise ]
   * Fix homepages in package descriptions
   * Add a watch file
Files: 
 25371cd888d0abaf4f6bc9d2a05b0a72 1129 science extra grass_6.0.1-3.dsc
 71dc462e9001a03c967d772a8c18267c 34473 science extra grass_6.0.1-3.diff.gz
 c045d7349dbe030227646f47e85d0627 1959322 science extra 
grass-doc_6.0.1-3_all.deb
 393f43c4b28fefbe9ba8e504b0311e6c 5827262 science extra grass_6.0.1-3_i386.deb
 5b462f9a77f1ea65116d5e7b5ea9525a 824854 libs extra libgrass_6.0.1-3_i386.deb
 f3aac3ee4a6fc36514a5344b950d401b 251308 libdevel extra 
libgrass-dev_6.0.1-3_i386.deb

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

iD8DBQFD+jdspFNRmenyx0cRAgK6AKCtRp5uGN6nOra9qPBSV+YesSya9gCdEORy
AKr02gT4JQmIUIGSdE8Hd7U=
=awQf
-----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