[Pkg-javascript-devel] Bug#1005538: node-consolidate: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1

Lucas Nussbaum lucas at debian.org
Sun Feb 13 07:42:37 GMT 2022


Source: node-consolidate
Version: 0.16.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220212 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
>  debian/rules binary
> dh binary
>    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 ../debian/tests/test_modules/liquid-node node_modules/liquid-node
> 	ln -s ../debian/tests/test_modules/squirrelly node_modules/squirrelly
> 	ln -s ../debian/tests/test_modules/strftime node_modules/strftime
> 	ln -s ../debian/tests/test_modules/tinyliquid node_modules/tinyliquid
> 	ln -s ../. node_modules/consolidate
> 	/bin/sh -ex debian/tests/pkg-js/test
> + mocha --exit -r chai/register-should
> 
> undefined ERROR: Error: Cannot find module '/usr/share/nodejs/chai/register-should'
>     at createEsmNotFoundErr (internal/modules/cjs/loader.js:842:15)
>     at finalizeEsmResolution (internal/modules/cjs/loader.js:835:15)
>     at resolveExports (internal/modules/cjs/loader.js:424:14)
>     at Function.Module._findPath (internal/modules/cjs/loader.js:464:31)
>     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:802:27)
>     at Function.Module._load (internal/modules/cjs/loader.js:667:27)
>     at Module.require (internal/modules/cjs/loader.js:887:19)
>     at require (internal/modules/cjs/helpers.js:74:18)
>     at exports.requireOrImport (/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:60:20) {
>   code: 'MODULE_NOT_FOUND',
>   path: '/usr/share/nodejs/chai/package.json'
> }
> 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/2022/02/12/node-consolidate_0.16.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!

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 mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list