Bug#1020642: webkit2gtk: FTBFS on mipsel: virtual memory exhausted

Simon McVittie <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <Yy9AzVctncKMHP3l__9793.15882302529$1664041352$gmane$org@momentum.pseudorandom.co.uk>
Source: webkit2gtk
Version: 2.38.0-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: mipsel

webkit2gtk repeatedly failed to compile on the mipsel buildds:

<https://buildd.debian.org/status/fetch.php?pkg=webkit2gtk&arch=mipsel&ver=2.38.0-1&stamp=1663778777&raw=0>:
> FAILED: Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-32.cpp.o 
> /usr/bin/ccache /usr/bin/c++ [long command-line removed]
> virtual memory exhausted: Cannot allocate memory

Can we perhaps disable the use of "unified" sources (fewer, larger
translation units) for architectures where address space is limited?
Or maybe tell the compiler not to attempt memory-hungry optimizations,
or something like that?

I see this unreleased commit is available in git:
https://salsa.debian.org/webkit-team/webkit/-/commit/e92e4c4654e6fd116ef30c5cc767cc25b675ed1f
which might also help.

jbicha says this is stalling several unstable -> testing transitions, so it
would be good for the release process to get this resolved soon.

    smcv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.