[Pkg-javascript-devel] Bug#1005523: node-execa: FTBFS: dh_auto_test: error: cd ./human-signals && sh -ex ../debian/nodejs/human-signals/test returned exit code 1

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


Source: node-execa
Version: 5.1.1+repack+~cs17.3.6-1
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):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> echo 'int main() { return 0; }' | gcc -x c -o test/fixtures/fast-exit-linux -
> dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> Found debian/nodejs/human-signals/build
> 	cd ./human-signals && sh -ex ../debian/nodejs/human-signals/build
> + babeljs -d build/src --presets=@babel/preset-env src/
> Successfully compiled 4 files with Babel (469ms).
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test --buildsystem=nodejs
> 	ln -s ../debian/tests/test_modules/big-cartesian node_modules/big-cartesian
> 	ln -s ../debian/tests/test_modules/test-each node_modules/test-each
> 	ln -s ../. node_modules/execa
> 	cd ./human-signals && sh -ex ../debian/nodejs/human-signals/test
> + jest --ci --testRegex test/main.js
> Error: Cannot find module 'strip-json-comments'
> Require stack:
> - /usr/share/nodejs/jest-config/build/readConfigFileAndSetRootDir.js
> - /usr/share/nodejs/jest-config/build/index.js
> - /usr/share/nodejs/jest-cli/build/init/index.js
> - /usr/share/nodejs/jest-cli/build/cli/index.js
> - /usr/share/nodejs/jest-cli/build/index.js
> - /usr/share/nodejs/jest-cli/bin/jest.js
> - /usr/share/nodejs/jest/bin/jest.js
>     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
>     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 _stripJsonComments (/usr/share/nodejs/jest-config/build/readConfigFileAndSetRootDir.js:39:39)
>     at readConfigFileAndSetRootDir (/usr/share/nodejs/jest-config/build/readConfigFileAndSetRootDir.js:88:52)
>     at readConfig (/usr/share/nodejs/jest-config/build/index.js:169:65)
>     at readConfigs (/usr/share/nodejs/jest-config/build/index.js:352:32)
>     at runCLI (/usr/share/nodejs/@jest/core/build/cli/index.js:123:43)
>     at Object.run (/usr/share/nodejs/jest-cli/build/cli/index.js:118:34)
> dh_auto_test: error: cd ./human-signals && sh -ex ../debian/nodejs/human-signals/test returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2022/02/12/node-execa_5.1.1+repack+~cs17.3.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!

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