[Pkg-javascript-devel] Bug#1078899: node-ytdl-core: FTBFS: error TS2769: No overload matches this call.
Santiago Vila
sanvila at debian.org
Sat Aug 17 14:40:52 BST 2024
Package: src:node-ytdl-core
Version: 4.11.2+dfsg+~cs4.10.8-1
Severity: serious
Control: close -1 4.11.2+dfsg+~cs4.10.8-2
Tags: ftbfs bookworm
Dear maintainer:
During a rebuild of all packages in bookworm, your package failed to build:
--------------------------------------------------------------------------------
[...]
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/@types/sax -> /usr/share/nodejs/@types/sax
Link node_modules/m3u8stream -> ../m3u8stream
Link node_modules/miniget -> ../miniget
Link m3u8stream/node_modules/miniget -> ../../miniget
dh_auto_build --buildsystem=nodejs
Found debian/nodejs/miniget/build
cd ./miniget && sh -ex ../debian/nodejs/miniget/build
+ tsc -p tsconfig.build.json
src/index.ts(310,18): error TS2769: No overload matches this call.
Overload 1 of 2, '(timeoutId: string | number | Timeout | undefined): void', gave the following error.
Argument of type 'Timer' is not assignable to parameter of type 'string | number | Timeout | undefined'.
Property '[Symbol.dispose]' is missing in type 'Timer' but required in type 'Timeout'.
Overload 2 of 2, '(id: number | undefined): void', gave the following error.
Argument of type 'Timer' is not assignable to parameter of type 'number'.
dh_auto_build: error: cd ./miniget && sh -ex ../debian/nodejs/miniget/build returned exit code 2
make: *** [debian/rules:8: binary] Error 25
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/bookworm/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large 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