Source: node-js-tokens Version: 6.0.0-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20211228 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>>' > node build.js > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test --buildsystem=nodejs > mkdir -p node_modules > ln -s ../debian/tests/test_modules/test262-parser-tests > node_modules/test262-parser-tests > ln -s ../build node_modules/js-tokens > /bin/sh -ex debian/tests/pkg-js/test > + ln -s . build > ln: failed to create symbolic link 'build/.': File exists > + true > + jest --ci -u > PASS test/template.test.js > PASS test/index.test.js > PASS test/jsx.test.js > PASS test/nesting.test.js > PASS test/example.test.js > FAIL test/fixtures.test.js (5.166 s) > ● valid › JSX/script/Babel/JSON: test/fixtures/valid/jsx1.jsx > > SyntaxError: Unexpected token, expected "}" (20:52) > > 567 | > 568 | _raise(errorContext, message) { > > 569 | const err = new SyntaxError(message); > | ^ > 570 | Object.assign(err, errorContext); > 571 | > 572 | if (this.options.errorRecovery) { > > at Object._raise > (../../../usr/share/nodejs/@babel/parser/lib/index.js:569:17) > at Object.raiseWithData > (../../../usr/share/nodejs/@babel/parser/lib/index.js:562:17) > at Object.raise > (../../../usr/share/nodejs/@babel/parser/lib/index.js:523:17) > at Object.unexpected > (../../../usr/share/nodejs/@babel/parser/lib/index.js:3601:16) > at Object.readTemplateContinuation > (../../../usr/share/nodejs/@babel/parser/lib/index.js:2991:12) > at Object.parseTemplate > (../../../usr/share/nodejs/@babel/parser/lib/index.js:12515:12) > at Object.parseExprAtom > (../../../usr/share/nodejs/@babel/parser/lib/index.js:12005:21) > at Object.parseExprAtom > (../../../usr/share/nodejs/@babel/parser/lib/index.js:7523:20) > at Object.parseExprSubscripts > (../../../usr/share/nodejs/@babel/parser/lib/index.js:11654:23) > at Object.parseUpdate > (../../../usr/share/nodejs/@babel/parser/lib/index.js:11634:21) > > PASS test/expression-vs-operator.test.js (7.157 s) > > Test Suites: 1 failed, 6 passed, 7 total > Tests: 1 failed, 24946 passed, 24947 total > Snapshots: 10 passed, 10 total > Time: 8.312 s > Ran all test suites. > 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/12/28/node-js-tokens_6.0.0-2_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.