Debian Bug report logs - #1108748
mozjs140: SharedArrayBuffer feature unavailable on armel

Package: src:mozjs140; Maintainer for src:mozjs140 is Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>;

Affects: src:cjs

Reported by: Simon McVittie <smcv@debian.org>

Date: Thu, 29 Aug 2024 10:45:05 UTC

Severity: wishlist

Tags: ftbfs

Done: Jeremy Bícha <jbicha@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, debian-arm@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#1080000; Package src:mozjs128. (Thu, 29 Aug 2024 10:45:06 GMT) (full text, mbox, link).


Acknowledgement sent to Simon McVittie <smcv@debian.org>:
New Bug report received and forwarded. Copy sent to debian-arm@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Thu, 29 Aug 2024 10:45:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Simon McVittie <smcv@debian.org>
To: submit@bugs.debian.org
Subject: mozjs128: SharedArrayBuffer feature unavailable on armel
Date: Thu, 29 Aug 2024 11:43:09 +0100
Source: mozjs128
Version: 128.1.0-3
Severity: important
Tags: ftbfs
User: debian-arm@lists.debian.org
Usertags: armel
X-Debbugs-CC: debian-arm@lists.debian.org

After fixing #1079077, mozjs128 still fails to build on armel, because
the lack of lockless atomic operations results in the SharedArrayBuffer
feature being disabled, and that makes several tests fail.

This feature seems to be used in the implementation of features that don't
obviously require it, for example:

> ## non262/RegExp/split-trace.js: rc = 3, run time = 0.011209
> 887016: Trace RegExp.prototype[@@split] behavior.
> /home/smcv/mozjs/js/src/tests/non262/RegExp/split-trace.js:99:42 TypeError: SharedArrayBuffer is disabled
> Stack:
>   @/home/smcv/mozjs/js/src/tests/non262/RegExp/split-trace.js:99:42
> TEST-UNEXPECTED-FAIL | non262/RegExp/split-trace.js | (args: "") [0.0 s]

where split-trace.js:99 is:

> var ret = RegExp.prototype[Symbol.split].call(myRegExp, target);

I don't know enough JavaScript to know whether this is likely to be
fixable or ignorable, or whether we will have to remove mozjs128 and
therefore gjs from armel (which would require workarounds similar to
what we did when we removed them from s390x during the buster cycle).

The main reason we need gjs is GNOME Shell, and I suspect nobody is
actually using GNOME Shell on armel: it seems unlikely to work well
with an older CPU emulating floating-point in software using integer
operations. Removing GNOME Shell from armel would be annoying, because
we would either have to ensure that task-gnome-desktop is still installable
(as we did for s390x in buster) or convince the release/d-i teams that it's
OK for it not to be, but is probably more achievable than adding features
to an architecture that mozjs upstream doesn't intend to support.

A secondary reason why we have gjs is that some leaf GNOME applications
(e.g. clapper, foliate, gnome-maps) are written in JavaScript, and those
are somewhat more likely to have real users on armel.

    smcv



Severity set to 'serious' from 'important' Request was from Simon McVittie <smcv@debian.org> to control@bugs.debian.org. (Wed, 04 Sep 2024 15:24:04 GMT) (full text, mbox, link).


Added indication that bug 1080000 blocks 1079538 Request was from Jeremy Bícha <jeremy.bicha@canonical.com> to control@bugs.debian.org. (Wed, 04 Sep 2024 16:48:02 GMT) (full text, mbox, link).


Severity set to 'important' from 'serious' Request was from Simon McVittie <smcv@debian.org> to control@bugs.debian.org. (Sun, 29 Sep 2024 09:49:34 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#1080000; Package src:mozjs128. (Tue, 08 Apr 2025 14:06:01 GMT) (full text, mbox, link).


Acknowledgement sent to Bastian Germann <bage@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Tue, 08 Apr 2025 14:06:01 GMT) (full text, mbox, link).


Message #16 received at 1080000@bugs.debian.org (full text, mbox, reply):

From: Bastian Germann <bage@debian.org>
To: 1080000@bugs.debian.org
Subject: mozjs128: SharedArrayBuffer feature unavailable on armel
Date: Tue, 8 Apr 2025 16:02:55 +0200
Control: affects -1 src:cjs

This is used now on cjs as well. So maybe cinnamon/cjs have to be removed
from armel as it was done for gnome-core/gjs to let cjs migrate to trixie.



Added indication that 1080000 affects src:cjs Request was from Bastian Germann <bage@debian.org> to 1080000-submit@bugs.debian.org. (Tue, 08 Apr 2025 14:06:02 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#1080000; Package src:mozjs128. (Tue, 08 Apr 2025 14:36:01 GMT) (full text, mbox, link).


Acknowledgement sent to Simon McVittie <smcv@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Tue, 08 Apr 2025 14:36:01 GMT) (full text, mbox, link).


Message #23 received at 1080000@bugs.debian.org (full text, mbox, reply):

From: Simon McVittie <smcv@debian.org>
To: Bastian Germann <bage@debian.org>, 1080000@bugs.debian.org
Cc: cjs@packages.debian.org, cinnamon@packages.debian.org, cinnamon-desktop-environment@packages.debian.org
Subject: Re: Bug#1080000: mozjs128: SharedArrayBuffer feature unavailable on armel
Date: Tue, 8 Apr 2025 15:33:11 +0100
On Tue, 08 Apr 2025 at 16:02:55 +0200, Bastian Germann wrote:
>This is used now on cjs as well. So maybe cinnamon/cjs have to be removed
>from armel as it was done for gnome-core/gjs to let cjs migrate to trixie.

Yes, see also 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081039#43 which 
outlines how the Cinnamon team can resolve this.

    smcv



Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#1080000; Package src:mozjs128. (Tue, 08 Apr 2025 14:39:02 GMT) (full text, mbox, link).


Acknowledgement sent to Jeremy Bícha <jeremy.bicha@canonical.com>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Tue, 08 Apr 2025 14:39:02 GMT) (full text, mbox, link).


Message #28 received at 1080000@bugs.debian.org (full text, mbox, reply):

From: Jeremy Bícha <jeremy.bicha@canonical.com>
To: Bastian Germann <bage@debian.org>, 1080000@bugs.debian.org
Cc: cjs@packages.debian.org
Subject: Re: Bug#1080000: mozjs128: SharedArrayBuffer feature unavailable on armel
Date: Tue, 8 Apr 2025 10:34:36 -0400
On Tue, Apr 8, 2025 at 10:06 AM Bastian Germann <bage@debian.org> wrote:
> This is used now on cjs as well. So maybe cinnamon/cjs have to be removed
> from armel as it was done for gnome-core/gjs to let cjs migrate to trixie.

Yes, I left comments on https://bugs.debian.org/1081039 with
suggestions on how to finish the cjs mozjs128 transition.

Thank you,
Jeremy Bícha



Bug 1080000 cloned as bug 1108748 Request was from Jeremy Bícha <jeremy.bicha@canonical.com> to control@bugs.debian.org. (Fri, 04 Jul 2025 16:37:01 GMT) (full text, mbox, link).


Bug reassigned from package 'src:mozjs128' to 'src:mozjs140'. Request was from Jeremy Bícha <jeremy.bicha@canonical.com> to control@bugs.debian.org. (Sat, 05 Jul 2025 01:29:02 GMT) (full text, mbox, link).


No longer marked as found in versions mozjs128/128.1.0-3. Request was from Jeremy Bícha <jeremy.bicha@canonical.com> to control@bugs.debian.org. (Sat, 05 Jul 2025 01:29:02 GMT) (full text, mbox, link).


Changed Bug title to 'retitle -1 mozjs140: SharedArrayBuffer feature' from 'mozjs128: SharedArrayBuffer feature unavailable on armel'. Request was from Jeremy Bícha <jeremy.bicha@canonical.com> to control@bugs.debian.org. (Sat, 05 Jul 2025 01:29:02 GMT) (full text, mbox, link).


Changed Bug title to 'mozjs140: SharedArrayBuffer feature unavailable on armel' from 'retitle -1 mozjs140: SharedArrayBuffer feature'. Request was from Simon McVittie <smcv@debian.org> to control@bugs.debian.org. (Sat, 05 Jul 2025 08:35:01 GMT) (full text, mbox, link).


Severity set to 'wishlist' from 'important' Request was from Simon McVittie <smcv@debian.org> to control@bugs.debian.org. (Sat, 05 Jul 2025 08:39:03 GMT) (full text, mbox, link).


Reply sent to Jeremy Bícha <jbicha@debian.org>:
You have taken responsibility. (Mon, 03 Nov 2025 20:19:02 GMT) (full text, mbox, link).


Notification sent to Simon McVittie <smcv@debian.org>:
Bug acknowledged by developer. (Mon, 03 Nov 2025 20:19:02 GMT) (full text, mbox, link).


Message #45 received at 1108748-done@bugs.debian.org (full text, mbox, reply):

From: Jeremy Bícha <jbicha@debian.org>
To: 1108748-done@bugs.debian.org
Subject: Re: mozjs140: SharedArrayBuffer feature unavailable on armel
Date: Mon, 3 Nov 2025 15:15:33 -0500
armel no longer exists in Unstable or Testing and mozjs140 wasn't in
any previous Debian release, so closing this bug as obsolete.

Thank you,
Jeremy Bícha



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 02 Dec 2025 07:26:04 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 23 19:39:56 2026; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.