qt-x11-free build error on arm-linux

Bug #7805 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
qt-x11-free (Debian)
Fix Released
Unknown
qt-x11-free (Ubuntu)
Invalid
High
Unassigned

Bug Description

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

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

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

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

Message-ID: <email address hidden>
Date: Mon, 6 Sep 2004 08:01:59 +0200
From: Matthias Klose <email address hidden>
To: <email address hidden>
Subject: qt-x11-free build error on arm-linux

Package: qt-x11-free
Version: 3:3.3.3-4
Severity: serious

[please don't reassign yet, let's evaluate it first; this is the
 package that most people would expect to find a report]

when building on arm-linux, uic enters an infinite loop building
pixmapfunction.h. It's not the first uic invocation in the build.

(gdb) run
Starting program: /home/matthias/qt/qt-x11-free-3.3.3/bin/uic -L plugins tools/designer/designer/pixmapfunction.ui -o pixmapfunction.h
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 31697)]

Program received signal SIGINT, Interrupt.
[Switching to Thread 16384 (LWP 31697)]
0x40506024 in mult () from lib/libqt-mt.so.3

the process uses all CPU time, strace doesn't show any
output. suspecting a toolchain issue, the following combinations of
versions and flags, all reproducing the same results, were tried:

- current gcc-3.3(sid), binutils-2.15-2, current glibc (-16),
  qt with -O2
- current gcc-3.3(sid), binutils-2.15-2, current glibc (-16),
  qt with -O0
- current gcc-3.3(sid), binutils-2.14.90.0.7-8, current glibc (-16),
  qt with -O2
- current gcc-3.3(sid), binutils-2.14.90.0.7-8, glibc (-16),
  qt with -O2
- current gcc-3.3(sid), binutils-2.15-2, current glibc (-16),
  qt with -O0
- current gcc-3.4(sid), binutils-2.15-2, current glibc (-16),
  qt with -O2
- current gcc-3.3(sid), binutils-2.15-2, current glibc (-16) rebuilt
  with current gcc-3.3(sid), binutils-2.15-2
  qt with -O2

Currently trying to build with current sarge tools.

 Matthias

Revision history for this message
James Troup (elmo) wrote :

arm is not a release arch for warty

Revision history for this message
In , Paul Brook (paul-codesourcery) wrote :

I don't think this is a toolchain issue.

arm-linux uses a somewhat strange floating point format. This is IEEE, however
with a funny byte order. Specifically bytes use native ordering (ie. same as
int), but words are always big-endian.
ie. byte order for a "double" is as follows:
armeb: 76543210
armel: 45670123

src/tools/qlocale.cpp needs to be taught about this byte order. The "crash" is
because we get the word order wrong, and end up trying to calculate a very
large exponent by successive multiplications.

Paul

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

Message-Id: <email address hidden>
Date: Sun, 12 Sep 2004 15:57:09 +0100
From: Paul Brook <email address hidden>
To: <email address hidden>
Subject: qt-x11-free build error on arm-linux

I don't think this is a toolchain issue.

arm-linux uses a somewhat strange floating point format. This is IEEE, however
with a funny byte order. Specifically bytes use native ordering (ie. same as
int), but words are always big-endian.
ie. byte order for a "double" is as follows:
armeb: 76543210
armel: 45670123

src/tools/qlocale.cpp needs to be taught about this byte order. The "crash" is
because we get the word order wrong, and end up trying to calculate a very
large exponent by successive multiplications.

Paul

Revision history for this message
In , Jan Niehusmann (jan-debian) wrote : Re: Bug#270202: qt-x11-free build error on arm-linux

On Sun, Sep 12, 2004 at 03:57:09PM +0100, Paul Brook wrote:
> src/tools/qlocale.cpp needs to be taught about this byte order. The "crash" is
> because we get the word order wrong, and end up trying to calculate a very
> large exponent by successive multiplications.

I noticed the following lines in the at 3.3.2 changelog:

| Added macro QT_QLOCALE_USES_FCVT for systems with non-IEEE-compliant
| floating point implementations (notably some versions of ARM
| Linux). These systems are not autodetected; use
| "-DQT_QLOCALE_USES_FCVT" as a parameter to ./configure.

This macro, QT_QLOCALE_USES_FCVT, is not set for the arm builds, afaict.
Could this help building qt on arm, or is this a different issue?

Jan

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

Message-ID: <email address hidden>
Date: Tue, 14 Sep 2004 13:17:19 +0200
From: Jan Niehusmann <email address hidden>
To: Paul Brook <email address hidden>, <email address hidden>
Subject: Re: Bug#270202: qt-x11-free build error on arm-linux

On Sun, Sep 12, 2004 at 03:57:09PM +0100, Paul Brook wrote:
> src/tools/qlocale.cpp needs to be taught about this byte order. The "crash" is
> because we get the word order wrong, and end up trying to calculate a very
> large exponent by successive multiplications.

I noticed the following lines in the at 3.3.2 changelog:

| Added macro QT_QLOCALE_USES_FCVT for systems with non-IEEE-compliant
| floating point implementations (notably some versions of ARM
| Linux). These systems are not autodetected; use
| "-DQT_QLOCALE_USES_FCVT" as a parameter to ./configure.

This macro, QT_QLOCALE_USES_FCVT, is not set for the arm builds, afaict.
Could this help building qt on arm, or is this a different issue?

Jan

Revision history for this message
In , Steve Langasek (vorlon) wrote :

tags 270202 patch
thanks

The attached patch implements the proposed fix for arm; verified to
still build on i386, it does look like it has the desired effect on the
qlocale.cpp source.

If someone can test this on arm, that'd be peachy. If not, given the
apparently straightforward nature of the fix, it may be best to go ahead
with an upload.

BTW, there are some other references to DEB_BUILD_GNU_* in the rules
that should be DEB_HOST_GNU_*...

--
Steve Langasek
postmodern programmer

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

Message-ID: <email address hidden>
Date: Thu, 16 Sep 2004 21:11:11 -0700
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: Re: qt-x11-free build error on arm-linux

--Ms5iOKSBOB9YS8zC
Content-Type: multipart/mixed; boundary="fLj60tP2PZ34xyqD"
Content-Disposition: inline

--fLj60tP2PZ34xyqD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

tags 270202 patch
thanks

The attached patch implements the proposed fix for arm; verified to
still build on i386, it does look like it has the desired effect on the
qlocale.cpp source.

If someone can test this on arm, that'd be peachy. If not, given the
apparently straightforward nature of the fix, it may be best to go ahead
with an upload.

BTW, there are some other references to DEB_BUILD_GNU_* in the rules
that should be DEB_HOST_GNU_*...

--=20
Steve Langasek
postmodern programmer

--fLj60tP2PZ34xyqD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="qt-x11-free-270202.diff"
Content-Transfer-Encoding: quoted-printable

diff -u qt-x11-free-3.3.3/debian/changelog qt-x11-free-3.3.3/debian/changel=
og
--- qt-x11-free-3.3.3/debian/changelog
+++ qt-x11-free-3.3.3/debian/changelog
@@ -1,3 +1,11 @@
+qt-x11-free (3:3.3.3-4.1) unstable; urgency=3Dlow
+
+ * Non-maintainer upload.
+ * Set -DQT_QLOCALE_USES_FCVT on arm, to work around a broken=20
+ floating-point assumption in qlocale.cpp. Closes: #270202.
+
+ -- Steve Langasek <email address hidden> Thu, 16 Sep 2004 16:36:43 -0700
+
 qt-x11-free (3:3.3.3-4) unstable; urgency=3Dhigh
=20
   * ML: Applied patch from Marcus Meissner to fix broken XPM DoS not yet=
=20
diff -u qt-x11-free-3.3.3/debian/rules qt-x11-free-3.3.3/debian/rules
--- qt-x11-free-3.3.3/debian/rules
+++ qt-x11-free-3.3.3/debian/rules
@@ -41,6 +41,10 @@
   -stl -xinerama -xrandr -system-nas-sound -cups -xft -xcursor -sm \
   -no-exceptions -platform linux-g++ -fast
=20
+ifeq ($(DEB_HOST_GNU_TYPE),arm-linux)
+ CONFIGURE_OPTS +=3D -DQT_QLOCALE_USES_FCVT
+endif
+
 ifneq ($(DEB_BUILD_GNU_CPU),i386)
  CONFIGURE_OPTS +=3D -no-sql-ibase
 endif

--fLj60tP2PZ34xyqD--

--Ms5iOKSBOB9YS8zC
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)

iD8DBQFBSmPbKN6ufymYLloRAjuzAKCNbqWfo0+3TvJtczIv9LcnzTXtswCghEdD
mAjmfOezOPvLKgqCfycKMhY=
=oUgs
-----END PGP SIGNATURE-----

--Ms5iOKSBOB9YS8zC--

Revision history for this message
In , Riku Voipio (riku-voipio) wrote : [qt-x11-free] build error on arm-linux [updated patch]

Hi,

Compiling with QT_QLOCALE_USES_FCVT on arm-linux fails due to a missing
include. With this patch it seems to compile. I'm running a clean
compile currently to verify.

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

Message-ID: <email address hidden>
Date: Sat, 18 Sep 2004 14:29:51 +0300
From: Riku Voipio <email address hidden>
To: <email address hidden>
Cc: <email address hidden>
Subject: [qt-x11-free] build error on arm-linux [updated patch]

--aM3YZ0Iwxop3KEKx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

Compiling with QT_QLOCALE_USES_FCVT on arm-linux fails due to a missing
include. With this patch it seems to compile. I'm running a clean
compile currently to verify.

--aM3YZ0Iwxop3KEKx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="qt-x11-free-locale-2.patch"
Content-Transfer-Encoding: quoted-printable

diff -urN qt-x11-free-3.3.3.old/debian/changelog qt-x11-free-3.3.3/debian/c=
hangelog
--- qt-x11-free-3.3.3.old/debian/changelog 2004-09-18 11:01:29.000000000 +0=
000
+++ qt-x11-free-3.3.3/debian/changelog 2004-09-18 11:13:37.000000000 +0000
@@ -1,3 +1,12 @@
+qt-x11-free (3:3.3.3-4.1) unstable; urgency=3Dlow
+
+ * Non-maintainer upload.
+ * Set -DQT_QLOCALE_USES_FCVT on arm, to work around a broken=20
+ floating-point assumption in qlocale.cpp. Closes: #270202.
+ * Riku Voipio: Added patch: 20_qlocale_compile_arm.dpatch
+
+ -- Steve Langasek <email address hidden> Thu, 16 Sep 2004 16:36:43 -0700
+
 qt-x11-free (3:3.3.3-4) unstable; urgency=3Dhigh
=20
   * ML: Applied patch from Marcus Meissner to fix broken XPM DoS not yet=
=20
diff -urN qt-x11-free-3.3.3.old/debian/patches/20_qlocale_compile_arm.dpatc=
h qt-x11-free-3.3.3/debian/patches/20_qlocale_compile_arm.dpatch
--- qt-x11-free-3.3.3.old/debian/patches/20_qlocale_compile_arm.dpatch 1970=
-01-01 00:00:00.000000000 +0000
+++ qt-x11-free-3.3.3/debian/patches/20_qlocale_compile_arm.dpatch 2004-09-=
18 11:13:59.000000000 +0000
@@ -0,0 +1,39 @@
+#! /bin/sh -e
+## 20_qlocale_compile_arm.dpatch by <email address hidden>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+if [ $# -lt 1 ]; then
+ echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
+ exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts=3D"${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
+
+case "$1" in
+ -patch) patch -p1 ${patch_opts} < $0;;
+ -unpatch) patch -R -p1 ${patch_opts} < $0;;
+ *)
+ echo "`basename $0`: script expects -patch|-unpatch as argument" >=
&2
+ exit 1;;
+esac
+
+exit 0
+
+@DPATCH@
+diff -urNad /tmp/qt/qt-x11-free-3.3.3/src/tools/qlocale.cpp qt-x11-free-3.=
3.3/src/tools/qlocale.cpp
+--- /tmp/qt/qt-x11-free-3.3.3/src/tools/qlocale.cpp 2004-08-05 14:41:58.00=
0000000 +0000
++++ qt-x11-free-3.3.3/src/tools/qlocale.cpp 2004-09-18 10:43:22.000000000 =
+0000
+@@ -46,8 +46,10 @@
+=20
+ #ifdef QT_QLOCALE_USES_FCVT
+ # include <qmutex.h>
++# include "qmutexpool_p.h"
+ #endif
+=20
++
+ #if defined (Q_OS_WIN)
+ # include <windows.h>
+ # undef NAN // we want to use our fallback on Windows
diff -urN qt-x11-free-3.3.3.old/debian/rules qt-x11-free-3.3.3/debian/rules
--- qt-x11-free-3.3.3.old/debian/rules 2004-09-18 11:01:29.000000000 +0000
+++ qt-x11-free-3.3.3/debian/rules 2004-09-18 11:...

Read more...

Revision history for this message
In , Matthias Klose (doko) wrote : Fixed in NMU of qt-x11-free 3:3.3.3-4.1
Download full text (5.5 KiB)

tag 270202 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 18 Sep 2004 17:01:16 +0200
Source: qt-x11-free
Binary: libqt3-i18n libqt3c102-mt-mysql libqt3c102-mt-odbc qt3-apps-dev libqt3c102-ibase libqt3c102-odbc qt3-assistant libqt3c102-mt libqt3c102-mt-psql qt3-examples qt3-doc libqt3-headers libqt3c102-mt-sqlite libqt3c102 libqt3c102-sqlite libqt3c102-mysql qt3-dev-tools-embedded libqt3-compat-headers libqt3-dev qt3-dev-tools libqt3c102-psql qt3-designer qt3-linguist libqt3c102-mt-ibase qt3-qtconfig qt3-dev-tools-compat libqt3-mt-dev
Architecture: source i386 all
Version: 3:3.3.3-4.1
Distribution: unstable
Urgency: high
Maintainer: Martin Loschwitz <email address hidden>
Changed-By: Matthias Klose <email address hidden>
Description:
 libqt3-compat-headers - Qt 1.x and 2.x compatibility includes
 libqt3-dev - Qt development files
 libqt3-headers - Qt3 header files
 libqt3-i18n - i18n files for Qt3 library
 libqt3-mt-dev - Qt development files (Threaded)
 libqt3c102 - Qt GUI Library, Version 3
 libqt3c102-ibase - InterBase/FireBird database driver for Qt3
 libqt3c102-mt - Qt GUI Library (Threaded runtime version), Version 3
 libqt3c102-mt-ibase - InterBase/FireBird database driver for Qt3 (Threaded)
 libqt3c102-mt-mysql - MySQL database driver for Qt3 (Threaded)
 libqt3c102-mt-odbc - ODBC database driver for Qt3 (Threaded)
 libqt3c102-mt-psql - PostgreSQL database driver for Qt3 (Threaded)
 libqt3c102-mt-sqlite - SQLite database driver for Qt3 (Threaded)
 libqt3c102-mysql - MySQL database driver for Qt3
 libqt3c102-odbc - ODBC database driver for Qt3
 libqt3c102-psql - PostgreSQL database driver for Qt3
 libqt3c102-sqlite - SQLite database driver for Qt3
 qt3-apps-dev - Qt3 Developer applications development files
 qt3-assistant - The Qt3 assistant application
 qt3-designer - Qt3 Designer
 qt3-dev-tools - Qt3 development tools
 qt3-dev-tools-compat - Conversion utilities for Qt3 development
 qt3-dev-tools-embedded - Tools to develop embedded Qt applications
 qt3-doc - Qt3 API documentation
 qt3-examples - Examples for Qt3
 qt3-linguist - The Qt3 Linguist
 qt3-qtconfig - The Qt3 Configuration Application
Closes: 270202
Changes:
 qt-x11-free (3:3.3.3-4.1) unstable; urgency=high
 .
   * NMU, maintainer doesn't show any reaction.
   * On arm-linux, configure using -DQT_QLOCALE_USES_FCVT. Seems to be a
     known issue, mentioned in the 3.3.2 release notes, but nowhere in
     the 3.3.3 sources. Great! Thanks to Paul Brook and Jan Niehusmann for
     the investigations. Closes: #270202.
   * Riku Voipio: Added patch: 20_qlocale_compile_arm.dpatch.
   * debian/patches/00list: add 20_qlocale_compile_arm.dpatch.
Files:
 d2ddc1a1d9d541f257b2fe582302f596 1801 libs optional qt-x11-free_3.3.3-4.1.dsc
 db2bc74f0cf98a7191f9eac8c1699e2a 52820 libs optional qt-x11-free_3.3.3-4.1.diff.gz
 e7763dfcb35e97eb4988ae4287816019 78384 libs optional libqt3-i18n_3.3.3-4.1_all.deb
 70e8a763bab179cf62dfeeea7accf687 5421720 doc extra qt3-doc_3.3.3-4.1_all.deb
 70c968760cce174ad6fc9ae4c560e0aa 1550844 doc extra qt3-examples_3.3.3-...

Read more...

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

Message-Id: <email address hidden>
Date: Sat, 18 Sep 2004 13:17:51 -0400
From: Matthias Klose <email address hidden>
To: <email address hidden>
Cc: Matthias Klose <email address hidden>, Martin Loschwitz <email address hidden>
Subject: Fixed in NMU of qt-x11-free 3:3.3.3-4.1

tag 270202 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 18 Sep 2004 17:01:16 +0200
Source: qt-x11-free
Binary: libqt3-i18n libqt3c102-mt-mysql libqt3c102-mt-odbc qt3-apps-dev libqt3c102-ibase libqt3c102-odbc qt3-assistant libqt3c102-mt libqt3c102-mt-psql qt3-examples qt3-doc libqt3-headers libqt3c102-mt-sqlite libqt3c102 libqt3c102-sqlite libqt3c102-mysql qt3-dev-tools-embedded libqt3-compat-headers libqt3-dev qt3-dev-tools libqt3c102-psql qt3-designer qt3-linguist libqt3c102-mt-ibase qt3-qtconfig qt3-dev-tools-compat libqt3-mt-dev
Architecture: source i386 all
Version: 3:3.3.3-4.1
Distribution: unstable
Urgency: high
Maintainer: Martin Loschwitz <email address hidden>
Changed-By: Matthias Klose <email address hidden>
Description:
 libqt3-compat-headers - Qt 1.x and 2.x compatibility includes
 libqt3-dev - Qt development files
 libqt3-headers - Qt3 header files
 libqt3-i18n - i18n files for Qt3 library
 libqt3-mt-dev - Qt development files (Threaded)
 libqt3c102 - Qt GUI Library, Version 3
 libqt3c102-ibase - InterBase/FireBird database driver for Qt3
 libqt3c102-mt - Qt GUI Library (Threaded runtime version), Version 3
 libqt3c102-mt-ibase - InterBase/FireBird database driver for Qt3 (Threaded)
 libqt3c102-mt-mysql - MySQL database driver for Qt3 (Threaded)
 libqt3c102-mt-odbc - ODBC database driver for Qt3 (Threaded)
 libqt3c102-mt-psql - PostgreSQL database driver for Qt3 (Threaded)
 libqt3c102-mt-sqlite - SQLite database driver for Qt3 (Threaded)
 libqt3c102-mysql - MySQL database driver for Qt3
 libqt3c102-odbc - ODBC database driver for Qt3
 libqt3c102-psql - PostgreSQL database driver for Qt3
 libqt3c102-sqlite - SQLite database driver for Qt3
 qt3-apps-dev - Qt3 Developer applications development files
 qt3-assistant - The Qt3 assistant application
 qt3-designer - Qt3 Designer
 qt3-dev-tools - Qt3 development tools
 qt3-dev-tools-compat - Conversion utilities for Qt3 development
 qt3-dev-tools-embedded - Tools to develop embedded Qt applications
 qt3-doc - Qt3 API documentation
 qt3-examples - Examples for Qt3
 qt3-linguist - The Qt3 Linguist
 qt3-qtconfig - The Qt3 Configuration Application
Closes: 270202
Changes:
 qt-x11-free (3:3.3.3-4.1) unstable; urgency=high
 .
   * NMU, maintainer doesn't show any reaction.
   * On arm-linux, configure using -DQT_QLOCALE_USES_FCVT. Seems to be a
     known issue, mentioned in the 3.3.2 release notes, but nowhere in
     the 3.3.3 sources. Great! Thanks to Paul Brook and Jan Niehusmann for
     the investigations. Closes: #270202.
   * Riku Voipio: Added patch: 20_qlocale_compile_arm.dpatch.
   * debian/patches/00list: add 20_qlocale_compile_arm.dpatch.
Files:
 d2ddc1a1d9d541f257b2fe582302f596 1801 libs optional qt-x11-free_3.3.3-4.1.dsc
 db2bc74f0cf98a7191f9eac8c1699e2a 5...

Read more...

Revision history for this message
In , Stuart Winter (m-lists) wrote : Re: Bug#270202: qt-x11-free build error on arm-linux

[..]
> Starting program: /home/matthias/qt/qt-x11-free-3.3.3/bin/uic -L plugins
tools/designer/designer/pixmapfunction.ui -o$
> [Thread debugging using libthread_db enabled]
> [New Thread 16384 (LWP 31697)]
>
> Program received signal SIGINT, Interrupt.
> [Switching to Thread 16384 (LWP 31697)]
> 0x40506024 in mult () from lib/libqt-mt.so.3
>
> the process uses all CPU time, strace doesn't show any
> output. suspecting a toolchain issue, the following combinations of
[..]

I'm not using Debian ARM, so I'm not too sure if this reply will be of
much help; however, I had the exact same problem building qt-3.3.3 for my
Slackware ARM port.

To fix it I patched in:
debian/patches/20_qlocale_compile_arm.dpatch
from qt-x11-free_3.3.3-4.1.diff.gz

and added -DQT_QLOCALE_USES_FCVT as an argument to ./configure
because this is what debian/rules does in this particular diff version
(and it's also mentioned in the diff's changelog).

I built qt with:
gcc-3.3.4
binutils-2.15.90.0.3
glibc-2.3.2 (with Debian's diff - sorry, can't remember which one
specifically but it was *probably* diff-16)

If it's any help then I can let you know exactly what toolchain versions
I'm currently using (including any Debian diffs I use (I only apply
full Debian diffs to glibc and gcc)) and I will rebuild qt-3.3.3 and let
you know the results.

If it's of any use or interest then the build log for a completed build of
qt can be found here:
ftp://ftp.armedslack.org/armedslack-current/source/kde/qt/build.log
The main build script is here:
ftp://ftp.armedslack.org/armedslack-current/source/kde/qt/qt.SlackBuild

--
Stuart Winter
www.interlude.org.uk & www.armedslack.org

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

Message-ID: <email address hidden>
Date: Thu, 7 Oct 2004 11:02:48 +0100 (BST)
From: Stuart Winter <email address hidden>
To: Matthias Klose <email address hidden>, <email address hidden>
cc: <email address hidden>
Subject: Re: Bug#270202: qt-x11-free build error on arm-linux

[..]
> Starting program: /home/matthias/qt/qt-x11-free-3.3.3/bin/uic -L plugins
tools/designer/designer/pixmapfunction.ui -o$
> [Thread debugging using libthread_db enabled]
> [New Thread 16384 (LWP 31697)]
>
> Program received signal SIGINT, Interrupt.
> [Switching to Thread 16384 (LWP 31697)]
> 0x40506024 in mult () from lib/libqt-mt.so.3
>
> the process uses all CPU time, strace doesn't show any
> output. suspecting a toolchain issue, the following combinations of
[..]

I'm not using Debian ARM, so I'm not too sure if this reply will be of
much help; however, I had the exact same problem building qt-3.3.3 for my
Slackware ARM port.

To fix it I patched in:
debian/patches/20_qlocale_compile_arm.dpatch
from qt-x11-free_3.3.3-4.1.diff.gz

and added -DQT_QLOCALE_USES_FCVT as an argument to ./configure
because this is what debian/rules does in this particular diff version
(and it's also mentioned in the diff's changelog).

I built qt with:
gcc-3.3.4
binutils-2.15.90.0.3
glibc-2.3.2 (with Debian's diff - sorry, can't remember which one
specifically but it was *probably* diff-16)

If it's any help then I can let you know exactly what toolchain versions
I'm currently using (including any Debian diffs I use (I only apply
full Debian diffs to glibc and gcc)) and I will rebuild qt-3.3.3 and let
you know the results.

If it's of any use or interest then the build log for a completed build of
qt can be found here:
ftp://ftp.armedslack.org/armedslack-current/source/kde/qt/build.log
The main build script is here:
ftp://ftp.armedslack.org/armedslack-current/source/kde/qt/qt.SlackBuild

--
Stuart Winter
www.interlude.org.uk & www.armedslack.org

Revision history for this message
In , Martin Gerhard Loschwitz (martin-loschwitz) wrote : Bug#270202: 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#270202: 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...

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.

Other bug subscribers

Remote bug watches

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