[Pkg-javascript-devel] Bug#978309: node-cross-spawn-async: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
Lucas Nussbaum
lucas at debian.org
Sat Dec 26 21:54:21 GMT 2020
Source: node-cross-spawn-async
Version: 2.2.5-4
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201226 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> dh build --with nodejs
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure --buildsystem=nodejs
> dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> dh_auto_test --buildsystem=nodejs
> mkdir -p node_modules
> ln -s ../. node_modules/cross-spawn-async
> /bin/sh -ex debian/tests/pkg-js/test
> + nodejs test/prepare
> Copied "prepare_()%!^&;, .sh" to "()%!^&;, "
> + mocha -C -R spec --timeout 8000 test/test
>
> Error: Cannot find module 'mkdirp'
> Require stack:
> - /<<PKGBUILDDIR>>/test/test.js
> - /usr/share/nodejs/mocha/lib/esm-utils.js
> - /usr/share/nodejs/mocha/lib/mocha.js
> - /usr/share/nodejs/mocha/lib/cli/one-and-dones.js
> - /usr/share/nodejs/mocha/lib/cli/options.js
> - /usr/share/nodejs/mocha/bin/mocha
> at Function.Module._resolveFilename (internal/modules/cjs/loader.js:831:15)
> at Function.Module._load (internal/modules/cjs/loader.js:687:27)
> at Module.require (internal/modules/cjs/loader.js:903:19)
> at require (internal/modules/cjs/helpers.js:74:18)
> at Object.<anonymous> (/<<PKGBUILDDIR>>/test/test.js:7:14)
> at Module._compile (internal/modules/cjs/loader.js:1015:30)
> at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
> at Module.load (internal/modules/cjs/loader.js:879:32)
> at Function.Module._load (internal/modules/cjs/loader.js:724:14)
> at Module.require (internal/modules/cjs/loader.js:903:19)
> at require (internal/modules/cjs/helpers.js:74:18)
> at Object.exports.requireOrImport (/usr/share/nodejs/mocha/lib/esm-utils.js:20:12)
> at Object.exports.loadFilesAsync (/usr/share/nodejs/mocha/lib/esm-utils.js:33:34)
> at Mocha.loadFilesAsync (/usr/share/nodejs/mocha/lib/mocha.js:431:19)
> at singleRun (/usr/share/nodejs/mocha/lib/cli/run-helpers.js:125:15)
> at exports.runMocha (/usr/share/nodejs/mocha/lib/cli/run-helpers.js:190:10)
> at Object.exports.handler (/usr/share/nodejs/mocha/lib/cli/run.js:362:11)
> at /usr/share/nodejs/yargs/lib/command.js:238:63
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
The full build log is available from:
http://qa-logs.debian.net/2020/12/26/node-cross-spawn-async_2.2.5-4_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!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.
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