#1144578 less.js: FTBFS with node-typescript 6

#1144578#5
Date:
2026-08-16 23:02:09 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:less.js, 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
./lerna.json found

Found debian/nodejs/additional_components
Adding component(s): packages/less, packages/test-data, packages/test-import-module
	rm -rf packages/less/node_modules/.cache packages/less/.nyc_output
	rm -rf image-size/node_modules/.cache image-size/.nyc_output
	rm -rf packages/test-data/node_modules/.cache packages/test-data/.nyc_output
	rm -rf packages/test-import-module/node_modules/.cache packages/test-import-module/.nyc_output
Found debian/nodejs/additional_components
Adding component(s): packages/less, packages/test-data, packages/test-import-module
rm packages/less/node_modules/.cache
rm image-size/node_modules/.cache
rm packages/test-data/node_modules/.cache
rm packages/test-import-module/node_modules/.cache
rm packages/less/node_modules/.cache
rm ./node_modules/.cache
Found debian/nodejs/additional_components
Adding component(s): packages/less, packages/test-data, packages/test-import-module
unlink node_modules/image-size
unlink node_modules/@less/test-data
Trying to remove node_modules/@less
unlink node_modules/@less/test-import-module
Trying to remove node_modules/@less
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
./lerna.json found

Found debian/nodejs/additional_components
Adding component(s): packages/less, packages/test-data, packages/test-import-module
Found debian/nodejs/additional_components
Adding component(s): packages/less, packages/test-data, packages/test-import-module
Link node_modules/image-size -> ../image-size
Link node_modules/@less/test-data -> ../../packages/test-data
Link node_modules/@less/test-import-module -> ../../packages/test-import-module
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd packages/less && tsc
tsconfig.json(10,5): error TS5102: Option 'noImplicitUseStrict' has been removed. Please remove it from your configuration.
tsconfig.json(13,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.
make[1]: *** [debian/rules:9: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1144578#8
Date:
2026-08-17 09:55:22 UTC
From:
To:
Hello,

Bug #1144578 in less.js 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/less.js/-/commit/844de6e39c6a2df840643fabf49a394a8a30bace
------------------------------------------------------------------------
Fix FTBFS with TypeScript 6

Replace typescript-5.0-comaptibiltiy.patch by ts6-tsconfig.patch: drop the
removed noImplicitUseStrict option (TS5102) and bump ignoreDeprecations to
6.0 to keep the ES5 target (TS5107).

Closes: #1144578
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1144578

#1144578#15
Date:
2026-08-17 10:18:47 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
less.js, 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 1144578@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 less.js 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:18:32 +0200
Source: less.js
Architecture: source
Version: 3.13.0+dfsg-14
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1144578
Changes:
 less.js (3.13.0+dfsg-14) unstable; urgency=medium
 .
   * Team upload
 .
   [ Bastien Roucariès ]
   * Port to newer @rollup/plugin-typescript
 .
   [ Xavier Guimard ]
   * Declare compliance with policy 4.7.4
   * debian/watch version 5
   * Fix FTBFS with TypeScript 6 (Closes: #1144578)
Checksums-Sha1:
 fdd6160bffc866cad77c5c698d98c558e46b875f 2707 less.js_3.13.0+dfsg-14.dsc
 6754f1ecbf46b558493b8e8527ee0a992f350f7b 13564 less.js_3.13.0+dfsg-14.debian.tar.xz
Checksums-Sha256:
 724a397d03746a3839a23412fc7369efec7e04921f123e63486aea63f28a1aa5 2707 less.js_3.13.0+dfsg-14.dsc
 c4e711fcf384a8ad92e0a50d09a4f305ef3d653c0cf5a39144548f1b8b8f7ed0 13564 less.js_3.13.0+dfsg-14.debian.tar.xz
Files:
 561eeea5c2a4240acfd5f53c1d564320 2707 javascript optional less.js_3.13.0+dfsg-14.dsc
 205c2ffcbdfd38bb79ea0e937e2cb259 13564 javascript optional less.js_3.13.0+dfsg-14.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmqC2nYACgkQ9tdMp8mZ
7umxWRAAkoGvwKfQIvgPKXAh3myw7I6pxEYe6xsuXcs1F++tIZbLFEFaw/ASBz0B
6Bcipa74/UngZhVvgdnyxY+kQWXLJJpZCWCKZ+DZISHPX/JjLxh5+PGvF8rfiqhm
u8Q239j+Edkc0aYi7aedkn5mzQAoD0nKyOlfeiHFn56Rzc6qUsYniAQy9or2dWfx
M4SR5ApdXr4hTbo+U3qdf+7AiR03nAMn2YxLM+Zr4vBciIAT/KjMMNHQLoqAcywE
4lSGdfr+RQhCNfn8l0IqvmSATZG/RGB0GSDUL6okpDEMkNDdaWwt7dQamgkrvhX8
+MPqvAYDOYn3MW5ZDCDb12MQnaz7+q9qh+VqnN10zsB9x10fqWPw1hh9dQbls9wu
LcvdLvaqEvgWWUEZZF+D14wFqUJMv+tRtAwu6nAO/OAzYy5F0m0PIZ0ZS6p9OHM2
WB7MRPaIX4OMt2TJRRwdRRzL5IsVq14Dl3P0gLMA2cLeFcshe+Hgsg64fAjq0xEr
QEOf8RKvKleI7CCTE5Kb9svU6wpaCnaQi9sxKsatTDhv1FmN2jXwmOC6uYXa+woB
BrK1YEnYR04gfbqrJOeb5YPZjO7o21yMWEyq70saRMys4m0OAt7Xm5+3xi5k/em5
Vx8WqCHkoRS92iz1evtNL1bofwHRGfrisZ1Hun7pnfQyTGs5CHA=
=Igtp
-----END PGP SIGNATURE-----