#1010344 FTBFS: some test fails with "An export name cannot include a lone surrogate"

Package:
node-acorn
Source:
acorn
Submitter:
Yadd
Date:
2022-06-25 06:18:03 UTC
Severity:
serious
Tags:
#1010344#5
Date:
2022-04-29 09:25:44 UTC
From:
To:
Hi,

during rebuild, node-espree test fails with some errors like:

 not ok 837 ecmaVersion Modules /13/modules/arbitrary-module-namespace-names/export-all-exported should parse correctly when sourceType is module
  An export name cannot include a lone surrogate.
  SyntaxError: An export name cannot include a lone surrogate.
      at Espree.raise (file:///home/yadd/node-espree/lib/espree.js:242:25)
      at Espree.pp$8.parseModuleExportName (file:///usr/share/nodejs/acorn/dist/acorn.mjs:1848:12)
      at Espree.pp$8.parseExport (file:///usr/share/nodejs/acorn/dist/acorn.mjs:1640:30)
      at Espree.pp$8.parseStatement (file:///usr/share/nodejs/acorn/dist/acorn.mjs:926:74)
      at Espree.pp$8.parseTopLevel (file:///usr/share/nodejs/acorn/dist/acorn.mjs:807:21)
      at Espree.parseTopLevel (file:///home/yadd/node-espree/lib/espree.js:230:26)
      at Espree.parse (file:///usr/share/nodejs/acorn/dist/acorn.mjs:579:15)
      at Espree.parse (file:///home/yadd/node-espree/lib/espree.js:152:35)
      at Module.parse (file:///home/yadd/node-espree/espree.js:134:38)
      at getExpectedResult (file:///home/yadd/node-espree/tests/lib/tester.js:162:30)
      at Object.assertMatches (file:///home/yadd/node-espree/tests/lib/tester.js:182:13)
      at Context.<anonymous> (file:///home/yadd/node-espree/tests/lib/ecma-version.js:116:28)

Cheers,
Yadd

#1010344#10
Date:
2022-04-30 08:46:43 UTC
From:
To:
Hi,

could you take a look at this issue ? It seems related to node-eslint-*
updates.

Cheers,
Yadd

#1010344#17
Date:
2022-06-24 13:13:32 UTC
From:
To:
Hello,

Bug #1010344 in acorn 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/acorn/-/commit/313c089a22d028900ddf05123f12870803cf8f14
------------------------------------------------------------------------
Fix loneSurrogate regexp

Closes: #1010344
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1010344

#1010344#24
Date:
2022-06-24 13:34:59 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
acorn, 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 1010344@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Yadd <yadd@debian.org> (supplier of updated acorn 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: Fri, 24 Jun 2022 15:10:08 +0200
Source: acorn
Built-For-Profiles: nocheck
Architecture: source
Version: 8.7.1+ds+~cs24.17.6-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Yadd <yadd@debian.org>
Closes: 1010344
Changes:
 acorn (8.7.1+ds+~cs24.17.6-2) unstable; urgency=medium
 .
   * Team upload
   * Declare compliance with policy 4.6.1
   * Fix loneSurrogate regexp (Closes: #1010344)
Checksums-Sha1:
 e491589b9687d90b4b619352434b4fe5f59bfdc1 6969 acorn_8.7.1+ds+~cs24.17.6-2.dsc
 dc16b8951c75b29f4188c8c1ee73b686c1678eb0 16336 acorn_8.7.1+ds+~cs24.17.6-2.debian.tar.xz
Checksums-Sha256:
 eee01294b6cc6494c606c9d6667634da8b586050ce732733820b42c27d59839f 6969 acorn_8.7.1+ds+~cs24.17.6-2.dsc
 71664f012b0e5f97efba1708ce485292294a1307d82c264ec779d7548bc85911 16336 acorn_8.7.1+ds+~cs24.17.6-2.debian.tar.xz
Files:
 4439cef12f9efdd37f28670db6895859 6969 javascript optional acorn_8.7.1+ds+~cs24.17.6-2.dsc
 e2b68e7b42693c8bbdcb3991ddffe63a 16336 javascript optional acorn_8.7.1+ds+~cs24.17.6-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmK1uF0ACgkQ9tdMp8mZ
7unLRg//fcsXSUvnT4PtT1PO1WBAnRIwfmmHMb+B0bXs6LFSYYI6vjf7HdtfBZrG
wZrQo2MMVaQQFqZxlpGnfm6Ad7Aepn90ssowunEuMcGpaQsA/IlbGyGGC4J/DGRJ
effoqqiyGhv0KvcjWbd3HMa3M340p1awJBRhc9RHG6/rwS283gVLTUeNEq5kwxwj
gZ/3FpQvbQI6xvvsSmeEYNc+mZaFny+qzquWyqEmwODEk4e/ol4aDY3aqXpVQtm3
jsvIRBMysnuwbavWJYSQePZp9mlT1Z16aJ8/aCXAN7tk4MIFVHoW5dT73cOxk92d
9XW2MTWNShKhyLPRjFIAId5YBauQUVIzNTFL8R7iM7pjSy5SaJxuKrmMFe+QHwmw
o3iid21yrLtOXVmFqSNv/Uoarl+T7hENXMhJ0V0f3b6DOi+2PWAYfk+wu83tKTNV
Zm+Dj76HJNvQ7V0fK58kaEhFOEfJ+Il5T0xx6PZqKLeF6tsG7Bs/NPHPHJUOzroY
aobB/VKyAYDjmQvspGsN+bKzAh4uOiazen4C2dy5olbo5dYwFLmnk8XdShcKK6iU
rqxqF3Ib/EPX6ZCo5N18lHw9A8Cxm7+vA48eIRPsCrufarcQPwMyEGoQ6Z3cvPNP
MZB8KshWQym8e5zU2PAmTbKNNgYrmPxRnXQHmL4Lai5NR+mTlik=
=6sfZ
-----END PGP SIGNATURE-----