#1146320 node-miragejs: FTBFS with node-babel 8

#1146320#5
Date:
2026-08-31 12:04:53 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/202608/

A wiki page discussing possible solutions is available here:

https://wiki.debian.org/Javascript/KnownPatches?pow_referer=#node-babel7_8

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-miragejs, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
   dh_auto_build --buildsystem=nodejs
No build command found, searching known files
Found debian/nodejs/pretender/build
	cd ./pretender && sh -ex ../debian/nodejs/pretender/build
+ mkdir -p node_modules
+ cp -a /usr/share/nodejs/whatwg-fetch node_modules/
+ rollup -c

src/index.ts → ./dist/pretender.js, ./dist/pretender.es.js...
Error: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
  Visit https://aka.ms/ts6 for migration information.
Error: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
[!] (plugin typescript) Error: There were TypeScript errors transpiling
src/index.ts
    at Object.transform (/usr/share/nodejs/rollup-plugin-typescript/dist/rollup-plugin-typescript.cjs.js:228:11)
    at /usr/share/nodejs/rollup/dist/shared/rollup.js:1888:40


dh_auto_build: error: cd ./pretender && sh -ex ../debian/nodejs/pretender/build returned exit code 1
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1146320#10
Date:
2026-08-31 16:06:05 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-miragejs, 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 1146320@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-miragejs 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: Mon, 31 Aug 2026 15:57:04 +0200
Source: node-miragejs
Architecture: source
Version: 0.1.46+~cs5.6.11-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1146320
Changes:
 node-miragejs (0.1.46+~cs5.6.11-3) unstable; urgency=medium
 .
   * Team upload
   * Fix build with babel 8 (Closes: #1146320)
   * Fix pretender build with typescript 6
   * Apply multiarch hints from UDD
Checksums-Sha1:
 540f09718b01319cf77e31119e1ba0d0f7133168 3507 node-miragejs_0.1.46+~cs5.6.11-3.dsc
 2a764090862dd7293008c4d45ae2cda03232e5d3 5940 node-miragejs_0.1.46+~cs5.6.11-3.debian.tar.xz
Checksums-Sha256:
 2929b6b9a0c4f60e1190bfd846ba67a71c4172a63255fec6e9ae9236a96d03a5 3507 node-miragejs_0.1.46+~cs5.6.11-3.dsc
 98b00f788b088088d8d87a99b8e92520c299c95d20f9fd251030cf526b6cd712 5940 node-miragejs_0.1.46+~cs5.6.11-3.debian.tar.xz
Files:
 a106670261f76a4a5a0fc1e935d5a8a8 3507 javascript optional node-miragejs_0.1.46+~cs5.6.11-3.dsc
 2115121b1340c65ed2ace549cc353850 5940 javascript optional node-miragejs_0.1.46+~cs5.6.11-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmqVobcACgkQ9tdMp8mZ
7un5Fw/+K975QxVDhAw8K1cRnUQb5LwoFoth3/J5bEV8GDuxPvjQIJFtAXvKqeHJ
yKLDHfYhFDm9PIeSu3PEQeEWafspBfowT9RFhJZ8H00t2xHepsydTHMUUWCBQFC7
eFc0VtcL5jQJfJUJHLwwB9ovZrnJ2eYyyZKwDVYWmqgfAs4K37fTHQPXkjFSx9/m
URcxkrYHeAuBh6FsnsmFBd+5Lkt1YNU2Zu339mYe3vvGT47/XR7p3s3tVGymH+sc
z2spmcwxs97Nq81yWLYLh7QAMnYpqeoBJrBzy5r7evcA5tmKxiFZMBGqd1331i2z
HA9H2dBB27RUWYeUFs5wXZVoSZ4Ec4ltDB49R2VX+MruaibL819B63GPaYvL/+S0
C+mokoj/q4AZxHZNF44QrahDcd0DkjAdKTiudy2YbzgvMyCQ2ZjCCQItOQNrgjM8
eA7V28GWaU5xpLbd20PLmPN11AwflWt7ktxzBOWCAC4vyBT8SVmmjngqvWdojTEH
SuDJzuCZkguXG5T7QGmegnKDzjPky85NNLDk72QeAI1mNJLqCvoGDGQkdsH+r0Gp
ahrBCMjpFmbA0pta4Q5s7cV+PgifqqXRTQuK+sz6Q7EyT/iUHPHxcTDukSHfaa26
e+haPnGRQtiNfjeSs3uR2mzFE1k+N7lQ4xoYxguwmxSrTAq9jHM=
=n8QP
-----END PGP SIGNATURE-----