[Pkg-javascript-devel] Bug#1082686: node-copy-webpack-plugin: FTBFS: Type 'null' is not assignable to type 'InputFileSystem'
Santiago Vila
sanvila at debian.org
Tue Sep 24 18:41:37 BST 2024
Package: src:node-copy-webpack-plugin
Version: 11.0.0-3
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=nodejs
Link ./node_modules/fast-glob -> /usr/share/nodejs/fast-glob
Link ./node_modules/globby -> /usr/share/nodejs/globby
Link ./node_modules/schema-utils -> /usr/share/nodejs/schema-utils
Link ./node_modules/@types/glob-parent -> /usr/share/nodejs/@types/glob-parent
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link ./node_modules/@types/normalize-path -> /usr/share/nodejs/@types/normalize-path
Link ./node_modules/webpack -> /usr/share/nodejs/webpack
Link node_modules/@types/serialize-javascript -> ../../debian/build_modules/@types/serialize-javascript
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
NODE_ENV=production babeljs src -d dist --copy-files
Successfully compiled 2 files with Babel (332ms).
tsc --declaration --emitDeclarationOnly --outDir types --rootDir src
src/index.js(290,26): error TS2345: Argument of type 'InputFileSystem | null' is not assignable to parameter of type 'InputFileSystem'.
Type 'null' is not assignable to type 'InputFileSystem'.
src/index.js(554,39): error TS2345: Argument of type 'InputFileSystem | null' is not assignable to parameter of type 'InputFileSystem'.
Type 'null' is not assignable to type 'InputFileSystem'.
make[1]: *** [debian/rules:12: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202409/
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 could not 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.
More information about the Pkg-javascript-devel
mailing list