[Pkg-javascript-devel] Bug#1126218: node-import-meta-resolve: FTBFS: lib/resolve.js(69, 3): error TS2578: Unused '@ts-expect-error' directive.
Santiago Vila
sanvila at debian.org
Fri Jan 23 11:37:50 GMT 2026
Package: src:node-import-meta-resolve
Version: 4.1.0-1
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/202601/
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-import-meta-resolve, 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/semver
rm ./node_modules/.cache
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/semver
dh_clean
debian/rules execute_after_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f test/baseline*.js
rm -f test/node_modules/import-meta-resolve
rm -f *.d.ts lib/*.d.ts
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
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/semver -> /usr/share/nodejs/semver
dh_auto_build --buildsystem=nodejs
Found debian/nodejs/./build
cd ./. && sh -ex debian/nodejs/./build
+ tsc --build
lib/resolve.js(69,3): error TS2578: Unused '@ts-expect-error' directive.
lib/resolve.js(100,3): error TS2578: Unused '@ts-expect-error' directive.
lib/resolve.js(677,3): error TS2578: Unused '@ts-expect-error' directive.
dh_auto_build: error: cd ./. && sh -ex debian/nodejs/./build returned exit code 1
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