#1150126 node-xregexp: FTBFS: TypeError: isA is not a function

#1150126#5
Date:
2026-10-05 20:08:19 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202610/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:node-xregexp, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
        at UserContext.<anonymous> (/<<PKGBUILDDIR>>/tests/spec/s-xregexp-natives.js:172:59)
        at <Jasmine>

15) When overridden, String.prototype.match() with a nonglobal regex should convert any provided non RegExp object to a RegExp
  Message:
    TypeError: isA is not a function
  Stack:
        at compare (/<<PKGBUILDDIR>>/tests/helpers/h-matchers.js:11:25)
        at <Jasmine>
        at /<<PKGBUILDDIR>>/tests/spec/s-xregexp-natives.js:219:52
        at Array.forEach (<anonymous>)
        at UserContext.<anonymous> (/<<PKGBUILDDIR>>/tests/spec/s-xregexp-natives.js:218:19)
        at <Jasmine>

408 specs, 15 failures
Finished in 0.125 seconds
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 3
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1150126#8
Date:
2026-10-07 07:06:13 UTC
From:
To:
Hello,

Bug #1150126 in node-xregexp 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/js-team/node-xregexp/-/commit/a7e963f7c9a6c2f664662f7cc3c01287a1c7ded6

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1150126

#1150126#15
Date:
2026-10-07 07:20:17 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-xregexp, 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 1150126@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Xavier Guimard <yadd@debian.org> (supplier of updated node-xregexp 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)
Format: 1.8
Date: Wed, 07 Oct 2026 07:57:48 +0200
Source: node-xregexp
Architecture: source
Version: 3.1.1+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1150126
Changes:
 node-xregexp (3.1.1+dfsg-3) unstable; urgency=medium
 .
   * Team upload
   * Fix test for jasmine 7 (Closes: #1150126)
   * Declare compliance with policy 4.7.4
   * Drop redundant Priority and Rules-Requires-Root fields
   * Update debian/watch to version 5
   * Mark package as Multi-Arch: foreign
Checksums-Sha1:
 8182e720d8779b682226ce14513d433d365625bc 2097 node-xregexp_3.1.1+dfsg-3.dsc
 8108caaf15f7dd6f3fd2694c4b96c43f5e3f67c3 21544 node-xregexp_3.1.1+dfsg-3.debian.tar.xz
Checksums-Sha256:
 8177dc2e69b57878861d6a03e07e336985e6cdf44fb5369fceb5a24eeb7fcc27 2097 node-xregexp_3.1.1+dfsg-3.dsc
 876160fbdcf18773c3c29e0abd3ccc159c7cb1508c70281aecba71e70c392a8a 21544 node-xregexp_3.1.1+dfsg-3.debian.tar.xz
Files:
 b7d6da4ab15ecc692ca56dbcdba739ad 2097 javascript optional node-xregexp_3.1.1+dfsg-3.dsc
 4395b45ab7f003fdb730fee4a0a97410 21544 javascript optional node-xregexp_3.1.1+dfsg-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmrF70kACgkQ9tdMp8mZ
7ulf3g//YRvsEO56vj2sBoFsnAv1TG1VWvA1VfPA1s8mila0rEH29T/M0FTSw1fg
Mvlkr5h7Wfr+NaGXOEkUu0PKrV8EN7xdgCL45It/y6uh2/Zh1KKD8eGpA+TQnPPo
TKSf+OiNOZLetiyiefyV+7VV/8FgfZSQkni1UmMFZwbAgkmvpJGNl5RjoefXRsYr
hHnAbPRoDG2l+yBpQJUpmcVvI073ERVu26meqLC0Rz0ZdFuNbhekSv9rMzfYwCcg
sxw7Ocjf0h/Mfuipi+qPI9btjGDZscaOsPtTD0LN+/Z52jwUIEOVGElmT0G4GBkP
jeyppBeW0pVmPAPwXx+vte/mLn5EoGxFWaD+5issgLFasCTWx/quDeq9sjSSpWty
GvEgefS7Z81NXnNl+forOsb/qz13udBiALLi2ACNBqJfw/GliVZSNdsmOnij0BUS
1T4TK2qpVh7+HE+ccVYqc0npCJzlz9jvkf2W0VUI4ksnxcYxzobmXUfEYRhYmlmx
tI8mZkWl8t5yujmcMJlG941Jf2H5U4LtC0Jy435UEfpZohIOcrvnLssq7NMQSm7w
DgCdPKxSahYQDRJ307LNQyZHl/IwieO2GRX560wqclVium1re3nsUJjDTVAjiCoU
xZJUIjJ+6nPt8s80WEnYiBlVR9EJ0+PvrR2mRVK0FSTiEqmTv2w=
=kDtN
-----END PGP SIGNATURE-----