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

Adrian Bunk bunk at debian.org
Mon Sep 26 14:00:30 BST 2022


On Sat, Sep 24, 2022 at 09:59:15PM +0000, Alberto Garcia wrote:
> On Sat, Sep 24, 2022 at 06:39:25PM +0100, Simon McVittie wrote:
> 
> > 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 was talking to Adrian Bunk about this a couple of days ago, he
> was trying to build webkit in a mipsel buildd using different
> alternatives.
> 
> Adrian, did you figure something out?

I had the worst possible outcome on the porterbox:
The reference build succeeded unchanged.  :-(

I'll check again if your disabling of unified builds does not work.

> > I see this unreleased commit is available in git:
> > https://salsa.debian.org/webkit-team/webkit/-/commit/e92e4c4654e6fd116ef30c5cc767cc25b675ed1f
> > which might also help.
> 
> According to Adrian it probably won't (I didn't test it yet).

The most powerful buildds that failed are quadcore with 16 GB RAM.

Restricting the number of builds to 2 would double the build time on these,
but it wouldn't change the limit of 2 GB address space per process.

> Berto

cu
Adrian



More information about the Pkg-webkit-maintainers mailing list