Bug#1146728: webkit2gtk: FTBFS on hppa - runs out of memory linking
John David Anglin
dave at parisc-linux.org
Fri Sep 4 22:01:36 BST 2026
Source: webkit2gtk
Version: 2.52.6-1
Severity: normal
X-Debbugs-Cc: debian-hppa at lists.debian.org
User: debian-hppa at lists.debian.org
Usertags: hppa
Dear Maintainer,
The webkit2gtk package fails to build on hppa. Unfortunately, the
log file is too big to upload. So, one can only see that GNU ld runs
out of memory in manual builds.
I had a successful build by changing g1 to g0:
dave at mx3210:~/debian/webkit2gtk/webkit2gtk-2.52.6/debian$ cat rules.diff --- rules.save 2026-08-26 18:09:25.979296233 -0400
+++ rules 2026-08-26 18:10:27.231723893 -0400
@@ -75,9 +75,9 @@
# EXTRA_CMAKE_ARGUMENTS += -DENABLE_SWIFT_DEMO_URI_SCHEME=ON
# The debug packages produced by webkit are huge and cause problems in
-# most buildds. Use -g1 in all architectures to make them smaller.
-CFLAGS := $(CFLAGS:-g=-g1)
-CXXFLAGS := $(CXXFLAGS:-g=-g1)
+# most buildds. Use -g0 in all architectures to make them smaller.
+CFLAGS := $(CFLAGS:-g=-g0)
+CXXFLAGS := $(CXXFLAGS:-g=-g0)
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949621
LDFLAGS += -Wl,--reduce-memory-overheads
Hopefully, this hack can be added for hppa.
Regards,
Dave Anglin
-- System Information:
Debian Release: forky/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)
Kernel: Linux 6.18.46-dirty (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
More information about the Pkg-webkit-maintainers
mailing list