[Pkg-javascript-devel] Bug#1131666: node-gulp-terser: FTBFS: error TS6266: Option 'locale' can only be specified on command line.

Santiago Vila sanvila at debian.org
Mon Mar 23 11:55:00 GMT 2026


Package: src:node-gulp-terser
Version: 2.1.0-3
Severity: serious
Tags: ftbfs forky sid

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/202603/

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-gulp-terser, 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 ./node_modules/.cache
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/terser
unlink ./node_modules/gulp-sourcemaps
unlink ./node_modules/through2
unlink ./node_modules/vinyl-sourcemaps-apply
unlink ./node_modules/plugin-error
rm ./node_modules/.cache
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/terser
unlink ./node_modules/gulp-sourcemaps
unlink ./node_modules/through2
unlink ./node_modules/vinyl-sourcemaps-apply
unlink ./node_modules/plugin-error
   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/terser -> /usr/share/nodejs/terser
Link ./node_modules/gulp-sourcemaps -> /usr/share/nodejs/gulp-sourcemaps
Link ./node_modules/through2 -> /usr/share/nodejs/through2
Link ./node_modules/vinyl-sourcemaps-apply -> /usr/share/nodejs/vinyl-sourcemaps-apply
Link ./node_modules/plugin-error -> /usr/share/nodejs/plugin-error
   dh_auto_build --buildsystem=nodejs
Found debian/nodejs/./build
	cd ./. && sh -ex debian/nodejs/./build
+ tsc
tsconfig.json(5,5): error TS6266: Option 'locale' can only be specified on command line.
dh_auto_build: error: cd ./. && sh -ex debian/nodejs/./build returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-javascript-devel mailing list