Package: src:node-ytdl-core Version: 3.4.2+dfsg+~cs3.10.3-2 Severity: serious Control: close -1 4.11.2+dfsg+~cs4.10.8-1 Tags: ftbfs bullseye
Dear maintainer: During a rebuild of all packages in bullseye, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure --buildsystem=nodejs mkdir node_modules mkdir -p ./node_modules/\@types ln -s /usr/share/nodejs/\@types/node ./node_modules/\@types/ ln -s ../html-entities node_modules/html-entities ln -s ../m3u8stream node_modules/m3u8stream ln -s ../miniget node_modules/miniget mkdir -p m3u8stream/node_modules ln -s ../../miniget m3u8stream/node_modules/miniget ln -s ../../debian/build_modules/\@types/sax node_modules/\@types/sax dh_auto_build --buildsystem=nodejs Found debian/nodejs/miniget/build cd ./miniget && sh -ex ../debian/nodejs/miniget/build + set -e + set -x + mkdir -p node_modules/@types + ln -s ../../../debian/build_modules/@types/sax node_modules/@types/sax + tsc -p tsconfig.build.json + rm -rf node_modules No build command found, searching known files Found debian/nodejs/m3u8stream/build cd ./m3u8stream && sh -ex ../debian/nodejs/m3u8stream/build + set -e + set -x + mkdir -p node_modules/@types + ln -s ../../../debian/build_modules/@types/sax node_modules/@types/sax + tsc -p tsconfig.build.json src/index.ts(28,20): error TS2430: Interface 'Stream' incorrectly extends interface 'PassThrough'. The types returned by 'end(...)' are incompatible between these types. Type 'void' is not assignable to type 'this'. 'this' could be instantiated with an arbitrary type which could be unrelated to 'void'. src/index.ts(45,18): error TS2352: Conversion of type 'PassThrough' to type 'Stream' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Types of property 'on' are incompatible. Type '{ (event: "close", listener: () => void): PassThrough; (event: "data", listener: (chunk: any) => void): PassThrough; (event: "end", listener: () => void): PassThrough; (event: "readable", listener: () => void): PassThrough; (event: "error", listener: (err: Error) => void): PassThrough; (event: string | symbol, liste...' is not comparable to type '{ (event: "progress", progress: Progress, totalSegments: number, downloadedBytes: number): Stream; (event: string | symbol, listener: (...args: any) => void): Stream; }'. Types of parameters 'event' and 'event' are incompatible. Type '"progress"' is not comparable to type '"close"'. 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/bullseye/ 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.