[Pkg-javascript-devel] Bug#1008515: FTBFS in the upstream test suite
julien.puydt at gmail.com
julien.puydt at gmail.com
Mon Mar 28 07:48:45 BST 2022
Package: node-recast
Version:
Severity: serious
Tags: ftbfs
Trying to build the package in an unstable sbuild, I get the following
failure:
1) TypeScript
basic printing:
SyntaxError: Initializers are not allowed in ambient contexts.
(2:27)
at instantiate (node_modules/@babel/parser/src/parse-
error/credentials.js:61:22)
at toParseError (node_modules/@babel/parser/src/parse-
error.js:58:12)
at Object.raise
(node_modules/@babel/parser/src/tokenizer/index.js:1763:19)
at Object.parseVarStatement
(node_modules/@babel/parser/src/plugins/typescript/index.js:2566:16)
at Object.parseStatementContent
(node_modules/@babel/parser/src/parser/statement.js:391:21)
at Object.parseStatementContent
(node_modules/@babel/parser/src/plugins/typescript/index.js:2603:20)
at Object.parseStatement
(node_modules/@babel/parser/src/parser/statement.js:329:17)
at Object.parseExportDeclaration
(node_modules/@babel/parser/src/parser/statement.js:2123:17)
at Object.parseExportDeclaration
(node_modules/@babel/parser/src/plugins/typescript/index.js:2843:15)
at Object.maybeParseExportDeclaration
(node_modules/@babel/parser/src/parser/statement.js:2062:31)
at Object.parseExport
(node_modules/@babel/parser/src/parser/statement.js:1982:29)
at Object.parseExport
(node_modules/@babel/parser/src/plugins/typescript/index.js:2510:22)
at Object.parseStatementContent
(node_modules/@babel/parser/src/parser/statement.js:431:25)
at Object.parseStatementContent
(node_modules/@babel/parser/src/plugins/typescript/index.js:2603:20)
at Object.parseStatement
(node_modules/@babel/parser/src/parser/statement.js:329:17)
at Object.parseBlockOrModuleBlockBody
(node_modules/@babel/parser/src/parser/statement.js:1078:25)
at Object.tsParseModuleBlock
(node_modules/@babel/parser/src/plugins/typescript/index.js:1722:12)
at Object.tsParseModuleOrNamespaceDeclaration
(node_modules/@babel/parser/src/plugins/typescript/index.js:1749:26)
at Object.tsParseDeclaration
(node_modules/@babel/parser/src/plugins/typescript/index.js:2000:25)
at cb
(node_modules/@babel/parser/src/plugins/typescript/index.js:1919:23)
at Object.tsInAmbientContext
(node_modules/@babel/parser/src/plugins/typescript/index.js:3502:16)
at Object.tsTryParseDeclare
(node_modules/@babel/parser/src/plugins/typescript/index.js:1868:19)
at Object.tsParseExpressionStatement
(node_modules/@babel/parser/src/plugins/typescript/index.js:1940:36)
at Object.parseExpressionStatement
(node_modules/@babel/parser/src/plugins/typescript/index.js:2744:18)
at Object.parseStatementContent
(node_modules/@babel/parser/src/parser/statement.js:477:19)
at Object.parseStatementContent
(node_modules/@babel/parser/src/plugins/typescript/index.js:2603:20)
at Object.parseStatement
(node_modules/@babel/parser/src/parser/statement.js:329:17)
at Object.parseBlockOrModuleBlockBody
(node_modules/@babel/parser/src/parser/statement.js:1078:25)
at Object.parseBlockBody
(node_modules/@babel/parser/src/parser/statement.js:1054:10)
at Object.parseProgram
(node_modules/@babel/parser/src/parser/statement.js:214:10)
at Object.parseTopLevel
(node_modules/@babel/parser/src/parser/statement.js:197:25)
at Object.parse
(node_modules/@babel/parser/src/parser/index.js:41:10)
at Object.parse
(node_modules/@babel/parser/src/plugins/typescript/index.js:3581:20)
at Object.parse (node_modules/@babel/parser/src/index.js:58:38)
at Object.parse (parsers/typescript.js:17:27)
at Object.parse (lib/parser.js:23:30)
at check (test/typescript.ts:19:26)
at Context.<anonymous> (test/typescript.ts:276:5)
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:678:10)
at /usr/share/nodejs/mocha/lib/runner.js:801:12
at next (/usr/share/nodejs/mocha/lib/runner.js:593:14)
at /usr/share/nodejs/mocha/lib/runner.js:603:7
at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
at Immediate._onImmediate
(/usr/share/nodejs/mocha/lib/runner.js:571:5)
at processImmediate (internal/timers.js:464:21)
Cheers,
J.Puydt
More information about the Pkg-javascript-devel
mailing list