Package: src:node-nearley Version: 2.20.1-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202608/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:node-nearley, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean dh_auto_clean --buildsystem=nodejs rm -rf ./node_modules/.cache ./.nyc_output rm ./node_modules/.cache unlink ./node_modules/@types/moo Trying to remove ./node_modules/@types unlink ./node_modules/commander unlink ./node_modules/expect unlink ./node_modules/moo unlink ./node_modules/railroad-diagrams unlink ./node_modules/randexp unlink ./node_modules/sinon rm ./node_modules/.cache unlink ./node_modules/@types/moo Trying to remove ./node_modules/@types unlink ./node_modules/commander unlink ./node_modules/expect unlink ./node_modules/moo unlink ./node_modules/railroad-diagrams unlink ./node_modules/randexp unlink ./node_modules/sinon dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure --buildsystem=nodejs Link ./node_modules/@types/moo -> /usr/share/nodejs/@types/moo Link ./node_modules/commander -> /usr/share/nodejs/commander Link ./node_modules/expect -> /usr/share/nodejs/expect Link ./node_modules/moo -> /usr/share/nodejs/moo Link ./node_modules/railroad-diagrams -> /usr/share/nodejs/railroad-diagrams Link ./node_modules/randexp -> /usr/share/nodejs/randexp Link ./node_modules/sinon -> /usr/share/nodejs/sinon dh_auto_build --buildsystem=nodejs Found debian/nodejs/./build cd ./. && sh -ex debian/nodejs/./build + bin/nearleyc.js lib/nearley-language-bootstrapped.ne + mv tmp lib/nearley-language-bootstrapped.js dh_auto_test --buildsystem=nodejs ln -s ../. node_modules/nearley /bin/sh -ex debian/tests/pkg-js/test + mocha -i -f ES6 test/bootstrap.test.js test/lint.test.js test/nearleyc.test.js test/parser.test.js bootstrapped lexer â lexes directives â lexes a simple rule â lexes arrows â lexes js code â lexes charclasses â rejects newline in charclass â lexes macros â lexes strings â lexes strings non-greedily â lexes a rule bootstrapped parser â parses directives â parses simple rules â parses postprocessors â parses js code â parses options â parses tokens â parses strings â parses charclasses â parses macro definitions â parses macro use â parses macro use â parses a rule Linter â runs without warnings on empty rules â warns about undefined symbol â doesn't warn about defined symbol â doesn't warn about duplicate symbol bin/nearleyc â builds for ES5 (58ms) â builds for CoffeeScript (134ms) 1) builds for TypeScript 2) builds for TypeScript with `--strict` with no type errors â builds modules in folders (56ms) â builds modules with multiple includes of the same file (54ms) â warns about undefined symbol (55ms) â doesn't warn when used with the --quiet option (54ms) â allows trailing comments without newline terminators (52ms) nearleyc: example grammars â calculator example â csscolor example â exponential whitespace bug â percent bug â json â classic crontab â case-insensitive strings â scannerless nearley grammar nearleyc: builtins â generate includes id - nuller nearleyc: macros â seems to work â must be defined before use â compiles a simple macro from external file Parser: API â shows line number in errors â shows token index in errors â shows user friend error with state stack info â displays user friendly error even on lexer errors â displays current parser state if no more token expected â collapes identical consecutive lines â does not infinitely recurse on self-referential states â can save state â can rewind â won't rewind without `keepHistory` option â restores line numbers â restores column number Parser: examples â nullable whitespace bug â parentheses â tokens â tokens 2 â json â tosh â fun-lang memory test (shouldn't use excessive memory for error reporting) â should give accurate line and col counts in error reporting 65 passing (1s) 1 pending 2 failing 1) bin/nearleyc builds for TypeScript: SyntaxError: The requested module 'moo' does not provide an export named 'compile' at ModuleJobSync.runSync (node:internal/modules/esm/module_job:528:17) at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:343:47) at loadESMFromCJS (node:internal/modules/cjs/loader:1690:24) at Module._compile (node:internal/modules/cjs/loader:1854:5) at Object..js (node:internal/modules/cjs/loader:2003:10) at Module.load (node:internal/modules/cjs/loader:1594:32) at Module._load (node:internal/modules/cjs/loader:1396:12) at wrapModuleLoad (node:internal/modules/cjs/loader:255:19) at Module.require (node:internal/modules/cjs/loader:1617:12) at require (node:internal/modules/helpers:153:16) at typeScriptCheck (test/nearleyc.test.js:27:50) at Context.<anonymous> (test/nearleyc.test.js:74:9) 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:809:10) at /usr/share/nodejs/mocha/lib/runner.js:959:12 at next (/usr/share/nodejs/mocha/lib/runner.js:724:14) at /usr/share/nodejs/mocha/lib/runner.js:734:7 at next (/usr/share/nodejs/mocha/lib/runner.js:595:14) at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:702:5) at process.processImmediate (node:internal/timers:534:21) 2) bin/nearleyc builds for TypeScript with `--strict` with no type errors: SyntaxError: The requested module 'moo' does not provide an export named 'compile' at ModuleJobSync.runSync (node:internal/modules/esm/module_job:528:17) at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:343:47) at loadESMFromCJS (node:internal/modules/cjs/loader:1690:24) at Module._compile (node:internal/modules/cjs/loader:1854:5) at Object..js (node:internal/modules/cjs/loader:2003:10) at Module.load (node:internal/modules/cjs/loader:1594:32) at Module._load (node:internal/modules/cjs/loader:1396:12) at wrapModuleLoad (node:internal/modules/cjs/loader:255:19) at Module.require (node:internal/modules/cjs/loader:1617:12) at require (node:internal/modules/helpers:153:16) at typeScriptCheck (test/nearleyc.test.js:27:50) at Context.<anonymous> (test/nearleyc.test.js:79:9) 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:809:10) at /usr/share/nodejs/mocha/lib/runner.js:959:12 at next (/usr/share/nodejs/mocha/lib/runner.js:724:14) at /usr/share/nodejs/mocha/lib/runner.js:734:7 at next (/usr/share/nodejs/mocha/lib/runner.js:595:14) at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:702:5) at process.processImmediate (node:internal/timers:534:21) dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 2 make: *** [debian/rules:8: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

