#1144605 node-sinon: FTBFS with node-typescript 6

#1144605#5
Date:
2026-08-16 23:03:03 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/

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

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean --buildsystem=nodejs
	rm -rf ./node_modules/.cache ./.nyc_output
	rm -rf nise/node_modules/.cache nise/.nyc_output
	rm -rf sinonjscommons/node_modules/.cache sinonjscommons/.nyc_output
	rm -rf sinonjsfake-timers/node_modules/.cache sinonjsfake-timers/.nyc_output
	rm -rf sinonjsreferee/node_modules/.cache sinonjsreferee/.nyc_output
	rm -rf sinonjsreferee-sinon/node_modules/.cache sinonjsreferee-sinon/.nyc_output
	rm -rf sinonjssamsam/node_modules/.cache sinonjssamsam/.nyc_output
	rm -rf typessinon/node_modules/.cache typessinon/.nyc_output
	rm -rf typessinonjs-fake-timers/node_modules/.cache typessinonjs-fake-timers/.nyc_output
rm ./node_modules/.cache
unlink ./node_modules/diff
rm nise/node_modules/.cache
rm sinonjscommons/node_modules/.cache
rm sinonjsfake-timers/node_modules/.cache
rm sinonjsreferee/node_modules/.cache
rm sinonjsreferee-sinon/node_modules/.cache
rm sinonjssamsam/node_modules/.cache
rm typessinon/node_modules/.cache
rm typessinonjs-fake-timers/node_modules/.cache
rm ./node_modules/.cache
unlink ./node_modules/diff
unlink node_modules/nise
unlink node_modules/@sinonjs/commons
Trying to remove node_modules/@sinonjs
unlink node_modules/@sinonjs/fake-timers
Trying to remove node_modules/@sinonjs
unlink node_modules/@sinonjs/referee
Trying to remove node_modules/@sinonjs
unlink node_modules/@sinonjs/referee-sinon
Trying to remove node_modules/@sinonjs
unlink node_modules/@sinonjs/samsam
Trying to remove node_modules/@sinonjs
unlink node_modules/@types/sinon
Trying to remove node_modules/@types
unlink node_modules/@types/sinonjs__fake-timers
Trying to remove node_modules/@types
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link ./node_modules/diff -> /usr/share/nodejs/diff
Link node_modules/nise -> ../nise
Link node_modules/@sinonjs/commons -> ../../sinonjscommons
Link node_modules/@sinonjs/fake-timers -> ../../sinonjsfake-timers
Link node_modules/@sinonjs/referee -> ../../sinonjsreferee
Link node_modules/@sinonjs/referee-sinon -> ../../sinonjsreferee-sinon
Link node_modules/@sinonjs/samsam -> ../../sinonjssamsam
Link node_modules/@types/sinon -> ../../typessinon
Link node_modules/@types/sinonjs__fake-timers -> ../../typessinonjs-fake-timers
   dh_auto_build --buildsystem=nodejs
Found debian/nodejs/sinonjscommons/build
	cd ./sinonjscommons && sh -ex ../debian/nodejs/sinonjscommons/build
+ tsc
tsconfig.json(12,5): error TS5011: The common source directory of 'tsconfig.json' is './lib'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
  Visit https://aka.ms/ts6 for migration information.
dh_auto_build: error: cd ./sinonjscommons && sh -ex ../debian/nodejs/sinonjscommons/build returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1144605#8
Date:
2026-08-17 10:04:13 UTC
From:
To:
Hello,

Bug #1144605 in node-sinon 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-sinon/-/commit/b9a14151181adc44c4f98d08a90e28f9054558e1
------------------------------------------------------------------------
Fix FTBFS with TypeScript 6

Closes: #1144605
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1144605

#1144605#15
Date:
2026-08-17 10:19:23 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-sinon, 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 1144605@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-sinon 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, 17 Aug 2026 11:51:49 +0200
Source: node-sinon
Architecture: source
Version: 21.1.2+ds1+~cs93.4.14-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1144605
Changes:
 node-sinon (21.1.2+ds1+~cs93.4.14-1) unstable; urgency=medium
 .
   * Team upload
   * Declare compliance with policy 4.7.4
   * Drop old useless "breaks"
   * New upstream version 21.1.2+ds1+~cs93.4.14
   * Refresh patches
   * Fix FTBFS with TypeScript 6 (Closes: #1144605)
   * Build lib/ with the packaged rollup instead of npx, and compute the rollup
     chunk names ourselves so that the "+" in the Debian version does not send
     them out of the output directory
   * Drop fix-for-nodejs-24.patch, obsoleted by upstream's own normalisation of
     the ArrayBuffer/DataView inspect output
   * Point the autopkgtest suite at the installed build (upstream moved the
     sources the tests import to src/)
Checksums-Sha1:
 063d42384be6babb3bc95483db4105a86891bece 5425 node-sinon_21.1.2+ds1+~cs93.4.14-1.dsc
 c1ab9c44ad1e208e367c79e529890120d3e9f98b 114496 node-sinon_21.1.2+ds1+~cs93.4.14.orig-nise.tar.xz
 4445bdb4d4ba3feba19f673f67fb97a1be9df92d 56780 node-sinon_21.1.2+ds1+~cs93.4.14.orig-sinonjscommons.tar.xz
 e6bc6a985857198cad5a0fe04f7ccc7a7d28a4ad 118588 node-sinon_21.1.2+ds1+~cs93.4.14.orig-sinonjsfake-timers.tar.xz
 1e2ed27f0266637ac37fd55dba5ae7c02066b270 95176 node-sinon_21.1.2+ds1+~cs93.4.14.orig-sinonjsreferee-sinon.tar.xz
 e359a503b4222cfb1762d59aae8f36fff1bfe1fa 106012 node-sinon_21.1.2+ds1+~cs93.4.14.orig-sinonjsreferee.tar.xz
 dc4f98f84ae04b1110cc0e18a56411d6e2ccfd2f 103672 node-sinon_21.1.2+ds1+~cs93.4.14.orig-sinonjssamsam.tar.xz
 fc1c62966d6cdf8d8550c88545590feb3b823e8a 12068 node-sinon_21.1.2+ds1+~cs93.4.14.orig-typessinon.tar.xz
 e0f1fa31c0bbdabef399b2b6cf47ae36d6a9c7eb 4800 node-sinon_21.1.2+ds1+~cs93.4.14.orig-typessinonjs-fake-timers.tar.xz
 6c438d830a871acc58d1f86feef26f69d13a36d2 208312 node-sinon_21.1.2+ds1+~cs93.4.14.orig.tar.xz
 81d4a595eed4cf69c9966055b7aeedc674418936 65300 node-sinon_21.1.2+ds1+~cs93.4.14-1.debian.tar.xz
Checksums-Sha256:
 4620d59aed6454eadb14ee82251d5e9968f1c2d2581ae09e6328c9e122f1fee0 5425 node-sinon_21.1.2+ds1+~cs93.4.14-1.dsc
 a3d4f471be923c815753d7bd9cc0d1a07f77d91a2c962ed77c1b790f78f9b8d8 114496 node-sinon_21.1.2+ds1+~cs93.4.14.orig-nise.tar.xz
 7e7e6751a8352762f318a40378412bcfd48af2b52022e5e6f543b3cbb8257c66 56780 node-sinon_21.1.2+ds1+~cs93.4.14.orig-sinonjscommons.tar.xz
 f4e119db67ed8d04168e651c3959a6c98f038dd06a2db43c9f4969d6efbaade2 118588 node-sinon_21.1.2+ds1+~cs93.4.14.orig-sinonjsfake-timers.tar.xz
 04e719d5207e0acb2b6b0965deeb00e25a63345273c10d75a68fab05ecae7e49 95176 node-sinon_21.1.2+ds1+~cs93.4.14.orig-sinonjsreferee-sinon.tar.xz
 e6894f6a6affab83d0c99aed44dfb2c960ae1ce68f64af5032e7e6a2bde5ce5a 106012 node-sinon_21.1.2+ds1+~cs93.4.14.orig-sinonjsreferee.tar.xz
 8a16ed4f662435b6ad57e33d66ae1413129268a08655d11cc2d809ef730d94d0 103672 node-sinon_21.1.2+ds1+~cs93.4.14.orig-sinonjssamsam.tar.xz
 6f1b62803cdc59fb838ed8db6b5624df24edc93fe1063c5548ddbff4815e28ce 12068 node-sinon_21.1.2+ds1+~cs93.4.14.orig-typessinon.tar.xz
 12b35550d96b766ad0a5c81e7da5b85c0c3ebfaac69b85297aac29d5ca8844e6 4800 node-sinon_21.1.2+ds1+~cs93.4.14.orig-typessinonjs-fake-timers.tar.xz
 e3a50a663daf60b56551bced906dd93dcaeb61be6987fc57bfabac2ace08d595 208312 node-sinon_21.1.2+ds1+~cs93.4.14.orig.tar.xz
 4477e0cdd93ffab15765eb99ff65adbfb57198cc4267f2ed5d1c17f130582b98 65300 node-sinon_21.1.2+ds1+~cs93.4.14-1.debian.tar.xz
Files:
 33aa2af79b5c6232e0f06ef291ee5101 5425 javascript optional node-sinon_21.1.2+ds1+~cs93.4.14-1.dsc
 440a42400ebdfaa7c44c89bdb3bf7e2d 114496 javascript optional node-sinon_21.1.2+ds1+~cs93.4.14.orig-nise.tar.xz
 cf7aa36e13c2a9570d901a20f2c1d7f4 56780 javascript optional node-sinon_21.1.2+ds1+~cs93.4.14.orig-sinonjscommons.tar.xz
 a4db0e40e8b867c2c1c628c2053776dc 118588 javascript optional node-sinon_21.1.2+ds1+~cs93.4.14.orig-sinonjsfake-timers.tar.xz
 0ded99c70a075e58bdbcaa350c8bce75 95176 javascript optional node-sinon_21.1.2+ds1+~cs93.4.14.orig-sinonjsreferee-sinon.tar.xz
 a08da0306d410d4295a2b9f1dae1f744 106012 javascript optional node-sinon_21.1.2+ds1+~cs93.4.14.orig-sinonjsreferee.tar.xz
 81b99947aae6057dcf33904f1f0c814d 103672 javascript optional node-sinon_21.1.2+ds1+~cs93.4.14.orig-sinonjssamsam.tar.xz
 06a994113b1e6ea3dfd5b75e6d7f6689 12068 javascript optional node-sinon_21.1.2+ds1+~cs93.4.14.orig-typessinon.tar.xz
 6b4e24773e4f203d138cb5eddf1eaa62 4800 javascript optional node-sinon_21.1.2+ds1+~cs93.4.14.orig-typessinonjs-fake-timers.tar.xz
 f64d5ee25c06a1da1145155cda34bf29 208312 javascript optional node-sinon_21.1.2+ds1+~cs93.4.14.orig.tar.xz
 996e527407227140d89923d6373ef55b 65300 javascript optional node-sinon_21.1.2+ds1+~cs93.4.14-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmqC3H8ACgkQ9tdMp8mZ
7ukCIQ/7BtmufiQV7tAw3TzoUJlvtmpZ3BHJ7KxSRiOqr3/vMll/XycRsHmhUaZS
wrtW6pZZ6YLCq7b57t19U9q/y8eMR4k14Dzh6xw3ybQFcsvyvNofUI9zVQCRZwaR
pNIy1qynUmZ1IJNfLkOavZ3Of/uuz1ob0xQalztitTMjDZha19ed4lHT23NeMPZR
/ABylHnrvmelCFCHtm4Cr90LUK35xCbCqgbjlO2hbhXBY97FPWDWGuEgaBKsuqR2
2ZgmBgSGFcyi9zgj54iRNa4cyR6QGATyWYmhldRDJTG0Q/7uVMtaQ5hZ38IVKsox
n3uodnHKGbmALG8iQWFUrvnssJgMVsAXO41LTc9uCa+uzE8RXrN2UfmkwH9urdMx
KfBGXnw9qlK7pWzUqiNXtMPvsARUGcdYBHpLXZKpr2CL9uVLYpYdJJjzGtfA2AfS
wFb39AkkDEH1zsWZDmEMIzgjj1rnMENmuYKjjbsPzxSSL/PP9VjKfnFQvUP8M4R8
0TkCZsPVtOkh9uIz5820a81GZWALaZLKQh1yd9IyAD/sZD9Jho3OPBBDz8De2XWN
N8wJIyWSxrsz8iWoOfK+ksQz6PHmf2ZJLafKYz/wFxdha7GGpPp9gPjGVmIFfxuC
QvknE+p4k5zeJQ9RAzUrNzbyrQlkR6FC98qKceD3mUbpDqs4TG8=
=MWvP
-----END PGP SIGNATURE-----