Bug#343176: qt4-x11: FTBFS on arm (cannot bind packed field)
On Tue, 2005-12-13 at 22:21 +0200, Riku Voipio wrote: > On Tuesday 13 December 2005 15:19, Jeremy Laine wrote: > > I noticed there is a patch in the Debian of qt-x11-free ... > ... > In other news, doxygen [1] Is failing to a similar issue. Jeremy, can you > issue a patch for that too? Looks like doxygen is embedding parts of QT > into itself.. > > http://buildd.debian.org/fetch.php?&pkg=doxygen&ver=1.4.5-1&arch=arm&stamp=1131374720&file=log&as=raw This is #338099, which I'd already attached a patch to. If the qt-x11-free patch is superior, it should probably noted in 338099's log, too. Thanks - Jeremy (a different one) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#343176: qt4-x11: FTBFS on arm (cannot bind packed field)
On Tuesday 13 December 2005 15:19, Jeremy Laine wrote: > I noticed there is a patch in the Debian of qt-x11-free > (10_arm_gcc4.dpatch) that seems to address the same issue. The attached > patch should hopefully do the trick (I haven't been able to check for > myself as I couldn't find a Debian/arm machine with chroots that is up). I'm compiling it currently with your patch, and qt4-x11 has passed the point it got stuck on the buildd. It's still building, but I think it will work. Thanks! In other news, doxygen [1] Is failing to a similar issue. Jeremy, can you issue a patch for that too? Looks like doxygen is embedding parts of QT into itself.. http://buildd.debian.org/fetch.php?&pkg=doxygen&ver=1.4.5-1&arch=arm&stamp=1131374720&file=log&as=raw -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#343176: qt4-x11: FTBFS on arm (cannot bind packed field)
Package: qt4-x11 Severity: important Tags: patch Currently, qt4-x11 fails to build from source on arm, with this error: In member function 'ushort& QChar::unicode()': /build/buildd/qt4-x11-4.0.0/include/QtCore/../../src/corelib/tools/qchar.h:225: error: cannot bind packed field '((QChar*)this)->QChar::ucs' to 'ushort&' The full log is here: http://buildd.debian.org/fetch.php?&pkg=qt4-x11&ver=4.0.1-5&arch=arm&stamp=1132352199&file=log&as=raw I noticed there is a patch in the Debian version of qt-x11-free (10_arm_gcc4.dpatch) that seems to address the same issue. The attached patch should hopefully do the trick (I haven't been able to check for myself as I couldn't find a Debian/arm machine with chroots that is up). Cheers, Jeremy -- http://www.jerryweb.org/ : JerryWeb.org http://sailcut.sourceforge.net/ : Sailcut CAD http://opensource.polytechnique.org/ : Polytechnique.org Free Software diff -urN qt4-x11-4.0.1/src/corelib/tools/qchar.h qt4-x11-4.0.1.patched/src/corelib/tools/qchar.h --- qt4-x11-4.0.1/src/corelib/tools/qchar.h 2005-08-16 10:41:08.0 +0200 +++ qt4-x11-4.0.1.patched/src/corelib/tools/qchar.h 2005-12-13 13:09:37.0 +0100 @@ -219,7 +219,7 @@ inline const char toLatin1() const; inline const ushort unicode() const { return ucs; } #ifdef Q_NO_PACKED_REFERENCE -inline ushort &unicode() { return *(&ucs); } +inline ushort &unicode() { return *((ushort*)&ucs); } #else inline ushort &unicode() { return ucs; } #endif