Your message dated Thu, 08 Sep 2005 13:33:57 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#326252: fixed in rekall 2.2.3-2-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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Sep 2005 18:14:24 +0000
>From [EMAIL PROTECTED] Fri Sep 02 11:14:24 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d009027.adsl.hansenet.de (localhost.localdomain) [80.171.9.27] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EBG3U-0003tq-00; Fri, 02 Sep 2005 11:14:24 -0700
Received: from aj by localhost.localdomain with local (Exim 4.52)
        id 1EBG3O-0000Gp-9Y; Fri, 02 Sep 2005 20:14:18 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: rekall: FTBFS (amd64): cast from 'ELShared*' to 'int' loses precision
Message-Id: <[EMAIL PROTECTED]>
Date: Fri, 02 Sep 2005 20:14:18 +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: rekall
Version: 2.2.3-2-2
Severity: serious
Tags: patch

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

/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. 
-I. -I../.. -I/usr/include/kde -I/usr/share/qt3/include -I.   
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef 
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -g -Wall -O2 
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new 
-fno-common  -c -o hash.lo hash.cpp
hash.cpp: In member function 'VALUE* HASH::entry(const VALUE&, int)':
hash.cpp:144: error: cast from 'ELShared*' to 'int' loses precision
make[4]: *** [hash.lo] Error 1
make[4]: Leaving directory `/rekall-2.2.3-2/libs/el32'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/rekall-2.2.3-2/debian/patches/00list 
./debian/patches/00list
--- ../tmp-orig/rekall-2.2.3-2/debian/patches/00list    2005-09-02 
17:30:49.000000000 +0000
+++ ./debian/patches/00list     2005-09-02 17:29:48.000000000 +0000
@@ -1,3 +1,4 @@
 12_kbase-driver-xbase
 20_de-po
 30_pg-user
+40_gcc4
diff -urN ../tmp-orig/rekall-2.2.3-2/debian/patches/40_gcc4.dpatch 
./debian/patches/40_gcc4.dpatch
--- ../tmp-orig/rekall-2.2.3-2/debian/patches/40_gcc4.dpatch    1970-01-01 
00:00:00.000000000 +0000
+++ ./debian/patches/40_gcc4.dpatch     2005-09-02 17:29:12.000000000 +0000
@@ -0,0 +1,145 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 40_gcc4.dpatch by Andreas Jochens <[EMAIL PROTECTED]>
+##
+## DP: compilation fixes for gcc-4.0
+
[EMAIL PROTECTED]@
+diff -urN ../tmp-orig/rekall-2.2.3-2/libs/el32/hash.cpp ./libs/el32/hash.cpp
+--- ../tmp-orig/rekall-2.2.3-2/libs/el32/hash.cpp      2004-12-15 
21:21:40.000000000 +0000
++++ ./libs/el32/hash.cpp       2005-09-02 15:33:18.000000000 +0000
+@@ -141,7 +141,7 @@
+                       /* otherwise use just the tag (pretty useless   */
+                       /* but so what, not a common case).             */
+                       if ((key.tag->flags & TF_SHARED) == 0)
+-                              hval    = (int)key.val.shared ;
++                              hval    = (long)key.val.shared ;
+                       else    hval    = key.tag->tag ;
+                       break   ;
+       }
+diff -urN ../tmp-orig/rekall-2.2.3-2/libs/kbase/kb_configdlg.cpp 
./libs/kbase/kb_configdlg.cpp
+--- ../tmp-orig/rekall-2.2.3-2/libs/kbase/kb_configdlg.cpp     2004-12-15 
21:21:40.000000000 +0000
++++ ./libs/kbase/kb_configdlg.cpp      2005-09-02 15:52:30.000000000 +0000
+@@ -337,7 +337,7 @@
+       old.clear () ;
+ 
+       QListViewItem   *item   = m_lvConfigs.firstChild() ;
+-      uint            ident   = 0x000ffffff & (uint)(void *)item ;
++      uint            ident   = 0x000ffffff & (long)(void *)item ;
+ 
+       while (item != 0)
+       {
+diff -urN ../tmp-orig/rekall-2.2.3-2/libs/kbase/kb_formblock.cpp 
./libs/kbase/kb_formblock.cpp
+--- ../tmp-orig/rekall-2.2.3-2/libs/kbase/kb_formblock.cpp     2004-12-15 
21:21:40.000000000 +0000
++++ ./libs/kbase/kb_formblock.cpp      2005-09-02 15:38:10.000000000 +0000
+@@ -1500,7 +1500,7 @@
+               return  false   ;
+       }
+ 
+-      newNode ((int)nSpec) ;
++      newNode ((long)nSpec) ;
+       return  true    ;
+ }
+ 
+diff -urN ../tmp-orig/rekall-2.2.3-2/libs/kbase/kb_framer.cpp 
./libs/kbase/kb_framer.cpp
+--- ../tmp-orig/rekall-2.2.3-2/libs/kbase/kb_framer.cpp        2004-12-15 
21:21:40.000000000 +0000
++++ ./libs/kbase/kb_framer.cpp 2005-09-02 15:38:54.000000000 +0000
+@@ -321,7 +321,7 @@
+               return  false   ;
+       }
+ 
+-      newNode ((int)nSpec) ;
++      newNode ((long)nSpec) ;
+       return  true    ;
+ }
+ 
+diff -urN ../tmp-orig/rekall-2.2.3-2/libs/kbase/kb_link.cpp 
./libs/kbase/kb_link.cpp
+--- ../tmp-orig/rekall-2.2.3-2/libs/kbase/kb_link.cpp  2004-12-15 
21:21:40.000000000 +0000
++++ ./libs/kbase/kb_link.cpp   2005-09-02 15:36:36.000000000 +0000
+@@ -771,21 +771,21 @@
+               receiver,
+               SLOT(newNode(int)),
+               0,
+-              (int)&nodeSpecTable
++              (long)&nodeSpecTable
+       )       ;
+       lp->insertItem
+       (       TR("Query link"),
+               receiver,
+               SLOT(newNode(int)),
+               0,
+-              (int)&nodeSpecQuery
++              (long)&nodeSpecQuery
+       )       ;
+       lp->insertItem
+       (       TR("SQL link"  ),
+               receiver,
+               SLOT(newNode(int)),
+               0,
+-              (int)&nodeSpecSQL
++              (long)&nodeSpecSQL
+       )       ;
+ 
+       popup->insertItem (TR("New &Link"), lp) ;
+diff -urN ../tmp-orig/rekall-2.2.3-2/libs/kbase/kb_overridedlg.cpp 
./libs/kbase/kb_overridedlg.cpp
+--- ../tmp-orig/rekall-2.2.3-2/libs/kbase/kb_overridedlg.cpp   2004-12-15 
21:21:40.000000000 +0000
++++ ./libs/kbase/kb_overridedlg.cpp    2005-09-02 15:59:05.000000000 +0000
+@@ -333,7 +333,7 @@
+       old.clear () ;
+ 
+       QListViewItem   *item   = m_lvOverride.firstChild() ;
+-      uint            ident   = 0x000ffffff & (uint)(void *)item ;
++      uint            ident   = 0x000ffffff & (long)(void *)item ;
+ 
+       while (item != 0)
+       {
+diff -urN ../tmp-orig/rekall-2.2.3-2/libs/kbase/kb_parse.cpp 
./libs/kbase/kb_parse.cpp
+--- ../tmp-orig/rekall-2.2.3-2/libs/kbase/kb_parse.cpp 2004-12-15 
21:21:40.000000000 +0000
++++ ./libs/kbase/kb_parse.cpp  2005-09-02 15:35:18.000000000 +0000
+@@ -971,7 +971,7 @@
+                       receiver,
+                       SLOT (newNode(int)),
+                       0,
+-                      (int)nsItem
++                      (long)nsItem
+               )       ;
+ 
+               sep     = true  ;
+@@ -1025,7 +1025,7 @@
+                       receiver,
+                       SLOT (newNode(int)),
+                       0,
+-                      (int)nsItem
++                      (long)nsItem
+               )       ;
+       }
+ 
+@@ -1043,7 +1043,7 @@
+                               receiver,
+                               SLOT (newNode(int)),
+                               0,
+-                              (int)exItem
++                              (long)exItem
+                       )       ;
+               )
+ 
+diff -urN ../tmp-orig/rekall-2.2.3-2/script/python/lib/tkc_pydebugbase.cpp 
./script/python/lib/tkc_pydebugbase.cpp
+--- ../tmp-orig/rekall-2.2.3-2/script/python/lib/tkc_pydebugbase.cpp   
2004-12-15 21:21:40.000000000 +0000
++++ ./script/python/lib/tkc_pydebugbase.cpp    2005-09-02 16:01:00.000000000 
+0000
+@@ -550,7 +550,7 @@
+       if (PyModule_Check (pyObj) || PyCode_Check (pyObj))
+               if (findTracePoint (pyObj, lineNo) == 0)
+               {
+-                      fprintf (stderr, "Set trace: %08x:%d\n", (uint)pyObj, 
lineNo) ;
++                      fprintf (stderr, "Set trace: %16lx:%d\n", (long)pyObj, 
lineNo) ;
+                       tracePoints.append (new TKCPyTracePoint (pyObj, 
userPtr, lineNo)) ;
+                       enable  () ;
+               }
+@@ -573,7 +573,7 @@
+       if (PyModule_Check (pyObj) || PyCode_Check (pyObj))
+               if ((tp = findTracePoint (pyObj, lineNo)) != 0)
+               {
+-                      fprintf (stderr, "Rem trace: %08x:%d\n", (uint)pyObj, 
lineNo) ;
++                      fprintf (stderr, "Rem trace: %16lx:%d\n", (long)pyObj, 
lineNo) ;
+                       tracePoints.remove (tp) ;
+                       delete  tp ;
+                       disable () ;

---------------------------------------
Received: (at 326252-close) by bugs.debian.org; 8 Sep 2005 20:39:07 +0000
>From [EMAIL PROTECTED] Thu Sep 08 13:39:07 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EDT5p-00076v-00; Thu, 08 Sep 2005 13:33:57 -0700
From: Peter Eisentraut <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#326252: fixed in rekall 2.2.3-2-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 08 Sep 2005 13:33:57 -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
X-CrossAssassin-Score: 2

Source: rekall
Source-Version: 2.2.3-2-3

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

rekall_2.2.3-2-3.diff.gz
  to pool/main/r/rekall/rekall_2.2.3-2-3.diff.gz
rekall_2.2.3-2-3.dsc
  to pool/main/r/rekall/rekall_2.2.3-2-3.dsc
rekall_2.2.3-2-3_i386.deb
  to pool/main/r/rekall/rekall_2.2.3-2-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.
Peter Eisentraut <[EMAIL PROTECTED]> (supplier of updated rekall 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: Thu,  8 Sep 2005 21:06:55 +0200
Source: rekall
Binary: rekall
Architecture: source i386
Version: 2.2.3-2-3
Distribution: unstable
Urgency: low
Maintainer: Peter Eisentraut <[EMAIL PROTECTED]>
Changed-By: Peter Eisentraut <[EMAIL PROTECTED]>
Description: 
 rekall     - graphical database front-end
Closes: 313824 326252
Changes: 
 rekall (2.2.3-2-3) unstable; urgency=low
 .
   * Rebuilt for new C++ ABI
   * Changed dependency from postgresql-dev to libpq-dev
   * Applied code fix for GCC 4.0/amd64 (from Andreas Jochens <[EMAIL 
PROTECTED]>)
     (closes: #326252)
   * Corrected German translation even further (from
     Jens Seidel <[EMAIL PROTECTED]>) (closes: #313824)
   * Updated standards version
   * Switched from dpatch to simple-patchsys
   * Changed watch file to version 3 format
Files: 
 a4aee9d13df05205f7fa5594943575df 743 kde optional rekall_2.2.3-2-3.dsc
 fa24b3a625f9fa9a114f60cf4042d2ae 8081 kde optional rekall_2.2.3-2-3.diff.gz
 12eaa00ccaa3ebfc85dc67ca9d8d984f 3402364 kde optional rekall_2.2.3-2-3_i386.deb

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

iD8DBQFDIJ1wTTx8oVVPtMYRAuAEAJwIPrYR4C000LBtWqo6JS6qPo1rwQCffaeA
agYJE+w5JYrXP07RT9YZyzI=
=v+KR
-----END PGP SIGNATURE-----


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

Reply via email to