[Pkg-javascript-devel] Bug#1101244: node-ytdl-core: FTBFS: src/index.ts(215, 31): error TS2554: Expected 3-4 arguments, but got 2.
Santiago Vila
sanvila at debian.org
Tue Mar 25 00:11:19 GMT 2025
Package: src:node-ytdl-core
Version: 4.11.2+dfsg+~cs4.10.8-2
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_auto_clean --buildsystem=nodejs
rm -rf ./node_modules/.cache ./.nyc_output
rm -rf m3u8stream/node_modules/.cache m3u8stream/.nyc_output
rm -rf miniget/node_modules/.cache miniget/.nyc_output
rm ./node_modules/.cache
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/sax
Trying to remove ./node_modules/@types
rm m3u8stream/node_modules/.cache
rm miniget/node_modules/.cache
rm ./node_modules/.cache
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/sax
Trying to remove ./node_modules/@types
unlink m3u8stream/node_modules/miniget
unlink node_modules/m3u8stream
unlink node_modules/miniget
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/@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
Found debian/nodejs/m3u8stream/build
cd ./m3u8stream && sh -ex ../debian/nodejs/m3u8stream/build
+ tsc -p tsconfig.build.json
src/index.ts(215,31): error TS2554: Expected 3-4 arguments, but got 2.
dh_auto_build: error: cd ./m3u8stream && sh -ex ../debian/nodejs/m3u8stream/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/202503/
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 add an affects on src:node-ytdl-core, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the Pkg-javascript-devel
mailing list