Bug#1033042: webkit2gtk: Please disable ccache on m68k

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Thu Mar 16 09:21:21 GMT 2023


Source: webkit2gtk
Version: 2.38.5-1
Severity: normal
Tags: patch
User: debian-68k at lists.debian.org
Usertags: m68k
X-Debbugs-Cc: debian-68k at lists.debian.org

Hi!

On m68k, the build currently fails with ccache enabled due to a bug in qemu-user:

FAILED: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/heap/StructureAlignedMemoryAllocator.cpp.o 
/usr/bin/ccache /usr/bin/c++ -DBUILDING_GTK__=1 -DBUILDING_JavaScriptCore -DBUILDING_WITH_CMAKE=1 \
(...)
-o Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/heap/StructureAlignedMemoryAllocator.cpp.o \
-c /<<PKGBUILDDIR>>/Source/JavaScriptCore/heap/StructureAlignedMemoryAllocator.cpp
ccache: pthread_mutex_lock.c:94: ___pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted

This issue can be worked around by disabling ccache which will prolong the build times, of course, but
at least the package gets built.

Thus, could you disable ccache on m68k with the following change to debian/control{,.in}:

--- old/webkit2gtk-2.38.5/debian/control.in     2023-02-15 18:10:55.000000000 +0100
+++ new/webkit2gtk-2.38.5/debian/control.in     2023-03-11 10:42:47.033477170 +0100
@@ -7,7 +7,7 @@
            Alberto Garcia <berto at igalia.com>
 X-Ubuntu-Use-Langpack: no
 Build-Depends: debhelper-compat (= 12),
-               ccache [!i386],
+               ccache [!i386 !m68k],
                bubblewrap (>= 0.3.1) [!alpha !ia64 !m68k !riscv64 !sh4 !sparc64 !hurd-any !kfreebsd-any],
                xdg-dbus-proxy [!alpha !ia64 !m68k !riscv64 !sh4 !sparc64 !hurd-any !kfreebsd-any],
                libseccomp-dev [!alpha !ia64 !m68k !riscv64 !sh4 !sparc64 !hurd-any !kfreebsd-any],

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
-------------- next part --------------
--- old/webkit2gtk-2.38.5/debian/control.in	2023-02-15 18:10:55.000000000 +0100
+++ new/webkit2gtk-2.38.5/debian/control.in	2023-03-11 10:42:47.033477170 +0100
@@ -7,7 +7,7 @@
            Alberto Garcia <berto at igalia.com>
 X-Ubuntu-Use-Langpack: no
 Build-Depends: debhelper-compat (= 12),
-               ccache [!i386],
+               ccache [!i386 !m68k],
                bubblewrap (>= 0.3.1) [!alpha !ia64 !m68k !riscv64 !sh4 !sparc64 !hurd-any !kfreebsd-any],
                xdg-dbus-proxy [!alpha !ia64 !m68k !riscv64 !sh4 !sparc64 !hurd-any !kfreebsd-any],
                libseccomp-dev [!alpha !ia64 !m68k !riscv64 !sh4 !sparc64 !hurd-any !kfreebsd-any],


More information about the Pkg-webkit-maintainers mailing list