#1144581 node-dedent: FTBFS with node-typescript 6

#1144581#5
Date:
2026-08-16 23:02:15 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-dedent, 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 ts-dedent/node_modules/.cache ts-dedent/.nyc_output
rm ./node_modules/.cache
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/typescript
unlink ./node_modules/rollup
unlink ./node_modules/@rollup/plugin-typescript
Trying to remove ./node_modules/@rollup
unlink ./node_modules/rollup-plugin-dts
rm ts-dedent/node_modules/.cache
rm ./node_modules/.cache
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/typescript
unlink ./node_modules/rollup
unlink ./node_modules/@rollup/plugin-typescript
Trying to remove ./node_modules/@rollup
unlink ./node_modules/rollup-plugin-dts
unlink node_modules/ts-dedent
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link ./node_modules/typescript -> /usr/share/nodejs/typescript
Link ./node_modules/rollup -> /usr/share/nodejs/rollup
Link ./node_modules/@rollup/plugin-typescript -> /usr/share/nodejs/@rollup/plugin-typescript
Link ./node_modules/rollup-plugin-dts -> /usr/share/nodejs/rollup-plugin-dts
Link node_modules/ts-dedent -> ../ts-dedent
   dh_auto_build --buildsystem=nodejs
Found debian/nodejs/ts-dedent/build
	cd ./ts-dedent && sh -ex ../debian/nodejs/ts-dedent/build
+ tsc --module commonjs --outdir dist
tsconfig.json(3,15): error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
tsconfig.json(5,25): error TS5107: 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.
dh_auto_build: error: cd ./ts-dedent && sh -ex ../debian/nodejs/ts-dedent/build returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1144581#8
Date:
2026-08-17 09:57:24 UTC
From:
To:
Hello,

Bug #1144581 in node-dedent 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-dedent/-/commit/8f53741491ac6f7ade884e0478e7df0078bb13e6
------------------------------------------------------------------------
Fix FTBFS with TypeScript 6

Keep "ignoreDeprecations": "6.0" in ts-dedent/tsconfig.json: tsc 6 rejects
both the es5 target and the node10 module resolution without it (TS5107).

Closes: #1144581
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1144581

#1144581#15
Date:
2026-08-17 10:18:52 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-dedent, 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 1144581@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-dedent 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 09:26:28 +0200
Source: node-dedent
Architecture: source
Version: 1.7.2+~cs2.3.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1144581
Changes:
 node-dedent (1.7.2+~cs2.3.0-4) unstable; urgency=medium
 .
   * Fix FTBFS with TypeScript 6 (Closes: #1144581)
Checksums-Sha1:
 0cc8a7b4681058719e20c886001e974526f505b2 2473 node-dedent_1.7.2+~cs2.3.0-4.dsc
 3315be7e478e190d6c31333b9bef0a93bc978976 5428 node-dedent_1.7.2+~cs2.3.0-4.debian.tar.xz
Checksums-Sha256:
 2b06f575bc09ed6d4d0ff232cda39195da7797946f2f0d468cda4a2fadb0f54b 2473 node-dedent_1.7.2+~cs2.3.0-4.dsc
 1a5ab4eb90cbdace2cd85c4528648340e369b338dae7432b763474fce6a0ca71 5428 node-dedent_1.7.2+~cs2.3.0-4.debian.tar.xz
Files:
 f6365774a8ce1294f0ec9586b6d3d237 2473 javascript optional node-dedent_1.7.2+~cs2.3.0-4.dsc
 85ed62e69fa324f0447cfa006595d294 5428 javascript optional node-dedent_1.7.2+~cs2.3.0-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmqC2u4ACgkQ9tdMp8mZ
7ukqiQ/+K8E4NS7Pmc2b+BTKSUTfK8IRAVddug1SxMN42umL14RGDrTgyec1fI/P
tMtX2b80wz6GbGc4QE80oNwS6BbgzTPrGvcr6Ukrwh+XI7BHh38DBsLtmrSp0blR
rGaQFvA+2wu4YvWk622WL1Y+DQ88QKIcS2D35A3glgALSu8Y1Hs6aBGVDIkikJHJ
jjnwDILXzh2TD7NLjTkutfyf9DGmHXhEKYRYU0jbDtNR6jtg+burlax3Sb28+LbC
Mxy5potKuocFohYERKEyLa1qw3w9OcvkJFV2QNgieTZXZHsBuVq3jFGmzdyOuSLR
fIeThukUGPuPa98SoLcr+OTHSdFapRaPNEhNGyqs/y7v2hV5OucRWs7UaYaDuYj2
SVwDDlq8XbVHkb1zNQ7yGxKpoyFRdypg2ySdn1wgB+lc9YiB//QWCVFTKEpT9vUM
nTGcYp/bGesRIrGgpMnngFCl44Gt9E1tF4FkyzCjzxCWvpt4rrZt4NNEY1bCC1AA
b2bdo53SBrmXIM1TR9P+A9hA6G6RdE5yuuFypYLyIf9I8/8Qj/U/tUJWvL17+/2R
WS5F1A4pKpUPHwWJF2ZI8GcBu6176gvkipAxIi53dSO1cO0uyxADreq+cTcXQUyy
3H2FivO+c+0l+ZxF7A5psMWoQaMnGTX/av47MSdCHDmGf3L32tc=
=cizH
-----END PGP SIGNATURE-----