Debian Bug report logs - #1108794
mozjs140: autopkgtest fails to compile a sample against jsapi.h: ProfilingCategoryList.h not installed, #error "Unsupported OS?"

version graph

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

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

Date: Sat, 5 Jul 2025 08:45:18 UTC

Severity: serious

Found in version mozjs140/140.0-2

Fixed in version mozjs140/140.1.0-1

Done: Jeremy Bícha <jbicha@ubuntu.com>

Bug is archived. No further changes may be made.

Forwarded to https://bugzilla.mozilla.org/show_bug.cgi?id=1973994

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


Report forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#1108794; Package src:mozjs140. (Sat, 05 Jul 2025 08:45:25 GMT) (full text, mbox, link).


Acknowledgement sent to Simon McVittie <smcv@debian.org>:
New Bug report received and forwarded. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Sat, 05 Jul 2025 08:45:25 GMT) (full text, mbox, link).


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

From: Simon McVittie <smcv@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: mozjs140: autopkgtest fails to compile a sample against jsapi.h: ProfilingCategoryList.h not installed, #error "Unsupported OS?"
Date: Sat, 5 Jul 2025 09:44:21 +0100
Source: mozjs140
Version: 140.0-2
Severity: serious
Justification: rc_policy.txt §6a
User: debian-ci@lists.debian.org
Usertags: fails-always

The new mozjs140 source package builds successfully (on release 
architectures other than armel), but is failing its superficial 
autopkgtest, which links a trivial test program against it.

This log snippet is from aarch64, but the same thing happens on other 
architectures:

 59s + pkgconf --cflags --libs mozjs-140
 59s + g++ test.cpp -o test -isystem /usr/include/aarch64-linux-gnu/mozjs-140 -L/usr/lib/aarch64-linux-gnu/ -lmozjs-140
 59s In file included from /usr/include/aarch64-linux-gnu/mozjs-140/mozilla/BaseProfileJSONWriter.h:17,
 59s                  from /usr/include/aarch64-linux-gnu/mozjs-140/mozilla/BaseProfilerMarkersPrerequisites.h:27,
 59s                  from /usr/include/aarch64-linux-gnu/mozjs-140/js/ProfilingStack.h:11,
 59s                  from /usr/include/aarch64-linux-gnu/mozjs-140/js/RootingAPI.h:29,
 59s                  from /usr/include/aarch64-linux-gnu/mozjs-140/js/CallAndConstruct.h:15,
 59s                  from /usr/include/aarch64-linux-gnu/mozjs-140/jsapi.h:30,
 59s                  from test.cpp:7:
 59s /usr/include/aarch64-linux-gnu/mozjs-140/mozilla/UniquePtrExtensions.h:104:6: error: #error "Unsupported OS?"
 59s   104 | #    error "Unsupported OS?"
 59s       |      ^~~~~
 59s In file included from /usr/include/aarch64-linux-gnu/mozjs-140/mozilla/BaseProfilerMarkersPrerequisites.h:28:
 59s /usr/include/aarch64-linux-gnu/mozjs-140/BaseProfilingCategory.h:15:10: fatal error: ProfilingCategoryList.h: No such file or directory
 59s    15 | #include "ProfilingCategoryList.h"
 59s       |          ^~~~~~~~~~~~~~~~~~~~~~~~~

Perhaps the test program needs updating for some sort of API change, or 
perhaps this will break gjs too.

    smcv



Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#1108794; Package src:mozjs140. (Thu, 24 Jul 2025 17:13:01 GMT) (full text, mbox, link).


Acknowledgement sent to Jeremy Bicha <jbicha@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Thu, 24 Jul 2025 17:13:01 GMT) (full text, mbox, link).


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

From: Jeremy Bicha <jbicha@ubuntu.com>
To: 1108794@bugs.debian.org
Cc: Simon McVittie <smcv@debian.org>
Subject: Re: mozjs140: autopkgtest fails to compile a sample against jsapi.h: ProfilingCategoryList.h not installed, #error "Unsupported OS?"
Date: Thu, 24 Jul 2025 18:49:08 +0200
Control: forwarded -1 https://bugzilla.mozilla.org/show_bug.cgi?id=1973994



Set Bug forwarded-to-address to 'https://bugzilla.mozilla.org/show_bug.cgi?id=1973994'. Request was from Jeremy Bicha <jbicha@ubuntu.com> to 1108794-submit@bugs.debian.org. (Thu, 24 Jul 2025 17:13:01 GMT) (full text, mbox, link).


Message sent on to Simon McVittie <smcv@debian.org>:
Bug#1108794. (Sat, 26 Jul 2025 13:31:01 GMT) (full text, mbox, link).


Message #15 received at 1108794-submitter@bugs.debian.org (full text, mbox, reply):

From: Jeremy Bícha <noreply@salsa.debian.org>
To: 1108794-submitter@bugs.debian.org
Subject: Bug#1108794 marked as pending in mozjs140
Date: Sat, 26 Jul 2025 13:29:47 +0000
Control: tag -1 pending

Hello,

Bug #1108794 in mozjs140 reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/gnome-team/mozjs/-/commit/8726c0614d2e1121bb00e45d0ecaf6875f327b19

------------------------------------------------------------------------
Add patch from Chimera Linux to fix Unsupported OS error

Closes: #1108794
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1108794



Added tag(s) pending. Request was from Jeremy Bícha <noreply@salsa.debian.org> to 1108794-submitter@bugs.debian.org. (Sat, 26 Jul 2025 13:31:01 GMT) (full text, mbox, link).


Reply sent to Jeremy Bícha <jbicha@ubuntu.com>:
You have taken responsibility. (Sat, 26 Jul 2025 14:03:02 GMT) (full text, mbox, link).


Notification sent to Simon McVittie <smcv@debian.org>:
Bug acknowledged by developer. (Sat, 26 Jul 2025 14:03:03 GMT) (full text, mbox, link).


Message #22 received at 1108794-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1108794-close@bugs.debian.org
Subject: Bug#1108794: fixed in mozjs140 140.1.0-1
Date: Sat, 26 Jul 2025 14:02:02 +0000
[Message part 1 (text/plain, inline)]
Source: mozjs140
Source-Version: 140.1.0-1
Done: Jeremy Bícha <jbicha@ubuntu.com>

We believe that the bug you reported is fixed in the latest version of
mozjs140, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1108794@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jeremy Bícha <jbicha@ubuntu.com> (supplier of updated mozjs140 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 26 Jul 2025 15:28:01 +0200
Source: mozjs140
Built-For-Profiles: noudeb
Architecture: source
Version: 140.1.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Changed-By: Jeremy Bícha <jbicha@ubuntu.com>
Closes: 1108794
Changes:
 mozjs140 (140.1.0-1) unstable; urgency=medium
 .
   * New upstream release
   * Add patch from Chimera Linux to fix Unsupported OS error (Closes: #1108794)
Checksums-Sha1:
 b7e31fe4cbbacb0c34ded9767fabbc1186941aa2 2409 mozjs140_140.1.0-1.dsc
 685d3b172196d732bc1b814b7ed3262631c0e3cc 199652428 mozjs140_140.1.0.orig.tar.xz
 3297c53df068b16a8cd82cf4b5657f612008296f 54340 mozjs140_140.1.0-1.debian.tar.xz
 b4014b3868a476f111367ae2b0964314004ec928 8955 mozjs140_140.1.0-1_source.buildinfo
Checksums-Sha256:
 40a5dfffb4df22acc3ad4bea1fad71d6741faa39edd74949c126ce272b65ec6a 2409 mozjs140_140.1.0-1.dsc
 1fb83621227d763a785d9908b00cd798289892ffd694a80c0905140fc3d3e998 199652428 mozjs140_140.1.0.orig.tar.xz
 00c400523beb99a6355edf116066eb75bb58052cd7442835a0cb9f51761612f6 54340 mozjs140_140.1.0-1.debian.tar.xz
 659aa3343ff60cc53efea0de39cad7f9093455b0ae001383380c9f6d27009a8a 8955 mozjs140_140.1.0-1_source.buildinfo
Files:
 6c853634261f352cce9930a9bbe8711f 2409 libs optional mozjs140_140.1.0-1.dsc
 819b6ae6b256595000709f6135142679 199652428 libs optional mozjs140_140.1.0.orig.tar.xz
 fd90bb5409ea1cbb3e6ca6aca057fac0 54340 libs optional mozjs140_140.1.0-1.debian.tar.xz
 5c732a1e3cbd89bb539356865f9d79d3 8955 libs optional mozjs140_140.1.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAmiE2AwACgkQ5mx3Wuv+
bH0+VA/+LMNITi8R4XGG3xO0/1FGPsLvju9ur8GCwCcoATKQ8aQz3SDHgr02VZY1
yCHfgI4MKlDCja9ln+4e0dpDvxytcBof7gxMfiRDlr1V8or25eSe/M48NiVerXQK
3bo/nsgoCqcfrX6fOHfbPPcMAdO6BJ3g7guobrPLjnm6/9Y5+fVqp6PiqCDdxjRI
VafZ2sF9G0LWeWt1aeI8G51Z/fFGgT17xlfCE0QV7Vex3o+TQALcgA992H2d2k8S
AykDOpAwmljZ1tfjBdMqUcfz8a10H8gJRwcz60WuH5N/NpDPFDRfpSsLWxOHGK/W
q9za67w3qpAjHin7zsksWiRYbq/5YDbIPGoLXweONcgDoxa/QliNAIJK5qMVRu4S
CWGD0vrKx7jcU/I8jWAG4y9gbLQ7TtOz4VQE2sT1knW304CUUSs+Xud4+Y43qUoQ
728gZbxkFN7Deqlc7viMlaiZRLbj/lFrDH1vnIryX+REMI4QEIfO0GBeVmw5FS9Y
mvnZQE5anIMmEfc+9+m6/xxAJc8J7N91kZXy+NYqXBpdx2pNZtpmnMROuCLRzDzx
Hw/ZyoRPYWRhGbZP/9SmBUEdItbYePz3EE+Ig3z0TGgf48QywA3eCAJT41f1FM1u
FRq1eydcn6FACJ4t2+i+z/RmSi9zgZVzKn6nX3XiwXUwXdR5Lzs=
=2iIx
-----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 03 Sep 2025 07:25:33 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:41:14 2026; Machine Name: berlioz

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.