Source: node-jest Version: 27.5.1~ds+~cs69.51.22-2 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past)
No build command found, searching known files Found debian/nodejs/bcoe-v8-coverage/build cd ./bcoe-v8-coverage && sh -ex ../debian/nodejs/bcoe-v8-coverage/build + rm -rf dist + mkdir node_modules + ln -s /usr/share/nodejs/tslib node_modules/ + mkdir -p node_modules/@types + ln -s /usr/share/nodejs/@types/mocha node_modules/@types/ + ln -s /usr/share/nodejs/@types/node node_modules/@types/ + rollup -c ../debian/bcoe-rollup-config.js ␛[36m ␛[1m../bcoe-v8-coverage/src/lib/*.ts␛[22m → ␛[1m../bcoe-v8-coverage/dist/lib␛[22m...␛[39m ␛[1m␛[31m[!] ␛[1m(plugin typescript) Error: @rollup/plugin-typescript TS2769: No overload matches this call. Overload 1 of 3, '(path: number | PathLike, options?: { encoding?: null | undefined; flag?: string | undefined; } | null | undefined): Buffer', gave the following error. Type 'string' is not assignable to type 'null | undefined'. Overload 2 of 3, '(path: number | PathLike, options: { encoding: BufferEncoding; flag?: string | undefined; } | BufferEncoding): string', gave the following error. Type '"UTF-8"' is not assignable to type 'BufferEncoding'. Did you mean '"utf-8"'? Overload 3 of 3, '(path: number | PathLike, options?: BufferEncoding | (BaseEncodingOptions & { flag?: string | undefined; }) | null | undefined): string | Buffer', gave the following error. Type '"UTF-8"' is not assignable to type 'BufferEncoding | null | undefined'. Did you mean '"utf-8"'?␛[22m␛[1m␛[39m␛[22m src/test/merge.spec.ts (23:6) ␛[2m ␛[7m23␛[0m {encoding: "UTF-8"}, ␛[7m ␛[0m ␛[91m ~~~~~~~~␛[0m ␛[22m ␛[2mError: @rollup/plugin-typescript TS2769: No overload matches this call. Overload 1 of 3, '(path: number | PathLike, options?: { encoding?: null | undefined; flag?: string | undefined; } | null | undefined): Buffer', gave the following error. Type 'string' is not assignable to type 'null | undefined'. Overload 2 of 3, '(path: number | PathLike, options: { encoding: BufferEncoding; flag?: string | undefined; } | BufferEncoding): string', gave the following error. Type '"UTF-8"' is not assignable to type 'BufferEncoding'. Did you mean '"utf-8"'? Overload 3 of 3, '(path: number | PathLike, options?: BufferEncoding | (BaseEncodingOptions & { flag?: string | undefined; }) | null | undefined): string | Buffer', gave the following error. Type '"UTF-8"' is not assignable to type 'BufferEncoding | null | undefined'. Did you mean '"utf-8"'? at error (/usr/share/nodejs/rollup/dist/shared/rollup.js:163:30) at throwPluginError (/usr/share/nodejs/rollup/dist/shared/rollup.js:15977:12) at Object.error (/usr/share/nodejs/rollup/dist/shared/rollup.js:16683:20) at emitDiagnostic (/usr/share/nodejs/@rollup/plugin-typescript/dist/index.js:442:17) at reportDiagnostics (/usr/share/nodejs/@rollup/plugin-typescript/dist/index.js:450:9) at Array.forEach (<anonymous>) at emitFilesAndReportErrors (/usr/share/nodejs/typescript/lib/typescript.js:120043:21) at Object.result.afterProgramCreate (/usr/share/nodejs/typescript/lib/typescript.js:120221:13) at Object.afterProgramCreate (/usr/share/nodejs/@rollup/plugin-typescript/dist/index.js:544:29) at synchronizeProgram (/usr/share/nodejs/typescript/lib/typescript.js:120518:22)␛[22m dh_auto_build: error: cd ./bcoe-v8-coverage && sh -ex ../debian/nodejs/bcoe-v8-coverage/build returned exit code 1 make[1]: *** [debian/rules:16: override_dh_auto_build] Error 25 make[1]: Leaving directory '/var/lib/nspawn-runner/.build/js-team/nodejs/debian/output/node-jest-27.5.1~ds+~cs69.51.22' make: *** [debian/rules:13: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -- System Information: Debian Release: bookworm/sid APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'unstable'), (101, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.16.0-5-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled -- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel