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
--------------------------------------------------------------------------------