Bug#977779: geary FTBFS on mipsel: test suite failure

Adrian Bunk <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc,gmane.linux.debian.ports.mips,gmane.linux.debian.ports.arm
Message-ID <20210129121100.GA3538@localhost>
On Fri, Jan 08, 2021 at 06:07:29PM +0100, Alberto Garcia wrote:
> On Mon, Dec 21, 2020 at 11:30:14PM +0200, Adrian Bunk wrote:
> > > I see that the build eventually succeeded:
> > > 
> > >    https://buildd.debian.org/status/logs.php?pkg=geary&ver=3.38.1-1&arch=mipsel
> > > 
> > > The webkit2gtk build is flaky itself in mipsel, we discussed this
> > > already in the past (#962616), I wonder if this is the same root
> > > problem?
> > 
> > This is the same problem.
> > 
> > Note that the build is not and never was flaky, it does 100%
> > determinisitically fail on Loongson buildds and succeed on Octeon
> > buildds.
> > 
> > Jiaxun Yang discovered this weekend that CeilingOnPageSize is wrong
> > for Loongson which has 16 kB pagesize and this matches when the
> > problems started in 2.28.1, but unfortunately fixing this does not
> > seem to fix all problems.
> 
> But this a bug in the CPU, right? Do I understand correctly that the
> package can fail depending on what CPU it is run on regardless of how
> it was built?
> 
> I'm trying to understand what we can do in WebKit in order to fix or
> work around this.

It is a bug in WebKit that a kernel configuration is assumed that is 
not even permitted on Loongson:
https://sources.debian.org/src/webkit2gtk/2.31.1-1/Source/WTF/wtf/PageBlock.h/#L54
https://sources.debian.org/src/linux/5.10.9-1/arch/mips/Kconfig/#L2213-L2215

This might not be sufficient to fix all problems of webkit2gtk on MIPS, 
but has be fixed in WebKit in any case.

> Berto

cu
Adrian

BTW: The 4kB setting for arm64 is also questionable, Ubuntu releases 
     now additionally ship kernels with 64 kB page size:
     https://launchpad.net/ubuntu/groovy/+package/linux-image-unsigned-5.8.0-41-generic-64k
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.