#1146728 webkit2gtk: FTBFS on hppa - runs out of memory linking

#1146728#5
Date:
2026-09-04 21:01:36 UTC
From:
To:
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@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