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

Lucas Nussbaum lucas at debian.org
Sat Oct 23 22:06:13 BST 2021


Source: node-is-reference
Version: 1.2.1-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211023 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>>'
> rollup -c
> 
> src/index.ts → dist/is-reference.js, dist/is-reference.es.js...
> created dist/is-reference.js, dist/is-reference.es.js in 108ms
> tsc --emitDeclarationOnly
> Files:              13
> Lines:            6962
> Nodes:           20915
> Identifiers:      8477
> Symbols:          5701
> Types:            2506
> Instantiations:    421
> Memory used:    35118K
> I/O read:        0.00s
> I/O write:       0.00s
> Parse time:      0.24s
> Bind time:       0.09s
> Check time:      0.25s
> Emit time:       0.01s
> Total time:      0.59s
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test --buildsystem=nodejs
> 	ln -s ../. node_modules/is-reference
> 	/bin/sh -ex debian/tests/pkg-js/test
> + mocha test
> 
> 
>   is-reference
>     positive
>       undefined simple identifier
>       undefined variable declaration
>       undefined function name
>       undefined function parameter
>       undefined object pattern
>       undefined array pattern
>       undefined assignment pattern
>       undefined assignment pattern in object pattern
>       undefined member expression object
>       undefined computed object literal property
>       undefined object literal property value
>       undefined computed class field
>       undefined class field value
>       undefined handles standalone expressions, without a Program
>     negative
>       undefined object literal property
>       undefined member expression property
>       undefined export-as
>       undefined labeled break
>       undefined labeled continue
>       undefined imported
>       1) class field
> 
> 
>   20 passing (24ms)
>   1 failing
> 
>   1) is-reference
>        negative
>          class field:
> 
>       AssertionError [ERR_ASSERTION]: 1 == 0
>       + expected - actual
> 
>       -1
>       +0
>       
>       at Context.<anonymous> (test/test.js:100:12)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:681:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:804:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:596:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:606:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:489:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:574:5)
>       at processImmediate (internal/timers.js:461: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/2021/10/23/node-is-reference_1.2.1-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 mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list