[From nobody Mon Aug 17 11:37:09 2026
Received: (at submit) by bugs.debian.org; 16 Aug 2026 23:02:45 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-121.3 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
 PP_MIME_FAKE_ASCII_TEXT,USER_IN_DKIM_WELCOMELIST,X_DEBBUGS_CC
 autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 51; hammy, 150; neutral, 287; spammy,
 0. spammytokens: hammytokens:0.000-+--HTo:N*Debian,
 0.000-+--forky, 
 0.000-+--H*F:U*sanvila, 0.000-+--H*rp:U*sanvila, 0.000-+--sk:dh_auto
Return-path: &lt;sanvila@debian.org&gt;
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:58272)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wvjsL-00B48L-25
 for submit@bugs.debian.org; Sun, 16 Aug 2026 23:02:45 +0000
Received: via submission
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by muffat.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wvjsL-00AauR-1p
 for submit@bugs.debian.org; Sun, 16 Aug 2026 23:02:45 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=esM+WSRW8juU7kRAgTYBK9f+k5aMXQxdQWoHCLZlgUA=; b=GEn636yDJMJPXgvNzgeG6H7YFW
 jg7TvaSjR+btH8brL/+KSs7o5PEoGphPzAsJjR3x2luZd0l1Xvc0FLL0g0DYY6mYR23QsvdtptCjr
 HTrshY3rl7NCXwJ4Czb75Dvfd4/ybJHWK2Qc79u0pJnG3I/sG1whiXTbGcdkuuHvb6mq69bI9rheK
 h2VKQD+/LR6Q7J0APkDYkQQMPRxHIIrJSO0Gsznrv7kV+7vyorYcu5GaQiS0sJT8MqaTen4CgheHd
 qmMEFeOCP8UA3JXZI+vwImP0PenRiQLQFrwl/KiVICXxIfLw/bD6gm6bCda1pw0ZskAlC07mKANeK
 WK7m6B3g==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1wvjsL-009q5m-1T
 for submit@bugs.debian.org; Sun, 16 Aug 2026 23:02:45 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: node-nearley: FTBFS with node-typescript 6
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1wvjsL-009q5m-1T@paradis.debian.org&gt;
Date: Sun, 16 Aug 2026 23:02:45 +0000
Delivered-To: submit@bugs.debian.org

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 -&gt; /usr/share/nodejs/@types/moo
Link ./node_modules/commander -&gt; /usr/share/nodejs/commander
Link ./node_modules/expect -&gt; /usr/share/nodejs/expect
Link ./node_modules/moo -&gt; /usr/share/nodejs/moo
Link ./node_modules/railroad-diagrams -&gt; /usr/share/nodejs/railroad-diagrams
Link ./node_modules/randexp -&gt; /usr/share/nodejs/randexp
Link ./node_modules/sinon -&gt; /usr/share/nodejs/sinon
   dh_auto_build --buildsystem=nodejs
Found debian/nodejs/./build
	cd ./. &amp;&amp; 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.&lt;anonymous&gt; (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.&lt;anonymous&gt; (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
--------------------------------------------------------------------------------
]