[Pkg-javascript-devel] Bug#973117: node-parse-json: FTBFS: tests failed
Lucas Nussbaum
lucas at debian.org
Tue Oct 27 17:07:49 GMT 2020
Source: node-parse-json
Version: 5.1.0+~1.1.6-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201027 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-parse-json
> dpkg-buildpackage: info: source version 5.1.0+~1.1.6-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 lines-and-columns/node_modules/.cache
> Use of uninitialized value $package in concatenation (.) or string at /usr/share/perl5/Debian/Debhelper/Buildsystem/nodejs.pm line 943.
> dh_clean
> dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building node-parse-json using existing ./node-parse-json_5.1.0+~1.1.6.orig-lines-and-columns.tar.gz
> dpkg-source: info: building node-parse-json using existing ./node-parse-json_5.1.0+~1.1.6.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building node-parse-json in node-parse-json_5.1.0+~1.1.6-1.debian.tar.xz
> dpkg-source: info: building node-parse-json in node-parse-json_5.1.0+~1.1.6-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 lines-and-columns/node_modules
> ln -s /usr/share/nodejs/assert lines-and-columns/node_modules/
> internal/modules/cjs/loader.js:834
> throw err;
> ^
>
> Error: Cannot find module '@types/mocha'
> Require stack:
> - /<<PKGBUILDDIR>>/[eval]
> at Function.Module._resolveFilename (internal/modules/cjs/loader.js:831:15)
> at Function.resolve (internal/modules/cjs/helpers.js:80:19)
> at [eval]:1:21
> at Script.runInThisContext (vm.js:120:18)
> at Object.runInThisContext (vm.js:309:38)
> at Object.<anonymous> ([eval]-wrapper:10:26)
> at Module._compile (internal/modules/cjs/loader.js:1015:30)
> at evalScript (internal/process/execution.js:94:25)
> at internal/main/eval_string.js:23:3 {
> code: 'MODULE_NOT_FOUND',
> requireStack: [
> '/<<PKGBUILDDIR>>/[eval]'
> ]
> }
> ### @types/mocha NOT FOUND
> ln -s ../lines-and-columns node_modules/lines-and-columns
> dh_auto_build --buildsystem=nodejs
> Found debian/nodejs/lines-and-columns/build
> cd ./lines-and-columns && sh -ex ../debian/nodejs/lines-and-columns/build
> + TSC=tsc ./script/build
> Building ES module version.
> test/test.ts(4,1): error TS2582: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
> test/test.ts(5,3): error TS2582: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
> test/test.ts(10,3): error TS2582: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
> test/test.ts(15,3): error TS2582: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
> test/test.ts(21,3): error TS2582: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
> test/test.ts(26,3): error TS2582: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
> test/test.ts(31,3): error TS2582: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
> test/test.ts(36,3): error TS2582: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
> test/test.ts(41,3): error TS2582: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
> test/test.ts(46,3): error TS2582: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
> test/test.ts(53,3): error TS2582: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
> test/test.ts(59,3): error TS2582: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
> test/test.ts(65,3): error TS2582: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
> test/test.ts(71,3): error TS2582: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
> test/test.ts(83,3): error TS2582: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
> dh_auto_build: error: cd ./lines-and-columns && sh -ex ../debian/nodejs/lines-and-columns/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/10/27/node-parse-json_5.1.0+~1.1.6-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