[Pkg-javascript-devel] Bug#964637: node-rollup: FTBFS: dh_auto_build: error: cd ./. && sh -ex debian/nodejs/./build returned exit code 1

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


Source: node-rollup
Version: 1.12.0-2
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-rollup
> dpkg-buildpackage: info: source version 1.12.0-2
> 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 turbocolor/node_modules/.cache
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building node-rollup using existing ./node-rollup_1.12.0.orig-turbocolor.tar.gz
> dpkg-source: info: building node-rollup using existing ./node-rollup_1.12.0.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building node-rollup in node-rollup_1.12.0-2.debian.tar.xz
> dpkg-source: info: building node-rollup in node-rollup_1.12.0-2.dsc
>  debian/rules binary
> dh binary --with nodejs
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure --buildsystem=nodejs
> 	mkdir node_modules
> 	ln -s /usr/share/nodejs/acorn ./node_modules/
> 	ln -s /usr/share/nodejs/chalk ./node_modules/
> 	ln -s /usr/share/nodejs/chokidar ./node_modules/
> 	ln -s /usr/share/nodejs/estree-walker ./node_modules/
> 	ln -s /usr/share/nodejs/immutable ./node_modules/
> 	ln -s /usr/share/nodejs/magic-string ./node_modules/
> 	ln -s /usr/share/nodejs/micromatch ./node_modules/
> 	ln -s /usr/share/nodejs/pretty-ms ./node_modules/
> 	ln -s /usr/share/nodejs/rollup-pluginutils ./node_modules/
> 	ln -s /usr/share/nodejs/source-map ./node_modules/
> 	ln -s ../turbocolor node_modules/turbocolor
>    dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> Found debian/nodejs/./build
> 	cd ./. && sh -ex debian/nodejs/./build
> + mkdir -p node_modules
> + mkdir -p node_modules/@types
> + ln -s /usr/share/nodejs/@types/chokidar node_modules/@types
> + ln -s /usr/share/nodejs/@types/minimist node_modules/@types
> + ln -s /usr/share/nodejs/@types/pretty-ms node_modules/@types
> + ln -s /usr/share/nodejs/@types/node node_modules/@types
> + ln -s /usr/share/nodejs/@types/estree node_modules/@types
> + tsc --esModuleInterop
> src/watch/fileWatchers.ts:89:34 - error TS2769: No overload matches this call.
>   Overload 1 of 4, '(filename: PathLike, options: "hex" | "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | { encoding?: BufferEncoding; persistent?: boolean; recursive?: boolean; }, listener?: (event: string, filename: string) => void): FSWatcher', gave the following error.
>     Argument of type '{ encoding: string; persistent: boolean; }' is not assignable to parameter of type '"hex" | "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | { encoding?: BufferEncoding; persistent?: boolean; recursive?: boolean; }'.
>       Type '{ encoding: string; persistent: boolean; }' is not assignable to type '{ encoding?: BufferEncoding; persistent?: boolean; recursive?: boolean; }'.
>         Types of property 'encoding' are incompatible.
>           Type 'string' is not assignable to type 'BufferEncoding'.
>   Overload 2 of 4, '(filename: PathLike, options: { encoding: "buffer"; persistent?: boolean; recursive?: boolean; } | "buffer", listener?: (event: string, filename: Buffer) => void): FSWatcher', gave the following error.
>     Argument of type '{ encoding: string; persistent: boolean; }' is not assignable to parameter of type '{ encoding: "buffer"; persistent?: boolean; recursive?: boolean; } | "buffer"'.
>       Type '{ encoding: string; persistent: boolean; }' is not assignable to type '{ encoding: "buffer"; persistent?: boolean; recursive?: boolean; }'.
>         Types of property 'encoding' are incompatible.
>           Type 'string' is not assignable to type '"buffer"'.
>   Overload 3 of 4, '(filename: PathLike, options: string | { encoding?: BufferEncoding; persistent?: boolean; recursive?: boolean; }, listener?: (event: string, filename: string | Buffer) => void): FSWatcher', gave the following error.
>     Argument of type '{ encoding: string; persistent: boolean; }' is not assignable to parameter of type 'string | { encoding?: BufferEncoding; persistent?: boolean; recursive?: boolean; }'.
>       Type '{ encoding: string; persistent: boolean; }' is not assignable to type '{ encoding?: BufferEncoding; persistent?: boolean; recursive?: boolean; }'.
>         Types of property 'encoding' are incompatible.
>           Type 'string' is not assignable to type 'BufferEncoding'.
> 
> 89  		this.fsWatcher = fs.watch(id, opts, handleWatchEvent);
>     		                              ~~~~
> 
> 
> 
> Found 1 error.
> 
> Files:              268
> Lines:            63431
> Nodes:           279027
> Identifiers:      98194
> Symbols:          91036
> Types:            15556
> Instantiations:   37582
> Memory used:    126960K
> I/O read:         0.03s
> I/O write:        0.00s
> Parse time:       0.97s
> Bind time:        0.63s
> Check time:       2.09s
> Emit time:        0.00s
> Total time:       3.69s
> dh_auto_build: error: cd ./. && sh -ex debian/nodejs/./build returned exit code 1
> make: *** [debian/rules:5: binary] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/07/09/node-rollup_1.12.0-2_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