Your message dated Mon, 11 Sep 2006 08:25:47 +0900
with message-id <[EMAIL PROTECTED]>
and subject line Bug#385801: FTBFS: Does not build on amd64
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: libodbc++
Version: 0.2.3+0.2.4pre3
Severity: serious

I'm not sure if there's some inconsistencies between MS ODBC standard
and iODBC (iODBC and unixodbc seems to define SQLLEN and SQLULEN,
which is nowhere to be found on Microsoft specs), but it doesn't seem
to build.


[17:57:11]dancer64:src> LC_ALL=C make -k 
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H  -DODBCXX_UNICODE -I. -I. 
-I.. -I../include -I../include    -I/usr/local/include  -DIN_ODBCXX 
-D_GNU_SOURCE -g -Wall -O2 -c -o statement.lo `test -f 'statement.cpp' || echo 
'./'`statement.cpp
 g++ -DHAVE_CONFIG_H -DODBCXX_UNICODE -I. -I. -I.. -I../include -I../include 
-I/usr/local/include -DIN_ODBCXX -D_GNU_SOURCE -g -Wall -O2 -c statement.cpp  
-fPIC -DPIC -o .libs/statement.o
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H  -DODBCXX_UNICODE -I. -I. 
-I.. -I../include -I../include    -I/usr/local/include  -DIN_ODBCXX 
-D_GNU_SOURCE -g -Wall -O2 -c -o preparedstatement.lo `test -f 
'preparedstatement.cpp' || echo './'`preparedstatement.cpp
 g++ -DHAVE_CONFIG_H -DODBCXX_UNICODE -I. -I. -I.. -I../include -I../include 
-I/usr/local/include -DIN_ODBCXX -D_GNU_SOURCE -g -Wall -O2 -c 
preparedstatement.cpp  -fPIC -DPIC -o .libs/preparedstatement.o
preparedstatement.cpp: In member function 'void 
odbc::PreparedStatement::_checkParam(int, int*, int, int, int)':
preparedstatement.cpp:100: warning: comparison between signed and unsigned 
integer expressions
preparedstatement.cpp: In member function 'void 
odbc::PreparedStatement::_bindParams()':
preparedstatement.cpp:215: error: cannot convert 'SQLINTEGER*' to 'long int*' 
for argument '10' to 'SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, 
SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, long unsigned int, SQLSMALLINT, void*, 
long int, long int*)'
preparedstatement.cpp:241: error: cannot convert 'SQLINTEGER*' to 'long int*' 
for argument '10' to 'SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, 
SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, long unsigned int, SQLSMALLINT, void*, 
long int, long int*)'
preparedstatement.cpp: In member function 'bool 
odbc::PreparedStatement::execute()':
preparedstatement.cpp:308: error: cast from 'void*' to 'int' loses precision
make: *** [preparedstatement.lo] Error 1
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H  -DODBCXX_UNICODE -I. -I. 
-I.. -I../include -I../include    -I/usr/local/include  -DIN_ODBCXX 
-D_GNU_SOURCE -g -Wall -O2 -c -o resultset.lo `test -f 'resultset.cpp' || echo 
'./'`resultset.cpp
 g++ -DHAVE_CONFIG_H -DODBCXX_UNICODE -I. -I. -I.. -I../include -I../include 
-I/usr/local/include -DIN_ODBCXX -D_GNU_SOURCE -g -Wall -O2 -c resultset.cpp  
-fPIC -DPIC -o .libs/resultset.o
resultset.cpp: In member function 'void odbc::ResultSet::_bindCols()':
resultset.cpp:346: error: cannot convert 'SQLINTEGER*' to 'long int*' for 
argument '6' to 'SQLRETURN SQLBindCol(void*, SQLUSMALLINT, SQLSMALLINT, void*, 
long int, long int*)'
resultset.cpp: In member function 'void odbc::ResultSet::_bindStreamedCols()':
resultset.cpp:369: error: cannot convert 'SQLINTEGER*' to 'long int*' for 
argument '6' to 'SQLRETURN SQLBindCol(void*, SQLUSMALLINT, SQLSMALLINT, void*, 
long int, long int*)'
resultset.cpp:358: warning: unused variable 'cr'
resultset.cpp: In member function 'void odbc::ResultSet::_unbindStreamedCols()':
resultset.cpp:389: error: cannot convert 'SQLINTEGER*' to 'long int*' for 
argument '6' to 'SQLRETURN SQLBindCol(void*, SQLUSMALLINT, SQLSMALLINT, void*, 
long int, long int*)'
resultset.cpp: In member function 'void 
odbc::ResultSet::_handleStreams(SQLRETURN)':
resultset.cpp:534: error: cast from 'void*' to 'int' loses precision
resultset.cpp: In member function 'bool odbc::ResultSet::relative(int)':
resultset.cpp:724: warning: comparison between signed and unsigned integer 
expressions
make: *** [resultset.lo] Error 1
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H  -DODBCXX_UNICODE -I. -I. 
-I.. -I../include -I../include    -I/usr/local/include  -DIN_ODBCXX 
-D_GNU_SOURCE -g -Wall -O2 -c -o resultsetmetadata.lo `test -f 
'resultsetmetadata.cpp' || echo './'`resultsetmetadata.cpp
 g++ -DHAVE_CONFIG_H -DODBCXX_UNICODE -I. -I. -I.. -I../include -I../include 
-I/usr/local/include -DIN_ODBCXX -D_GNU_SOURCE -g -Wall -O2 -c 
resultsetmetadata.cpp  -fPIC -DPIC -o .libs/resultsetmetadata.o
resultsetmetadata.cpp: In member function 'int 
odbc::ResultSetMetaData::_getNumericAttribute(unsigned int, SQLUSMALLINT)':
resultsetmetadata.cpp:50: error: cannot convert 'SQLINTEGER*' to 'long int*' 
for argument '7' to 'SQLRETURN SQLColAttributeW(void*, SQLUSMALLINT, 
SQLUSMALLINT, void*, SQLSMALLINT, SQLSMALLINT*, long int*)'
resultsetmetadata.cpp: In member function 'std::wstring 
odbc::ResultSetMetaData::_getStringAttribute(unsigned int, SQLUSMALLINT, 
unsigned int)':
resultsetmetadata.cpp:76: error: cannot convert 'SQLINTEGER*' to 'long int*' 
for argument '7' to 'SQLRETURN SQLColAttributeW(void*, SQLUSMALLINT, 
SQLUSMALLINT, void*, SQLSMALLINT, SQLSMALLINT*, long int*)'
make: *** [resultsetmetadata.lo] Error 1
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H  -DODBCXX_UNICODE -I. -I. 
-I.. -I../include -I../include    -I/usr/local/include  -DIN_ODBCXX 
-D_GNU_SOURCE -g -Wall -O2 -c -o datastream.lo `test -f 'datastream.cpp' || 
echo './'`datastream.cpp
 g++ -DHAVE_CONFIG_H -DODBCXX_UNICODE -I. -I. -I.. -I../include -I../include 
-I/usr/local/include -DIN_ODBCXX -D_GNU_SOURCE -g -Wall -O2 -c datastream.cpp  
-fPIC -DPIC -o .libs/datastream.o
datastream.cpp: In member function 'virtual wint_t 
odbc::DataStreamBuf::underflow()':
datastream.cpp:99: error: cannot convert 'SQLINTEGER*' to 'long int*' for 
argument '6' to 'SQLRETURN SQLGetData(void*, SQLUSMALLINT, SQLSMALLINT, void*, 
long int, long int*)'
make: *** [datastream.lo] Error 1
make: Target `all' not remade because of errors.
[17:57:18]dancer64:src> 

regards,
        junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


--- End Message ---
--- Begin Message ---
> This bug seems to be fixed in 0.2.3+0.2.4pre3-2:
> 
>    * Add 002_ftbs_64bit_fix.patch: Fix FTBFS on 64-bit platforms
>      (patch courtesy of Andreas Jochens)
> 
> (which was coincidentally uploaded exactly 37 seconds(!) earlier than this 
> bug 
> was reported ;)

Heh, verified.  closing bug.

regards,
        junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project

--- End Message ---

Reply via email to