Your message dated Thu, 23 Nov 2006 18:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#357919: fixed in rekall 2.2.6-5
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: rekall
Version: 2.2.6-4
Severity: serious
Tags: patch upstream
Justification: no longer builds from source

Hi Peter,

A recent fix to unixodbc is causing rekall to fail to build on 64-bit
architectures for the libmysqlclient15off transition[1]:

[...]
make[4]: Entering directory /build/buildd/rekall-2.2.6/db/odbc'
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. 
-I. -I../.. -I../../libs/common -I ../srclib -I /usr/include -I/usr/include/kde 
-I/usr/share/qt3/include -I.    -D__KB_KDE=1 -D__KB_TKC=0 -D__KB_EMBEDDED=0 
-DODBC_NS=NS_KBODBC -DGET_EXTRA=0 -DQT_THREAD_SUPPORT -D_REENTRANT 
-Wl,--no-undefined -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 
kb_odbc.lo kb_odbc.cpp
kb_odbc.cpp: In member function 'virtual bool 
NS_KBODBC::KBODBC::doConnect(KBServerInfo*)':
kb_odbc.cpp:693: warning: cast from 'char*' to 'SQLUSMALLINT*' increases 
required alignment of target type
kb_odbc.cpp:714: warning: cast from 'char*' to 'SQLUSMALLINT*' increases 
required alignment of target type
kb_odbc.cpp: In member function 'bool 
NS_KBODBC::KBODBC::doListTables(KBTableDetailsList&, const QString&, bool, 
uint)':
kb_odbc.cpp:1051: error: cannot convert 'SQLINTEGER*' to 'SQLLEN*' for argument 
'6' to 'SQLRETURN SQLBindCol(void*, SQLUSMALLINT, SQLSMALLINT, void*, SQLLEN, 
SQLLEN*)'
kb_odbc.cpp:1052: error: cannot convert 'SQLINTEGER*' to 'SQLLEN*' for argument 
'6' to 'SQLRETURN SQLBindCol(void*, SQLUSMALLINT, SQLSMALLINT, void*, SQLLEN, 
SQLLEN*)'
kb_odbc.cpp:1053: error: cannot convert 'SQLINTEGER*' to 'SQLLEN*' for argument 
'6' to 'SQLRETURN SQLBindCol(void*, SQLUSMALLINT, SQLSMALLINT, void*, SQLLEN, 
SQLLEN*)'
kb_odbc.cpp: In member function 'bool NS_KBODBC::KBODBC::bindParameters(void*, 
uint, const KBValue*, QPtrList<KBODBCValue>&, QTextCodec*)':
kb_odbc.cpp:1826: error: cannot convert 'SQLINTEGER*' to 'SQLLEN*' for argument 
'10' to 'SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, 
SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)'
kb_odbc.cpp: In member function 'bool NS_KBODBC::KBODBC::getRowCount(void*, 
int&)':
kb_odbc.cpp:1847: error: cannot convert 'SQLINTEGER*' to 'SQLLEN*' for argument 
'2' to 'SQLRETURN SQLRowCount(void*, SQLLEN*)'
kb_odbc.cpp: In constructor 
'NS_KBODBC::KBODBCQrySelect::KBODBCQrySelect(NS_KBODBC::KBODBC*, void*, bool, 
const QString&, bool&)':
kb_odbc.cpp:2011: error: cannot convert 'SQLUINTEGER*' to 'SQLULEN*' for 
argument '7' to 'SQLRETURN SQLDescribeCol(void*, SQLUSMALLINT, SQLCHAR*, 
SQLSMALLINT, SQLSMALLINT*, SQLSMALLINT*, SQLULEN*, SQLSMALLINT*, SQLSMALLINT*)'
kb_odbc.cpp: In member function 'virtual bool 
NS_KBODBC::KBODBCQrySelect::execute(uint, const KBValue*)':
kb_odbc.cpp:2157: error: cannot convert 'SQLUINTEGER*' to 'SQLULEN*' for 
argument '7' to 'SQLRETURN SQLDescribeCol(void*, SQLUSMALLINT, SQLCHAR*, 
SQLSMALLINT, SQLSMALLINT*, SQLSMALLINT*, SQLULEN*, SQLSMALLINT*, SQLSMALLINT*)'
[...]

The ODBC API standard includes bugs in the definition of several function
calls which take cast pointers as one of their possible arguments, resulting
in truncated pointers on 64-bit systems.  The Debian unixodbc packages have
deviated from this standard since before the sarge release, in order to
provide libraries that are actually usable on 64-bit systems.  However,
owing to an upstream decision to favor standards-compliance over utility by
default in this case, the headers did not by default declare this
64-bit-clean API; instead, they declared a 32-bit API that did not match the
actual ABI presented by the unixodbc library.

unixodbc 2.2.11-10 corrected this oversight on my part, by fixing the
headers to export the proper 64-bit interface.  The result is that
ODBC-using packages which don't know to expect this 64-bit interface will
now fail to build, as seen in this build log.

The attached patch makes the necessary type changes from SQLINTEGER and
SQLUINTEGER to SQLLEN and SQLULEN.  Note that SQLLEN is a late addition to
the ODBC standard, so its use will prevent rekall from building with older
ODBC library versions; if this is a concern for your upstream, please let me
know as I would be happy to help devise a patch that degrades gracefully for
the sake of portability.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

[1] 
http://buildd.debian.org/fetch.php?pkg=rekall&arch=ia64&ver=2.2.6-4%2Bb1&stamp=1142837162&file=log
diff -Nru /tmp/PNNoYydHyZ/rekall-2.2.6/db/iodbc/kb_odbc.cpp 
/tmp/8Nlwaa4yke/rekall-2.2.6/db/iodbc/kb_odbc.cpp
--- /tmp/PNNoYydHyZ/rekall-2.2.6/db/iodbc/kb_odbc.cpp   2004-11-25 
01:31:06.000000000 -0800
+++ /tmp/8Nlwaa4yke/rekall-2.2.6/db/iodbc/kb_odbc.cpp   2006-03-20 
01:28:05.000000000 -0800
@@ -1026,9 +1026,9 @@
        SQLCHAR         name    [101]   = "" ;
        SQLCHAR         type    [101]   = "" ;
        SQLCHAR         remarks [301]   = "" ;
-       SQLINTEGER      indName         ;
-       SQLINTEGER      indType         ;
-       SQLINTEGER      indRemarks      ;
+       SQLLEN          indName         ;
+       SQLLEN          indType         ;
+       SQLLEN          indRemarks      ;
 
        long            odbcRC          ;
 
@@ -1843,7 +1843,7 @@
                int             &nRows
        )
 {
-       SQLINTEGER sqlRows ;
+       SQLLEN sqlRows ;
        long       odbcRC  = SQLRowCount (stmHandle, &sqlRows) ;
 
        if (!checkRCOK(stmHandle, odbcRC, "Error finding ODBC row count"))
@@ -1993,7 +1993,7 @@
                SQLCHAR         colName[101]    ;
                SQLSMALLINT     nameLen         ;       
                SQLSMALLINT     colType         ;
-               SQLUINTEGER     colSize         ;
+               SQLULEN         colSize         ;
                SQLSMALLINT     decimal         ;
                SQLSMALLINT     nullable        ;
                long            odbcRC          ;
@@ -2140,7 +2140,7 @@
                SQLCHAR         colName[101]    ;
                SQLSMALLINT     nameLen         ;       
                SQLSMALLINT     colType         ;
-               SQLUINTEGER     colSize         ;
+               SQLULEN         colSize         ;
                SQLSMALLINT     decimal         ;
                SQLSMALLINT     nullable        ;
 
diff -Nru /tmp/PNNoYydHyZ/rekall-2.2.6/db/iodbc/kb_odbc_jet.cpp 
/tmp/8Nlwaa4yke/rekall-2.2.6/db/iodbc/kb_odbc_jet.cpp
--- /tmp/PNNoYydHyZ/rekall-2.2.6/db/iodbc/kb_odbc_jet.cpp       2004-11-25 
01:31:06.000000000 -0800
+++ /tmp/8Nlwaa4yke/rekall-2.2.6/db/iodbc/kb_odbc_jet.cpp       2006-03-20 
01:28:05.000000000 -0800
@@ -136,7 +136,7 @@
        }
 
        char            buffer[32]      ;
-       SQLINTEGER      bufflen         ;
+       SQLLEN          bufflen         ;
 
        odbcRC = SQLGetData
                 (      m_getHandle,
diff -Nru /tmp/PNNoYydHyZ/rekall-2.2.6/db/iodbc/kb_odbc_mysql.cpp 
/tmp/8Nlwaa4yke/rekall-2.2.6/db/iodbc/kb_odbc_mysql.cpp
--- /tmp/PNNoYydHyZ/rekall-2.2.6/db/iodbc/kb_odbc_mysql.cpp     2004-11-25 
01:31:06.000000000 -0800
+++ /tmp/8Nlwaa4yke/rekall-2.2.6/db/iodbc/kb_odbc_mysql.cpp     2006-03-20 
01:28:05.000000000 -0800
@@ -126,7 +126,7 @@
        }
 
        char            buffer[32]      ;
-       SQLINTEGER      bufflen         ;
+       SQLLEN          bufflen         ;
 
        odbcRC = SQLGetData
                 (      m_getHandle,
@@ -297,7 +297,7 @@
                }
 
                char            buffer[GETBUFSIZ+8]     ;
-               SQLINTEGER      bufflen                 ;
+               SQLLEN          bufflen                 ;
 
                odbcRC = SQLGetData
                         (      stmHandle,
diff -Nru /tmp/PNNoYydHyZ/rekall-2.2.6/db/odbc/kb_odbc.cpp 
/tmp/8Nlwaa4yke/rekall-2.2.6/db/odbc/kb_odbc.cpp
--- /tmp/PNNoYydHyZ/rekall-2.2.6/db/odbc/kb_odbc.cpp    2004-11-25 
01:31:06.000000000 -0800
+++ /tmp/8Nlwaa4yke/rekall-2.2.6/db/odbc/kb_odbc.cpp    2006-03-20 
01:28:05.000000000 -0800
@@ -1026,9 +1026,9 @@
        SQLCHAR         name    [101]   = "" ;
        SQLCHAR         type    [101]   = "" ;
        SQLCHAR         remarks [301]   = "" ;
-       SQLINTEGER      indName         ;
-       SQLINTEGER      indType         ;
-       SQLINTEGER      indRemarks      ;
+       SQLLEN          indName         ;
+       SQLLEN          indType         ;
+       SQLLEN          indRemarks      ;
 
        long            odbcRC          ;
 
@@ -1843,7 +1843,7 @@
                int             &nRows
        )
 {
-       SQLINTEGER sqlRows ;
+       SQLLEN sqlRows ;
        long       odbcRC  = SQLRowCount (stmHandle, &sqlRows) ;
 
        if (!checkRCOK(stmHandle, odbcRC, "Error finding ODBC row count"))
@@ -1993,7 +1993,7 @@
                SQLCHAR         colName[101]    ;
                SQLSMALLINT     nameLen         ;       
                SQLSMALLINT     colType         ;
-               SQLUINTEGER     colSize         ;
+               SQLULEN         colSize         ;
                SQLSMALLINT     decimal         ;
                SQLSMALLINT     nullable        ;
                long            odbcRC          ;
@@ -2140,7 +2140,7 @@
                SQLCHAR         colName[101]    ;
                SQLSMALLINT     nameLen         ;       
                SQLSMALLINT     colType         ;
-               SQLUINTEGER     colSize         ;
+               SQLULEN         colSize         ;
                SQLSMALLINT     decimal         ;
                SQLSMALLINT     nullable        ;
 
diff -Nru /tmp/PNNoYydHyZ/rekall-2.2.6/db/odbc/kb_odbc_jet.cpp 
/tmp/8Nlwaa4yke/rekall-2.2.6/db/odbc/kb_odbc_jet.cpp
--- /tmp/PNNoYydHyZ/rekall-2.2.6/db/odbc/kb_odbc_jet.cpp        2004-11-25 
01:31:06.000000000 -0800
+++ /tmp/8Nlwaa4yke/rekall-2.2.6/db/odbc/kb_odbc_jet.cpp        2006-03-20 
01:28:05.000000000 -0800
@@ -136,7 +136,7 @@
        }
 
        char            buffer[32]      ;
-       SQLINTEGER      bufflen         ;
+       SQLLEN          bufflen         ;
 
        odbcRC = SQLGetData
                 (      m_getHandle,
diff -Nru /tmp/PNNoYydHyZ/rekall-2.2.6/db/odbc/kb_odbc_mysql.cpp 
/tmp/8Nlwaa4yke/rekall-2.2.6/db/odbc/kb_odbc_mysql.cpp
--- /tmp/PNNoYydHyZ/rekall-2.2.6/db/odbc/kb_odbc_mysql.cpp      2004-11-25 
01:31:06.000000000 -0800
+++ /tmp/8Nlwaa4yke/rekall-2.2.6/db/odbc/kb_odbc_mysql.cpp      2006-03-20 
01:28:05.000000000 -0800
@@ -126,7 +126,7 @@
        }
 
        char            buffer[32]      ;
-       SQLINTEGER      bufflen         ;
+       SQLLEN          bufflen         ;
 
        odbcRC = SQLGetData
                 (      m_getHandle,
@@ -297,7 +297,7 @@
                }
 
                char            buffer[GETBUFSIZ+8]     ;
-               SQLINTEGER      bufflen                 ;
+               SQLLEN          bufflen                 ;
 
                odbcRC = SQLGetData
                         (      stmHandle,
diff -Nru /tmp/PNNoYydHyZ/rekall-2.2.6/db/srclib/kb_odbcrow.cpp 
/tmp/8Nlwaa4yke/rekall-2.2.6/db/srclib/kb_odbcrow.cpp
--- /tmp/PNNoYydHyZ/rekall-2.2.6/db/srclib/kb_odbcrow.cpp       2005-02-02 
09:05:35.000000000 -0800
+++ /tmp/8Nlwaa4yke/rekall-2.2.6/db/srclib/kb_odbcrow.cpp       2006-03-20 
01:28:05.000000000 -0800
@@ -46,8 +46,8 @@
        for (uint colno = 0 ; colno < nvals ; colno += 1)
        {
                char            buffer[GETBUFSIZ + 8];
-               SQLINTEGER      bufflen         ;
-               SQLINTEGER      bufflen2        ;
+               SQLLEN          bufflen         ;
+               SQLLEN          bufflen2        ;
                SQLRETURN       odbcRC          ;
 
                *(long*)(&buffer[GETBUFSIZ + 4]) = MAGIC;
diff -Nru /tmp/PNNoYydHyZ/rekall-2.2.6/db/srclib/kb_odbcval.h 
/tmp/8Nlwaa4yke/rekall-2.2.6/db/srclib/kb_odbcval.h
--- /tmp/PNNoYydHyZ/rekall-2.2.6/db/srclib/kb_odbcval.h 2004-11-18 
10:26:22.000000000 -0800
+++ /tmp/8Nlwaa4yke/rekall-2.2.6/db/srclib/kb_odbcval.h 2006-03-20 
01:28:05.000000000 -0800
@@ -21,7 +21,7 @@
        SQLSMALLINT     m_vtype         ;
        SQLPOINTER      m_vptr          ;
        SQLINTEGER      m_vlen          ;
-       SQLINTEGER      m_slind         ;
+       SQLLEN          m_slind         ;
 
 
 public  :
@@ -33,5 +33,5 @@
        inline  SQLSMALLINT     vtype   () { return  m_vtype ; }
        inline  SQLPOINTER      vptr    () { return  m_vptr  ; }
        inline  SQLINTEGER      vlen    () { return  m_vlen  ; }
-       inline  SQLINTEGER      *slind  () { return &m_slind ; }
+       inline  SQLLEN  *slind  () { return &m_slind ; }
 }      ;
diff -Nru /tmp/PNNoYydHyZ/rekall-2.2.6/debian/changelog 
/tmp/8Nlwaa4yke/rekall-2.2.6/debian/changelog
--- /tmp/PNNoYydHyZ/rekall-2.2.6/debian/changelog       2006-03-20 
01:28:02.000000000 -0800
+++ /tmp/8Nlwaa4yke/rekall-2.2.6/debian/changelog       2006-03-20 
01:28:05.000000000 -0800
@@ -1,3 +1,11 @@
+rekall (2.2.6-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Additional 64-bit compilation fixes, now that unixodbc is 64-bit
+    clean out of the box
+
+ -- Steve Langasek <[EMAIL PROTECTED]>  Mon, 20 Mar 2006 00:56:37 -0800
+
 rekall (2.2.6-4) unstable; urgency=low
 
   * Set build dependency to libmysqlclient15-dev (closes: #343808)

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: rekall
Source-Version: 2.2.6-5

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.6-5.diff.gz
  to pool/main/r/rekall/rekall_2.2.6-5.diff.gz
rekall_2.2.6-5.dsc
  to pool/main/r/rekall/rekall_2.2.6-5.dsc
rekall_2.2.6-5_i386.deb
  to pool/main/r/rekall/rekall_2.2.6-5_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, 23 Nov 2006 17:16:54 +0100
Source: rekall
Binary: rekall
Architecture: source i386
Version: 2.2.6-5
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <[EMAIL PROTECTED]>
Changed-By: Peter Eisentraut <[EMAIL PROTECTED]>
Description: 
 rekall     - graphical database front-end
Closes: 357919
Changes: 
 rekall (2.2.6-5) unstable; urgency=low
 .
   * Package orphaned
   * Updated standards version
   * Upgraded to Debhelper level 5
   * Acknowlege NMU (closes: #357919)
   * Updated lintian overrides
Files: 
 b79ec0a663c30826daf09cec3385471e 729 kde optional rekall_2.2.6-5.dsc
 ae4cdb04d1ed0e021e121ce0b5731cbf 9674 kde optional rekall_2.2.6-5.diff.gz
 8646ff2f922de8d45fce06400041a27a 3597060 kde optional rekall_2.2.6-5_i386.deb

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

iD8DBQFFZeZvTTx8oVVPtMYRAij5AJ9eCXuZ6j/iovUx2mqYU1Kx+bRb6QCcD4MX
6npFSIgPYNI836SSgYwtejY=
=YyXG
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to