[From nobody Mon Oct  5 20:07:06 2026
Received: (at submit) by bugs.debian.org; 5 Oct 2026 16:40:56 +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=-120.3 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
 RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,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, 23; hammy, 150; neutral, 185; spammy,
 0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
 0.000-+--PKGBUILDDIR, 0.000-+--HTo:N*Debian, 0.000-+--forky,
 0.000-+--H*F:U*sanvila
Return-path: &lt;sanvila@debian.org&gt;
Received: from mitropoulos.debian.org
 ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:57960)
 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 1xDlkG-00EYHT-2F
 for submit@bugs.debian.org; Mon, 05 Oct 2026 16:40:56 +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 mitropoulos.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 1xDlkE-004SDo-0x
 for submit@bugs.debian.org; Mon, 05 Oct 2026 16:40:54 +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=MCXExGASLdw1/MUyrSrJVVRN4Dc1Cs3MtbAsfhWjlgg=; b=l2rXJ1g7d5psPDRavDULfQR+hq
 b6Zp8/NMSUCAC9tYLwxyV0Wo5xbpcywmbCQg35aVdfG9mBzWS3ggAvRpw2WCGoZL5NTvedUrBnvIZ
 BOCkrRrByokkEzIVoGQKLSXp/g2Po/OAQltYdHf416ZXE6HENlgg57uOhLtFfyn1GfjSejwagXaAW
 RNlC4ERpQr9ER0Y80sq/CDWv+Unt6YNSLGFTLARpBi5NzodlkiG+p6DEn8uydIl5ZCyUub54CxHlW
 0IKbNQ3sniIjZFmzNx0dLOoWzBkTDaCgl3T/mieaOgSty91BtRC3oDtgAeQtRIAofieSaXsYAqt95
 LsOiu3Sg==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1xDlkB-0049Ve-0S
 for submit@bugs.debian.org; Mon, 05 Oct 2026 16:40:51 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: node-ajv: FTBFS: Error: Cannot find module 'nanoid'
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1xDlkB-0049Ve-0S@paradis.debian.org&gt;
Date: Mon, 05 Oct 2026 16:40:51 +0000
Delivered-To: submit@bugs.debian.org

Package: src:node-ajv
Version: 8.20.0~ds+~cs7.1.6-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/202610/

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-ajv, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
+ rm -f spec/_json/*.js
+ node scripts/jsontests
+ test  != 
+ TS_NODE_SCOPE=true TS_NODE_PROJECT=spec/tsconfig.json mocha --bail --exit --timeout 100000 -r ts-node/register spec/**/*.spec.{ts,js}

 Exception during run: Error: Cannot find module 'nanoid'
Require stack:
- /&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/tests/test_modules/module-from-string/dist/index.js
- /&lt;&lt;PKGBUILDDIR&gt;&gt;/spec/standalone.spec.ts
- /usr/share/nodejs/mocha/lib/nodejs/esm-utils.cjs
- /usr/share/nodejs/mocha/lib/cli/run-helpers.cjs
    at Module.&lt;anonymous&gt; (node:internal/modules/cjs/loader:1564:15)
    at Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/usr/share/nodejs/@cspotcode/source-map-support/source-map-support.js:811:30)
    at wrapResolveFilename (node:internal/modules/cjs/loader:1118:27)
    at defaultResolveImplForCJSLoading (node:internal/modules/cjs/loader:1142:10)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1169:12)
    at Module._load (node:internal/modules/cjs/loader:1341:5)
    at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
    at Module.require (node:internal/modules/cjs/loader:1674:12)
    at require (node:internal/modules/helpers:157:16)
    at Module.&lt;anonymous&gt; (/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/tests/test_modules/module-from-string/dist/index.js:5:16)
    at Module._compile (node:internal/modules/cjs/loader:1929:14)
    at Module.m._compile (/usr/share/nodejs/ts-node/src/index.ts:1624:23)
    at node:internal/modules/cjs/loader:2060:10
    at Object.require.extensions.&lt;computed&gt; [as .js] (/usr/share/nodejs/ts-node/src/index.ts:1627:12)
    at Module.load (node:internal/modules/cjs/loader:1651:32)
    at Module._load (node:internal/modules/cjs/loader:1443:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
    at Module.require (node:internal/modules/cjs/loader:1674:12)
    at require (node:internal/modules/helpers:157:16)
    at Object.&lt;anonymous&gt; (/&lt;&lt;PKGBUILDDIR&gt;&gt;/spec/standalone.spec.ts:7:1)
    at Module._compile (node:internal/modules/cjs/loader:1929:14)
    at Module.m._compile (/usr/share/nodejs/ts-node/src/index.ts:1624:23)
    at node:internal/modules/cjs/loader:2060:10
    at Object.require.extensions.&lt;computed&gt; [as .ts] (/usr/share/nodejs/ts-node/src/index.ts:1627:12)
    at Module.load (node:internal/modules/cjs/loader:1651:32)
    at Module._load (node:internal/modules/cjs/loader:1443:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
    at Module.require (node:internal/modules/cjs/loader:1674:12)
    at require (node:internal/modules/helpers:157:16)
    at Object.requireModule [as requireOrImport] (/usr/share/nodejs/mocha/lib/nodejs/esm-utils.cjs:99:12)
    at Object.exports.loadFilesAsync (/usr/share/nodejs/mocha/lib/nodejs/esm-utils.cjs:182:34)
    at async singleRun (/usr/share/nodejs/mocha/lib/cli/run-helpers.cjs:174:3)
    at async Object.exports.handler (/usr/share/nodejs/mocha/lib/cli/run.cjs:143:5) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/tests/test_modules/module-from-string/dist/index.js',
    '/&lt;&lt;PKGBUILDDIR&gt;&gt;/spec/standalone.spec.ts',
    '/usr/share/nodejs/mocha/lib/nodejs/esm-utils.cjs',
    '/usr/share/nodejs/mocha/lib/cli/run-helpers.cjs'
  ]
}
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
]