[Pkg-javascript-devel] Bug#1006078: node-eslint-utils: FTBFS: Function 'getFunctionNameWithKind' has a complexity of 20. Maximum allowed is 16.

Lucas Nussbaum lucas at debian.org
Sat Feb 19 06:49:24 GMT 2022


Source: node-eslint-utils
Version: 2.1.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> eslint --format tap src test
> TAP version 13
> 1..25
> ok 1 - /<<PKGBUILDDIR>>/src/find-variable.js
> ok 2 - /<<PKGBUILDDIR>>/src/get-function-head-location.js
> ok 3 - /<<PKGBUILDDIR>>/src/get-function-name-with-kind.js
>   ---
>   message: >-
>     Function 'getFunctionNameWithKind' has a complexity of 20. Maximum allowed is
>     16.
>   severity: warning
>   data:
>     line: 8
>     column: 8
>     ruleId: complexity
>   ...
> ok 4 - /<<PKGBUILDDIR>>/src/get-innermost-scope.js
> ok 5 - /<<PKGBUILDDIR>>/src/get-property-name.js
> not ok 6 - /<<PKGBUILDDIR>>/src/get-static-value.js
>   ---
>   message: '''global'' is already defined as a built-in global variable.'
>   severity: error
>   data:
>     line: 1
>     column: 32
>     ruleId: no-redeclare
>   ...
> ok 7 - /<<PKGBUILDDIR>>/src/get-string-if-constant.js
> ok 8 - /<<PKGBUILDDIR>>/src/has-side-effect.js
> ok 9 - /<<PKGBUILDDIR>>/src/index.js
> ok 10 - /<<PKGBUILDDIR>>/src/is-parenthesized.js
> ok 11 - /<<PKGBUILDDIR>>/src/pattern-matcher.js
> ok 12 - /<<PKGBUILDDIR>>/src/reference-tracker.js
> ok 13 - /<<PKGBUILDDIR>>/src/token-predicate.js
> ok 14 - /<<PKGBUILDDIR>>/test/find-variable.js
> ok 15 - /<<PKGBUILDDIR>>/test/get-function-head-location.js
> ok 16 - /<<PKGBUILDDIR>>/test/get-function-name-with-kind.js
> ok 17 - /<<PKGBUILDDIR>>/test/get-innermost-scope.js
> ok 18 - /<<PKGBUILDDIR>>/test/get-property-name.js
> ok 19 - /<<PKGBUILDDIR>>/test/get-static-value.js
> ok 20 - /<<PKGBUILDDIR>>/test/get-string-if-constant.js
> ok 21 - /<<PKGBUILDDIR>>/test/has-side-effect.js
> ok 22 - /<<PKGBUILDDIR>>/test/is-parenthesized.js
> ok 23 - /<<PKGBUILDDIR>>/test/pattern-matcher.js
> ok 24 - /<<PKGBUILDDIR>>/test/reference-tracker.js
> ok 25 - /<<PKGBUILDDIR>>/test/token-predicate.js
> 
> make[1]: *** [debian/rules:24: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/02/18/node-eslint-utils_2.1.0-3_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