Your message dated Sun, 11 Sep 2005 11:17:08 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#326693: fixed in libterralib 3.0.3b2-2
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 5 Sep 2005 05:39:05 +0000
>From [EMAIL PROTECTED] Sun Sep 04 22:39:05 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d007072.adsl.hansenet.de (localhost.localdomain) [80.171.7.72] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EC9hA-000374-00; Sun, 04 Sep 2005 22:39:04 -0700
Received: from aj by localhost.localdomain with local (Exim 4.52)
        id 1EC9h3-0007Oc-R0; Mon, 05 Sep 2005 07:38:57 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: libterralib: FTBFS (amd64): cast from 'const char*' to 'int' loses 
precision
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 05 Sep 2005 07:38:57 +0200
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: libterralib
Version: 3.0.3b2-1
Severity: serious
Tags: patch

When building 'libterralib' on amd64/unstable,
I get the following error:

make[2]: Entering directory `/libterralib-3.0.3b2/terralibx/terralib'
g++ -c -pipe -Wall -W -g -fPIC  -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT 
-I/usr/share/qt3/mkspecs/default -I. -I../../src/terralib/kernel 
-I../../src/terralib/functions -I../../src/tiff -I../../src/zlib 
-I/usr/include/qt3 -o .obj/lexTemporal.o 
../../src/terralib/kernel/lexTemporal.cpp
../../src/terralib/kernel/lexTemporal.cpp: In function 'int my_yyinput(char*, 
int)':
../../src/terralib/kernel/lexTemporal.cpp:653: error: cast from 'const char*' 
to 'int' loses precision
../../src/terralib/kernel/lexTemporal.cpp: At global scope:
../../src/terralib/kernel/lexTemporal.cpp:1888: warning: 'void* 
yy_flex_realloc(void*, yy_size_t)' defined but not used
../../src/terralib/kernel/lexTemporal.cpp:1367: warning: 'void yyunput(int, 
char*)' defined but not used
make[2]: *** [.obj/lexTemporal.o] Error 1
make[2]: Leaving directory `/libterralib-3.0.3b2/terralibx/terralib'

With the attached patch 'libterralib' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN 
../tmp-orig/libterralib-3.0.3b2/src/terralib/kernel/TeDecoderMemoryMap.cpp 
./src/terralib/kernel/TeDecoderMemoryMap.cpp
--- ../tmp-orig/libterralib-3.0.3b2/src/terralib/kernel/TeDecoderMemoryMap.cpp  
2005-02-21 19:23:35.000000000 +0000
+++ ./src/terralib/kernel/TeDecoderMemoryMap.cpp        2005-09-05 
05:22:46.000000000 +0000
@@ -591,7 +591,7 @@
        m_dwSize = aux.st_size;
 
        m_lpszFile  =  mmap(0, m_dwSize, PROT_READ|PROT_WRITE , MAP_PRIVATE, 
m_hFile, 0);
-       if ( ((int) m_lpszFile)  == -1 )
+       if ( ((long) m_lpszFile)  == -1 )
                return;
 }
 
@@ -631,7 +631,7 @@
        m_dwSize = aux.st_size;
 
        m_lpszFile =  mmap(0, m_dwSize, PROT_READ|PROT_WRITE , MAP_PRIVATE, 
m_hFile, 0);
-       if ( ((int) m_lpszFile)  == -1 )
+       if ( ((long) m_lpszFile)  == -1 )
                return false;
 
        // Writes the default values
diff -urN ../tmp-orig/libterralib-3.0.3b2/src/terralib/kernel/lexTemporal.cpp 
./src/terralib/kernel/lexTemporal.cpp
--- ../tmp-orig/libterralib-3.0.3b2/src/terralib/kernel/lexTemporal.cpp 
2004-11-12 18:32:46.000000000 +0000
+++ ./src/terralib/kernel/lexTemporal.cpp       2005-09-05 05:21:14.000000000 
+0000
@@ -650,11 +650,11 @@
 int my_yyinput(char* buf, int max_size)
 {
        int n = max_size;
-       int s = myinputlim - (int)myinputptr;
+       long s = myinputlim - (long)myinputptr;
        if(max_size>s)
                n = s;
                
-       //int n = min(max_size, myinputlim - (int)myinputptr);
+       //int n = min(max_size, myinputlim - (long)myinputptr);
        if(n>0)
        {
                initLexOut(); 
diff -urN ../tmp-orig/libterralib-3.0.3b2/src/terralib/kernel/yyTemporal.cpp 
./src/terralib/kernel/yyTemporal.cpp
--- ../tmp-orig/libterralib-3.0.3b2/src/terralib/kernel/yyTemporal.cpp  
2004-05-12 12:45:13.000000000 +0000
+++ ./src/terralib/kernel/yyTemporal.cpp        2005-09-05 05:26:11.000000000 
+0000
@@ -74,7 +74,7 @@
        myinputptr_aux = strIn;
        myinputptr = myinputptr_aux.c_str();
        
-       myinputlim = (int)myinputptr + strIn.size ();   
+       myinputlim = (long)myinputptr + strIn.size ();  
        database_ = db;
        return 1;
 }

---------------------------------------
Received: (at 326693-close) by bugs.debian.org; 11 Sep 2005 18:20:28 +0000
>From [EMAIL PROTECTED] Sun Sep 11 11:20:28 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EEWO4-0004XB-00; Sun, 11 Sep 2005 11:17:08 -0700
From: Marco Tulio Gontijo e Silva <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#326693: fixed in libterralib 3.0.3b2-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 11 Sep 2005 11:17:08 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: libterralib
Source-Version: 3.0.3b2-2

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

libterralib1-dev_3.0.3b2-2_i386.deb
  to pool/main/libt/libterralib/libterralib1-dev_3.0.3b2-2_i386.deb
libterralib1-doc_3.0.3b2-2_all.deb
  to pool/main/libt/libterralib/libterralib1-doc_3.0.3b2-2_all.deb
libterralib1_3.0.3b2-2_i386.deb
  to pool/main/libt/libterralib/libterralib1_3.0.3b2-2_i386.deb
libterralib_3.0.3b2-2.diff.gz
  to pool/main/libt/libterralib/libterralib_3.0.3b2-2.diff.gz
libterralib_3.0.3b2-2.dsc
  to pool/main/libt/libterralib/libterralib_3.0.3b2-2.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marco Tulio Gontijo e Silva <[EMAIL PROTECTED]> (supplier of updated 
libterralib 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: Sun, 11 Sep 2005 00:39:24 +0000
Source: libterralib
Binary: libterralib1 libterralib1-doc libterralib1-dev
Architecture: source all i386
Version: 3.0.3b2-2
Distribution: unstable
Urgency: low
Maintainer: Marco Tulio Gontijo e Silva <[EMAIL PROTECTED]>
Changed-By: Marco Tulio Gontijo e Silva <[EMAIL PROTECTED]>
Description: 
 libterralib1 - A C++ library for Geographical Information Systems
 libterralib1-dev - A C++ library for Geographical Information Systems -- 
development
 libterralib1-doc - A C++ library for Geographical Information Systems -- 
documentati
Closes: 326693
Changes: 
 libterralib (3.0.3b2-2) unstable; urgency=low
 .
   * Added patch for amd64 compability. Thanks to Andreas Jochens
     <[EMAIL PROTECTED]>. Closes: #326693
   * Upload sponsored by Petter Reinholdtsen.
Files: 
 8cc83bb4e76e6f22ead0fd87210b68f6 744 libs optional libterralib_3.0.3b2-2.dsc
 008103ba3fd3dc2b2677f54b06715675 2907 libs optional 
libterralib_3.0.3b2-2.diff.gz
 0d00c7b1b591085e8972dbeb33203df6 5203648 doc optional 
libterralib1-doc_3.0.3b2-2_all.deb
 e2c2dc6bb534c88f7aadd893cbfee570 3204984 libdevel optional 
libterralib1-dev_3.0.3b2-2_i386.deb
 d7e745569ff913117ce9e4c59dc32533 1008128 libs optional 
libterralib1_3.0.3b2-2_i386.deb

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

iD8DBQFDJHJ120zMSyow1ykRAnxBAKCwg2/3M2n9wyreMImiOyz2ZojP3gCeIKwT
UbYdPEC+sav3swxyjgEvVa0=
=VvvR
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to