qt-x11-free: FTBFS on amd64 with gcc-3.4: Bad redefinition of SQLLEN

Bug #9730 reported by Debian Bug Importer
10
Affects Status Importance Assigned to Milestone
qt-x11-free (Debian)
Fix Released
Unknown
qt-x11-free (Ubuntu)
Fix Released
High
Tollef Fog Heen

Bug Description

Automatically imported from Debian bug report #275887 http://bugs.debian.org/275887

Revision history for this message
In , Daniel Schepler (schepler-math) wrote : Looks like it's not just amd64

package qt-x11-free
severity 275887 serious
merge 275887 278781
thanks

I've now reproduced this bug in an i386 chroot as well with g++-3.3,
as in bug #278781, so it appears it's not specific to amd64 or
g++-3.4. Anyway, the same patch as before, except changing "#ifndef
Q_OS_WIN64" to "#if 0", fixes the compilation problems under i386 as
well.
--
Daniel Schepler "Please don't disillusion me. I
<email address hidden> haven't had breakfast yet."
                                 -- Orson Scott Card

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #275887 http://bugs.debian.org/275887

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 10 Oct 2004 12:36:55 -0700
From: Daniel Schepler <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: qt-x11-free: FTBFS on amd64 with gcc-3.4: Bad redefinition of
 SQLLEN

Package: qt-x11-free
Version: 3:3.3.3-4.1
Severity: normal
Tags: patch

From my build log:

...
g++ -c -pipe -I/usr/include/mysql -I/usr/include/freetype2 -I/usr/include/postgresql -I/usr/include/postgresql/server -fno-exceptions -Wall -W -O2 -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SHARED -I/tmp/buildd/qt-x11-free-3.3.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../../../include -I.moc/release-shared/ -o .obj/qsql_odbc.o ../../../../src/sql/drivers/odbc/qsql_odbc.cpp
./../../../src/sql/drivers/odbc/qsql_odbc.cpp:61:1: warning: "SQLLEN" redefined
In file included from /usr/include/sql.h:91,
                 from ../../../../src/sql/drivers/odbc/qsql_odbc.h:72,
                 from ../../../../src/sql/drivers/odbc/qsql_odbc.cpp:37:
/usr/include/sqltypes.h:139:1: warning: this is the location of the previous definition
./../../../src/sql/drivers/odbc/qsql_odbc.cpp:62:1: warning: "SQLULEN" redefined
/usr/include/sqltypes.h:140:1: warning: this is the location of the previous definition
./../../../src/sql/drivers/odbc/qsql_odbc.cpp: In function `QString qGetStringData(void*, int, int, bool&, bool)':
./../../../src/sql/drivers/odbc/qsql_odbc.cpp:277: error: cannot convert `SQLINTEGER*' to `long int*' for argument `6' to `SQLRETURN SQLGetData(void*, SQLUSMALLINT, SQLSMALLINT, void*, long int, long int*)'
..
make[4]: *** [.obj/qsql_odbc.o] Error 1
make[4]: Leaving directory `/tmp/buildd/qt-x11-free-3.3.3/plugins/src/sqldrivers/odbc'
make[3]: *** [sub-odbc] Error 2
make[3]: Leaving directory `/tmp/buildd/qt-x11-free-3.3.3/plugins/src/sqldrivers'
make[2]: *** [sub-sqldrivers] Error 2
make[2]: Leaving directory `/tmp/buildd/qt-x11-free-3.3.3/plugins/src'
make[1]: *** [sub-plugins] Error 2
make[1]: Leaving directory `/tmp/buildd/qt-x11-free-3.3.3'
make: *** [libqt-stamp] Error 2

Changing line 61 of qsql_odbc.cpp from "#ifndef Q_OS_WIN64" to "#if
!defined(Q_OS_WIN64) && !defined(__amd64__)" fixes the build.
--
Daniel Schepler "Please don't disillusion me. I
<email address hidden> haven't had breakfast yet."
                                 -- Orson Scott Card

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 29 Oct 2004 23:59:01 -0700
From: Daniel Schepler <email address hidden>
To: <email address hidden>
Cc: <email address hidden>
Subject: Looks like it's not just amd64

package qt-x11-free
severity 275887 serious
merge 275887 278781
thanks

I've now reproduced this bug in an i386 chroot as well with g++-3.3,
as in bug #278781, so it appears it's not specific to amd64 or
g++-3.4. Anyway, the same patch as before, except changing "#ifndef
Q_OS_WIN64" to "#if 0", fixes the compilation problems under i386 as
well.
--
Daniel Schepler "Please don't disillusion me. I
<email address hidden> haven't had breakfast yet."
                                 -- Orson Scott Card

Revision history for this message
Debian Bug Importer (debzilla) wrote :

*** Bug 9735 has been marked as a duplicate of this bug. ***

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

This bug has been marked as a duplicate of bug 9735.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

*** Bug 9735 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Martin Gerhard Loschwitz (martin-loschwitz) wrote : Bug#278781: fixed in qt-x11-free 3:3.3.3-5
Download full text (8.6 KiB)

Source: qt-x11-free
Source-Version: 3:3.3.3-5

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

libqt3-compat-headers_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3-compat-headers_3.3.3-5_i386.deb
libqt3-dev_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3-dev_3.3.3-5_i386.deb
libqt3-headers_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3-headers_3.3.3-5_i386.deb
libqt3-i18n_3.3.3-5_all.deb
  to pool/main/q/qt-x11-free/libqt3-i18n_3.3.3-5_all.deb
libqt3-mt-dev_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3-mt-dev_3.3.3-5_i386.deb
libqt3c102-ibase_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-ibase_3.3.3-5_i386.deb
libqt3c102-mt-ibase_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-mt-ibase_3.3.3-5_i386.deb
libqt3c102-mt-mysql_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-mt-mysql_3.3.3-5_i386.deb
libqt3c102-mt-odbc_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-mt-odbc_3.3.3-5_i386.deb
libqt3c102-mt-psql_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-mt-psql_3.3.3-5_i386.deb
libqt3c102-mt-sqlite_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-mt-sqlite_3.3.3-5_i386.deb
libqt3c102-mt_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-mt_3.3.3-5_i386.deb
libqt3c102-mysql_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-mysql_3.3.3-5_i386.deb
libqt3c102-odbc_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-odbc_3.3.3-5_i386.deb
libqt3c102-psql_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-psql_3.3.3-5_i386.deb
libqt3c102-sqlite_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-sqlite_3.3.3-5_i386.deb
libqt3c102_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102_3.3.3-5_i386.deb
qt-x11-free_3.3.3-5.diff.gz
  to pool/main/q/qt-x11-free/qt-x11-free_3.3.3-5.diff.gz
qt-x11-free_3.3.3-5.dsc
  to pool/main/q/qt-x11-free/qt-x11-free_3.3.3-5.dsc
qt3-apps-dev_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-apps-dev_3.3.3-5_i386.deb
qt3-assistant_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-assistant_3.3.3-5_i386.deb
qt3-designer_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-designer_3.3.3-5_i386.deb
qt3-dev-tools-compat_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-dev-tools-compat_3.3.3-5_i386.deb
qt3-dev-tools-embedded_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-dev-tools-embedded_3.3.3-5_i386.deb
qt3-dev-tools_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-dev-tools_3.3.3-5_i386.deb
qt3-doc_3.3.3-5_all.deb
  to pool/main/q/qt-x11-free/qt3-doc_3.3.3-5_all.deb
qt3-examples_3.3.3-5_all.deb
  to pool/main/q/qt-x11-free/qt3-examples_3.3.3-5_all.deb
qt3-linguist_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-linguist_3.3.3-5_i386.deb
qt3-qtconfig_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-qtconfig_3.3.3-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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distributio...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (8.8 KiB)

Message-Id: <email address hidden>
Date: Sun, 31 Oct 2004 08:32:14 -0500
From: Martin Loschwitz <email address hidden>
To: <email address hidden>
Subject: Bug#278781: fixed in qt-x11-free 3:3.3.3-5

Source: qt-x11-free
Source-Version: 3:3.3.3-5

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

libqt3-compat-headers_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3-compat-headers_3.3.3-5_i386.deb
libqt3-dev_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3-dev_3.3.3-5_i386.deb
libqt3-headers_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3-headers_3.3.3-5_i386.deb
libqt3-i18n_3.3.3-5_all.deb
  to pool/main/q/qt-x11-free/libqt3-i18n_3.3.3-5_all.deb
libqt3-mt-dev_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3-mt-dev_3.3.3-5_i386.deb
libqt3c102-ibase_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-ibase_3.3.3-5_i386.deb
libqt3c102-mt-ibase_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-mt-ibase_3.3.3-5_i386.deb
libqt3c102-mt-mysql_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-mt-mysql_3.3.3-5_i386.deb
libqt3c102-mt-odbc_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-mt-odbc_3.3.3-5_i386.deb
libqt3c102-mt-psql_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-mt-psql_3.3.3-5_i386.deb
libqt3c102-mt-sqlite_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-mt-sqlite_3.3.3-5_i386.deb
libqt3c102-mt_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-mt_3.3.3-5_i386.deb
libqt3c102-mysql_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-mysql_3.3.3-5_i386.deb
libqt3c102-odbc_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-odbc_3.3.3-5_i386.deb
libqt3c102-psql_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-psql_3.3.3-5_i386.deb
libqt3c102-sqlite_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102-sqlite_3.3.3-5_i386.deb
libqt3c102_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3c102_3.3.3-5_i386.deb
qt-x11-free_3.3.3-5.diff.gz
  to pool/main/q/qt-x11-free/qt-x11-free_3.3.3-5.diff.gz
qt-x11-free_3.3.3-5.dsc
  to pool/main/q/qt-x11-free/qt-x11-free_3.3.3-5.dsc
qt3-apps-dev_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-apps-dev_3.3.3-5_i386.deb
qt3-assistant_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-assistant_3.3.3-5_i386.deb
qt3-designer_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-designer_3.3.3-5_i386.deb
qt3-dev-tools-compat_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-dev-tools-compat_3.3.3-5_i386.deb
qt3-dev-tools-embedded_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-dev-tools-embedded_3.3.3-5_i386.deb
qt3-dev-tools_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-dev-tools_3.3.3-5_i386.deb
qt3-doc_3.3.3-5_all.deb
  to pool/main/q/qt-x11-free/qt3-doc_3.3.3-5_all.deb
qt3-examples_3.3.3-5_all.deb
  to pool/main/q/qt-x11-free/qt3-examples_3.3.3-5_all.deb
qt3-linguist_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-linguist_3.3.3-5_i386.deb
qt3-qtconfig_3.3.3-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-qtconfig_3.3.3-5_i386.deb

A summary of the changes between this version and the previous one is
attached....

Read more...

Revision history for this message
Tollef Fog Heen (tfheen) wrote :

3.3.3-5ubuntu1 just uploaded which resyncronizes us with Debian where this bug
is fixed.

Revision history for this message
In , Adrian Bunk (bunk) wrote : still present in sarge

reopen 278781
tags 278781 +sarge
thanks

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 12 Nov 2004 16:21:38 +0100
From: Adrian Bunk <email address hidden>
To: <email address hidden>
Subject: still present in sarge

reopen 278781
tags 278781 +sarge
thanks

Revision history for this message
In , Steve Langasek (vorlon) wrote : Re: qt-x11-free: FTFS on amd64 with gcc-3.4: Bad redefinition of SQLLEN

The fixed version of qt-x11-free has reached sarge, therefore I am closing
this bug again.

--
Steve Langasek
postmodern programmer

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 23 Nov 2004 01:10:28 -0800
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: Re: qt-x11-free: FTFS on amd64 with gcc-3.4: Bad redefinition of SQLLEN

--A6N2fC+uXW/VQSAv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

The fixed version of qt-x11-free has reached sarge, therefore I am closing
this bug again.

--=20
Steve Langasek
postmodern programmer

--A6N2fC+uXW/VQSAv
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFBov6CKN6ufymYLloRAtvvAJ4gOd8l6hxvybqikqZHxaqeWVDu9wCfdfJX
n3+Ah9GUbqZtju9mj6OvTFQ=
=Xgbg
-----END PGP SIGNATURE-----

--A6N2fC+uXW/VQSAv--

Changed in qt-x11-free:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.