[From nobody Wed Jul  1 21:47:32 2026
Received: (at submit) by bugs.debian.org; 1 Jul 2026 11:32:34 +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.4 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
 PP_MIME_FAKE_ASCII_TEXT,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, 133; hammy, 150; neutral, 178; 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-+--H*r:sanvila
Return-path: &lt;sanvila@debian.org&gt;
Received: from mitropoulos.debian.org
 ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:56088)
 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 1wetBB-009YUE-2Y
 for submit@bugs.debian.org; Wed, 01 Jul 2026 11:32:33 +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 1wetBA-00GgsB-0f
 for submit@bugs.debian.org; Wed, 01 Jul 2026 11:32:32 +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=soiqlPTL9hHblUxGZhlZcmSQTjs+1WtFaHqD4bMlNHU=; b=KRBITM1hH9tHgYfip4kikUqiQH
 sdZ9ryosRcbXqSR4wG+3XbhL+5GseRXSqp5U+uuZJ7pZuYEns5ib7MJkaDIdhW9yuNPDt8lTCt4Tx
 aYjtz0dUTxfo0pRGJE+8F5aV5IlqqlJ4c5UUCs0vehMyIcRTQxZs2IxbEiHdnUobEyxNIKTDa1mIM
 gl2PquC/ujGHeH/dIXgjZsePi64lsmvEJMuYm0qGuQlQ6jMa5Eo9G7k3W+S6+y6/MVyDhQlJ+iR9i
 kGSgq8IKK7fRL4pd4ZL1/VUw+XcbwFEDUjHP8JUVgJ4h2jCZr2R3fdgAbeeRzto3ay087mb9GThqe
 Y+M2/Ccg==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1wetB8-00DaBM-1v
 for submit@bugs.debian.org; Wed, 01 Jul 2026 11:32:30 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: node-webpack: FTBFS: FAIL test/SideEffectsFlagPlugin.unittest.js
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1wetB8-00DaBM-1v@paradis.debian.org&gt;
Date: Wed, 01 Jul 2026 11:32:30 +0000
Delivered-To: submit@bugs.debian.org

Package: src:node-webpack
Version: 5.107.2+dfsg1+~cs15.16.25-2
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/202607/

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

Thanks.

--------------------------------------------------------------------------------
[...]
PASS test/ContextModuleFactory.unittest.js
PASS test/compareSourceOrder.unittest.js
PASS test/walkCssTokens.unittest.js
PASS test/compileBooleanMatcher.unittest.js
PASS test/BinaryMiddleware.unittest.js (12.648 s)
FAIL test/SideEffectsFlagPlugin.unittest.js
  ● Test suite failed to run

    Cannot find module 'glob-to-regexp' from 'lib/optimize/SideEffectsFlagPlugin.js'

    Require stack:
      lib/optimize/SideEffectsFlagPlugin.js
      test/SideEffectsFlagPlugin.unittest.js

      363 |   _throwModNotFoundError(from, moduleName) {
      364 |     const relativePath = (0, _slash().default)(path().relative(this._options.rootDir, from)) || '.';
    &gt; 365 |     throw new _ModuleNotFoundError.default(`Cannot find module '${moduleName}' from '${relativePath}'`, moduleName);
          |           ^
      366 |   }
      367 |   _getMapModuleName(matches) {
      368 |     return matches ? moduleName =&gt; moduleName.replace(/\$([0-9]+)/g, (_, index) =&gt; matches[parseInt(index, 10)]) : moduleName =&gt; moduleName;

      at Resolver._throwModNotFoundError (../../../usr/share/nodejs/jest-resolve/build/resolver.js:365:11)
      at Object.&lt;anonymous&gt; (lib/optimize/SideEffectsFlagPlugin.js:8:21)
      at Object.&lt;anonymous&gt; (test/SideEffectsFlagPlugin.unittest.js:3:31)

PASS test/compareLocations.unittest.js
PASS test/deterministicGrouping.unittest.js
PASS test/createMappings.unittest.js
PASS test/compareStringsNumeric.unittest.js
PASS test/MultiWatching.unittest.js
PASS test/RuntimeTemplate.unittest.js
PASS test/MultiItemCache.unittest.js
PASS test/target-browserslist.unittest.js
PASS test/extractSourceMap.unittest.js
 › 3 snapshots written.
 › 3 snapshots removed.
   • getSourceMappingURL should work with &quot;&quot;\n        /*# sourceMappingURL=data:application/json;base64,&quot;+btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))+&quot; */&quot;;&quot; url: result 1
   • getSourceMappingURL should work with &quot;\n        with SourceMap\n        // #sourceMappingURL = /sample-source-map-1.map\n        // #sourceMappingURL = /sample-source-map-2.map\n        // #sourceMappingURL = /sample-source-map-last.map\n        // comment\n        &quot; url: result 1
   • getSourceMappingURL should work with &quot;\n        with SourceMap\n    \n        // #sourceMappingURL = /sample-source-map.map\n        // comment\n        &quot; url: result 1
PASS test/URLAbsoluteSpecifier.unittest.js
PASS test/findGraphRoots.unittest.js
PASS test/CleanPlugin.unittest.js
PASS test/smartGrouping.unittest.js
PASS test/formatLocation.unittest.js
PASS test/ModuleDependencyError.unittest.js
PASS test/formatSize.unittest.js
PASS test/LocalModulesHelpers.unittest.js
PASS test/SortableSet.unittest.js
PASS test/RawModule.unittest.js
PASS test/extractUrlAndGlobal.unittest.js
PASS test/Queue.unittest.js
PASS test/AppendOnlyStackedSet.unittest.js
PASS test/propertyAccess.unittest.js
PASS test/RequestShortener.unittest.js
PASS test/nonNumericOnlyHash.unittest.js
PASS test/AbstractMethodError.unittest.js
PASS test/Template.unittest.js
PASS test/LazySet.unittest.js
PASS test/WebpackError.unittest.js
PASS test/ContextModule.unittest.js
PASS test/Chunk.unittest.js
PASS test/numberHash.unittest.js
PASS test/propertyName.unittest.js
PASS test/ArrayHelpers.unittest.js
PASS test/objectToMap.unittest.js

Summary of all failing tests
FAIL test/SideEffectsFlagPlugin.unittest.js
  ● Test suite failed to run

    Cannot find module 'glob-to-regexp' from 'lib/optimize/SideEffectsFlagPlugin.js'

    Require stack:
      lib/optimize/SideEffectsFlagPlugin.js
      test/SideEffectsFlagPlugin.unittest.js

      363 |   _throwModNotFoundError(from, moduleName) {
      364 |     const relativePath = (0, _slash().default)(path().relative(this._options.rootDir, from)) || '.';
    &gt; 365 |     throw new _ModuleNotFoundError.default(`Cannot find module '${moduleName}' from '${relativePath}'`, moduleName);
          |           ^
      366 |   }
      367 |   _getMapModuleName(matches) {
      368 |     return matches ? moduleName =&gt; moduleName.replace(/\$([0-9]+)/g, (_, index) =&gt; matches[parseInt(index, 10)]) : moduleName =&gt; moduleName;

      at Resolver._throwModNotFoundError (../../../usr/share/nodejs/jest-resolve/build/resolver.js:365:11)
      at Object.&lt;anonymous&gt; (lib/optimize/SideEffectsFlagPlugin.js:8:21)
      at Object.&lt;anonymous&gt; (test/SideEffectsFlagPlugin.unittest.js:3:31)


Snapshot Summary
 › 3 snapshots written from 1 test suite.
 › 3 snapshots removed from 1 test suite.
   ↳ test/extractSourceMap.unittest.js
       • getSourceMappingURL should work with &quot;&quot;\n        /*# sourceMappingURL=data:application/json;base64,&quot;+btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))+&quot; */&quot;;&quot; url: result 1
       • getSourceMappingURL should work with &quot;\n        with SourceMap\n        // #sourceMappingURL = /sample-source-map-1.map\n        // #sourceMappingURL = /sample-source-map-2.map\n        // #sourceMappingURL = /sample-source-map-last.map\n        // comment\n        &quot; url: result 1
       • getSourceMappingURL should work with &quot;\n        with SourceMap\n    \n        // #sourceMappingURL = /sample-source-map.map\n        // comment\n        &quot; url: result 1

Test Suites: 1 failed, 51 passed, 52 total
Tests:       19965 passed, 19965 total
Snapshots:   3 removed, 3 written, 97 passed, 100 total
Time:        21.386 s
Ran all test suites matching /test\/AbstractMethodError.unit [too-long-redacted] \/walkHtmlTokens.unittest.js/i.
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?
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
--------------------------------------------------------------------------------
]