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

Lucas Nussbaum lucas at debian.org
Sun Oct 23 14:15:17 BST 2022


Source: node-global-modules
Version: 2.0.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221023 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 ../. node_modules/global-modules
> 	/bin/sh -ex debian/tests/pkg-js/test
> + mocha
> 
> 
>   global-modules
>     1) should resolve the path to the global npm modules directory:
> 
> 
>   0 passing (20ms)
>   1 failing
> 
>   1) global-modules
>        should resolve the path to the global npm modules directory::
> 
>       AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
> 
>   assert(fs.existsSync(gm))
> 
>       + expected - actual
> 
>       -false
>       +true
>       
>       at Context.<anonymous> (test.js:17:5)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:666:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:789:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:581:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:591:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:474:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:559:5)
>       at process.processImmediate (node:internal/timers:471:21)
> 
> 
> 
> 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/10/23/node-global-modules_2.0.0-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221023;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221023&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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