Your message dated Wed, 02 Dec 2015 22:52:16 +0000
with message-id <e1a4gg0-0004ij...@franck.debian.org>
and subject line Bug#806837: fixed in qtwebkit 2.3.4.dfsg-6
has caused the Debian Bug report #806837,
regarding qtwebkit: FTBFS on sparc64
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
806837: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806837
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: qtwebkit
Severity: normal
Tags: patch
User: debian-sp...@lists.debian.org
Usertags: sparc64

Dear Maintainer,

qtwebkit currently fails to build for sparc64. I was able to
fix the build by adding sparc64 to the list of non-JIT archs
in debian/rules, fixing a declaration of UChar32, and removing
a condition disabling atomics on sparc64. Newer versions of gcc
implement builtin atomic operations for all integer types.

Below is the change to debian/rules and I've attached the patch
that changes the two headers. The changes are simple and shouldn't
affect other archs.

Similar changes have already been made upstream in newer versions
of webkit but they seem to implement an incompatible qt api.

--- a/debian/rules    2015-09-15 08:05:20.000000000 -0500
+++ b/debian/rules        2015-12-01 10:18:33.501211135 -0600
@@ -50,7 +50,7 @@
        #disable JIT assembler on archs where it doesn't compile
        #disable WTF_USE_3D_GRAPHICS on ARM where it doesn't compile
        #disable forcing SSE2 on all other platforms
-ifneq (,$(filter arm64 armel hppa mips mipsel mips64 mips64el powerpc ppc64el 
s390x x32,$(DEB_HOST_ARCH)))
+ifneq (,$(filter arm64 armel hppa mips mipsel mips64 mips64el powerpc ppc64el 
s390x sparc64 x32,$(DEB_HOST_ARCH)))
        ./Tools/Scripts/build-webkit --qt DEFINES+=ENABLE_JIT=0 
DEFINES+=ENABLE_YARR_JIT=0 DEFINES+=ENABLE_ASSEMBLER=0 $(QMAKE_ARGS) 
$(MAKE_ARGS)
 else ifeq ($(DEB_HOST_ARCH),armhf)
        ./Tools/Scripts/build-webkit --qt DEFINES+=WTF_USE_3D_GRAPHICS=0 
DEFINES+=ENABLE_JIT=0 DEFINES+=ENABLE_YARR_JIT=0 DEFINES+=ENABLE_ASSEMBLER=0 
$(QMAKE_ARGS) $(MAKE_ARGS)



-- System Information:
Debian Release: stretch/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: sparc64

Kernel: Linux 4.3.0-gentoo (SMP w/1 CPU core)
Locale: LANG=en_SG.UTF-8, LC_CTYPE=en_SG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
--- a/Source/WTF/wtf/unicode/qt4/UnicodeQt4.h
+++ b/Source/WTF/wtf/unicode/qt4/UnicodeQt4.h
@@ -69,8 +69,12 @@
 #endif
 
 #if !USE(ICU_UNICODE)
+#ifdef __sparc_v9__
+typedef int32_t UChar32;
+#else
 typedef uint32_t UChar32;
 #endif
+#endif
 
 namespace WTF {
 namespace Unicode {
--- a/Source/WTF/wtf/Atomics.h
+++ b/Source/WTF/wtf/Atomics.h
@@ -98,7 +98,7 @@
 inline int atomicIncrement(int volatile* addend) { return __atomic_inc(addend) + 1; }
 inline int atomicDecrement(int volatile* addend) { return __atomic_dec(addend) - 1; }
 
-#elif COMPILER(GCC) && !CPU(SPARC64) // sizeof(_Atomic_word) != sizeof(int) on sparc64 gcc
+#elif COMPILER(GCC)
 #define WTF_USE_LOCKFREE_THREADSAFEREFCOUNTED 1
 
 inline int atomicIncrement(int volatile* addend) { return __sync_add_and_fetch(addend, 1); }

--- End Message ---
--- Begin Message ---
Source: qtwebkit
Source-Version: 2.3.4.dfsg-6

We believe that the bug you reported is fixed in the latest version of
qtwebkit, which is due to be installed in the Debian FTP archive.

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 806...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Lisandro Damián Nicanor Pérez Meyer <lisan...@debian.org> (supplier of updated 
qtwebkit 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 02 Dec 2015 19:38:09 -0300
Source: qtwebkit
Binary: libqtwebkit-dev libqtwebkit4 libqtwebkit-qmlwebkitplugin 
libqtwebkit4-dbg
Architecture: source
Version: 2.3.4.dfsg-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Lisandro Damián Nicanor Pérez Meyer <lisan...@debian.org>
Description:
 libqtwebkit-dev - Web content engine library for Qt - development files
 libqtwebkit-qmlwebkitplugin - Qt WebKit QML plugin
 libqtwebkit4 - Web content engine library for Qt
 libqtwebkit4-dbg - Web content engine library for Qt - debugging symbols
Closes: 806837
Changes:
 qtwebkit (2.3.4.dfsg-6) unstable; urgency=medium
 .
   * Add alpha, m68k, ppc64, sh4 and sparc64 to the list of architectures where
     the JIT should be disabled (Closes: #806837).
   * Add redeclare_uint32_t_for_sparc64.patch which redeclares uint32_t for
     sparc64, also part of the above bug.
   * Update symbols files with buildds' logs.
Checksums-Sha1:
 a9dd35f3fa38a59e19c89d0f9f024e5fda32d05b 2551 qtwebkit_2.3.4.dfsg-6.dsc
 e99f233f398813cb596884ca8c98994d329d4334 84504 
qtwebkit_2.3.4.dfsg-6.debian.tar.xz
Checksums-Sha256:
 56b3a6b90f83bae72716467786557fe254e26d36c20d1d1b506cae1911d96964 2551 
qtwebkit_2.3.4.dfsg-6.dsc
 5e8d92523357c5fdea2571688046fdbbe6a96b4b97521df83e05216dd718398a 84504 
qtwebkit_2.3.4.dfsg-6.debian.tar.xz
Files:
 b3078ecc7496d27694e52c4e7064c6f4 2551 libs optional qtwebkit_2.3.4.dfsg-6.dsc
 9d45b37128d8c6c29ca40678ba974bfb 84504 libs optional 
qtwebkit_2.3.4.dfsg-6.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWX3MJAAoJEKtkX0BihqfQ20AQALaPcSkrX96nbVvuQxd7pkpB
XHWHWXzaZr2AJb8uWaR7Toz+SDGkLIgbeOwn0xmrQj1v+IaW+6UYbSPEl5dCIFgh
WqxRS9HDcOvx5enkA4zavdNuksf1p8PSomyfonO3E/LxBWipybkCIC/xUXmin3TW
Q7FFgxTqms7SM4MuC5MXTJyPuHFhuxNVDXawqF9i+3kC+tm7PNKWzQiroZ2r5AEx
u8R1pD6DMpAOFnIdTCDsGRXSbXf2TugmOtxWwPBEMcUJWiHgExeWqsUyFaYtkFiI
aqm7FsrPZiPkGtU3X3Vv5PUfL0WPtQn8iMmEPwg4TOaPPM6RDZyqQCQ3NKrLqWZH
Fhl6WUcSchiXg9DOMOabAA3Z+sWFTh4C2b5CdlK31jXNuGnv7L5gL912ovR7ROF2
KhgT5oVxwYCUBRoFO0TIJ0mHWgcnwLXMkyZ9qwBkkfMDdey7NVqa0XCbtR4t1F0T
hsMLiyPSXm6rMXZFqSgjyUseVmYgA3jfUYNG52YiIVEivX9sea32cp+dsQK09Jt6
r5c+h+r6GiyAHt5pNE4ZKGsRw4osgWu2J1ynoPMNFgzVoffkKYhBlv3ycIAP4uxv
NAN0EDIANT2WqD8xuxyHXYOP2KvJ6u7TRzOw7fUGttCFmhXeHdJZgl7T7T1vAhsE
ia/kmhV4rkzr8iTQVABH
=X2WX
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to