[Pkg-javascript-devel] Bug#964686: node-ytdl-core: FTBFS: dh_auto_build: error: cd ./m3u8stream && sh -ex ../debian/nodejs/m3u8stream/build returned exit code 2

Lucas Nussbaum lucas at debian.org
Thu Jul 9 12:26:38 BST 2020


Source: node-ytdl-core
Version: 2.1.3+dfsg+~cs2.16.2-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200709 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package node-ytdl-core
> dpkg-buildpackage: info: source version 2.1.3+dfsg+~cs2.16.2-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Xavier Guimard <yadd at debian.org>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean --with nodejs
>    dh_auto_clean --buildsystem=nodejs
> 	rm -rf ./node_modules/.cache
> 	rm -rf html-entities/node_modules/.cache
> 	rm -rf m3u8stream/node_modules/.cache
> 	rm -rf miniget/node_modules/.cache
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building node-ytdl-core using existing ./node-ytdl-core_2.1.3+dfsg+~cs2.16.2.orig-html-entities.tar.xz
> dpkg-source: info: building node-ytdl-core using existing ./node-ytdl-core_2.1.3+dfsg+~cs2.16.2.orig-m3u8stream.tar.xz
> dpkg-source: info: building node-ytdl-core using existing ./node-ytdl-core_2.1.3+dfsg+~cs2.16.2.orig-miniget.tar.xz
> dpkg-source: info: building node-ytdl-core using existing ./node-ytdl-core_2.1.3+dfsg+~cs2.16.2.orig.tar.xz
> dpkg-source: info: building node-ytdl-core in node-ytdl-core_2.1.3+dfsg+~cs2.16.2-1.debian.tar.xz
> dpkg-source: info: building node-ytdl-core in node-ytdl-core_2.1.3+dfsg+~cs2.16.2-1.dsc
>  debian/rules binary
> dh binary --with nodejs
>    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
> No build command found, searching known files
> 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
> 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/dash-mpd-parser.ts(187,31): error TS2769: No overload matches this call.
>   Overload 1 of 2, '(chunk: any, cb?: (error: Error) => void): boolean', gave the following error.
>     Argument of type 'string' is not assignable to parameter of type '(error: Error) => void'.
>   Overload 2 of 2, '(chunk: any, encoding: BufferEncoding, cb?: (error: Error) => void): boolean', gave the following error.
>     Argument of type 'string' is not assignable to parameter of type 'BufferEncoding'.
> dh_auto_build: error: cd ./m3u8stream && sh -ex ../debian/nodejs/m3u8stream/build returned exit code 2
> make: *** [debian/rules:8: binary] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/07/09/node-ytdl-core_2.1.3+dfsg+~cs2.16.2-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-javascript-devel mailing list