Bug#878284: mozjs52: FTBFS on mips: thousands of TEST-UNEXPECTED-FAIL

2017-10-16 Thread Simon McVittie
On Mon, 16 Oct 2017 at 07:57:45 +0100, Simon McVittie wrote:
> My changes in pkg-gnome git are not believed to be sufficient: in
> addition to turning off the JIT, Adrian says we need to fix atomic
> operations to not use jit/none/AtomicOperations-none.h. (It isn't
> at all clear to me why disabling the JIT has any effect on the atomic
> operations used, but that's how it's written...)

This looks like a promising approach:
https://anonscm.debian.org/cgit/users/smcv/mozjs52.git/log/?h=wip/mips
and will also get us a clean #error on unsupported architectures,
instead of a (non-functional?) binary with atomic operations that
MOZ_CRASH(), which seems like a good thing.

smcv



Bug#878284: mozjs52: FTBFS on mips: thousands of TEST-UNEXPECTED-FAIL

2017-10-16 Thread Simon McVittie
Control: severity 878284 serious

On Thu, 12 Oct 2017 at 23:22:27 +0100, Simon McVittie wrote:
> The test failures clearly indicate at least one bug, but it isn't clear
> what the severity of that bug is: it could be anything from minor (if
> trivial functionality is broken) to RC (if mozjs52 is basically unusable
> on this architecture).

Summarizing for those not following #debian-gnome:

It appears that the mips test failures are actually quite bad (as
indicated by there being thousands of them rather than just a few),
and might be causing #878519. Adrian Bunk has been looking into a
solution.

My changes in pkg-gnome git are not believed to be sufficient: in
addition to turning off the JIT, Adrian says we need to fix atomic
operations to not use jit/none/AtomicOperations-none.h. (It isn't
at all clear to me why disabling the JIT has any effect on the atomic
operations used, but that's how it's written...)

smcv



Bug#878284: mozjs52: FTBFS on mips: thousands of TEST-UNEXPECTED-FAIL

2017-10-13 Thread Jeremy Bicha
See also https://bugs.debian.org/878431
(gnome-documents 3.26 FTBFS on mips, configure check error)

Thanks,
Jeremy Bicha



Bug#878284: mozjs52: FTBFS on mips: thousands of TEST-UNEXPECTED-FAIL

2017-10-12 Thread Simon McVittie
On Thu, 12 Oct 2017 at 08:08:42 +0100, Simon McVittie wrote:
> On Thu, 12 Oct 2017 at 01:31:08 +0100, Simon McVittie wrote:
> > I've left mozjs52
> > compiling on mips (minkus) overnight to see whether both big-endian
> > 32-bit architectures behave the same.
> 
> Unfortunately mips has new and exciting failures, and lots of them:
> 
> % grep -c UNEXPECTED-FAIL ../mozjs52.log
> 4913
> 
> so is in a considerably worse state than s390x or the powerpc family.

I've committed changes to pkg-gnome git to make these failures
non-fatal, and will downgrade the severity of this bug to non-RC when
those changes have been released.

The test failures clearly indicate at least one bug, but it isn't clear
what the severity of that bug is: it could be anything from minor (if
trivial functionality is broken) to RC (if mozjs52 is basically unusable
on this architecture).

Any testing and patches that mips users can provide would be
appreciated. If the bug(s) isn't/aren't fixed, mozjs52 will either remain
available with known test failures if it does basically work, or have its
old binaries removed from mips (with the test failures becoming a FTBFS)
if feedback indicates that the test failures are evidence of RC bugs.

mozjs52 is used by current versions of gjs, so architecture-specific
removal of mozjs52 would also require architecture-specific removal of
gnome-shell, gnome-maps, polari etc., which would in turn make the GNOME
task and metapackages uninstallable on this architecture.

Thanks,
smcv