[From nobody Wed Jul  1 21:47:21 2026
Received: (at submit) by bugs.debian.org; 1 Jul 2026 11:32:27 +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.5 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
 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, 16; hammy, 150; neutral, 370; spammy,
 0. spammytokens: hammytokens:0.000-+--python3,
 0.000-+--pkgbuilddir, 
 0.000-+--PKGBUILDDIR, 0.000-+--HTo:N*Debian, 0.000-+--forky
Return-path: &lt;sanvila@debian.org&gt;
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:60414)
 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 1wetB5-009YTL-0k
 for submit@bugs.debian.org; Wed, 01 Jul 2026 11:32:27 +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 mailly.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 1wetB3-00GoDF-2V
 for submit@bugs.debian.org; Wed, 01 Jul 2026 11:32:25 +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=HNP0X/C12u0CbfOnM9OlUdEJD1hSri0HF0vfOjZS4gE=; b=INYt51Ug516QvFTf2rAPOknEl2
 DpesCmkK1yeUaQSd+SaFToc/PLyXuEajpDMYbSrsHzFu/to8Oy5Tv1NEfnQfsUZyyJB029l1XFxCn
 YL8f8Mx9RfOuvMPefBG1WsbaPm8wnI0+4yjpq53rPriU9h/4X2OMokl2sruvQKIT7Y4z8UUaqMiQq
 Pl+8/qmOCbaL/3o+QzQIIP1cQCj71HFFW0GmMTohLUSimr8IIO0UUAyDlmUNDe9pdv03T4IR46o4b
 /8B5qeJ8bGJic7nPcBz9gfITTTv0jli7wu13NKc2oBBAP2UGnjHSeUkKets5kiANz4/3Ikf5VcFBV
 iiwGX/QA==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1wetB2-00DaB2-1k
 for submit@bugs.debian.org; Wed, 01 Jul 2026 11:32:24 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: jupyter-notebook: FTBFS: Error: Cannot find module 'glob-to-regexp'
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1wetB2-00DaB2-1k@paradis.debian.org&gt;
Date: Wed, 01 Jul 2026 11:32:24 +0000
Delivered-To: submit@bugs.debian.org

Package: src:jupyter-notebook
Version: 7.0.0-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:jupyter-notebook, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
Building extension in .


node:internal/modules/cjs/loader:1517
  const err = new Error(message);
              ^

Error: Cannot find module 'glob-to-regexp'
Require stack:
- /usr/share/nodejs/webpack/lib/optimize/SideEffectsFlagPlugin.js
- /usr/share/nodejs/webpack/lib/WebpackOptionsApply.js
- /usr/share/nodejs/webpack/lib/webpack.js
- /usr/share/nodejs/webpack/lib/index.js
- /&lt;&lt;PKGBUILDDIR&gt;&gt;/node_modules/@jupyterlab/builder/lib/build-labextension.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1517:15)
    at wrapResolveFilename (node:internal/modules/cjs/loader:1071:27)
    at defaultResolveImplForCJSLoading (node:internal/modules/cjs/loader:1095:10)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1122:12)
    at Module._load (node:internal/modules/cjs/loader:1294:5)
    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 Object.&lt;anonymous&gt; (/usr/share/nodejs/webpack/lib/optimize/SideEffectsFlagPlugin.js:8:21)
    at Module._compile (node:internal/modules/cjs/loader:1871:14) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/usr/share/nodejs/webpack/lib/optimize/SideEffectsFlagPlugin.js',
    '/usr/share/nodejs/webpack/lib/WebpackOptionsApply.js',
    '/usr/share/nodejs/webpack/lib/webpack.js',
    '/usr/share/nodejs/webpack/lib/index.js',
    '/&lt;&lt;PKGBUILDDIR&gt;&gt;/node_modules/@jupyterlab/builder/lib/build-labextension.js'
  ]
}

Node.js v24.18.0


/usr/lib/python3/dist-packages/jupyterlab/debuglog.py:56: UserWarning: An error occurred.
  warnings.warn(&quot;An error occurred.&quot;)
/usr/lib/python3/dist-packages/jupyterlab/debuglog.py:57: UserWarning: subprocess.CalledProcessError: Command '['node', '/&lt;&lt;PKGBUILDDIR&gt;&gt;/node_modules/@jupyterlab/builder/lib/build-labextension.js', '--core-path', '/usr/lib/python3/dist-packages/jupyterlab/staging', '/&lt;&lt;PKGBUILDDIR&gt;&gt;/packages/lab-extension']' returned non-zero exit status 1.
  warnings.warn(msg[-1].strip())

/usr/lib/python3/dist-packages/jupyterlab/debuglog.py:58: UserWarning: See the log file for details: /tmp/jupyterlab-debug-v15khlcb.log
  warnings.warn(f&quot;See the log file for details: {log_path!s}&quot;)


Traceback (most recent call last):
  File &quot;/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py&quot;, line 389, in &lt;module&gt;
    main()
    ~~~~^^
  File &quot;/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py&quot;, line 373, in main
    json_out[&quot;return_val&quot;] = hook(**hook_input[&quot;kwargs&quot;])
                             ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py&quot;, line 280, in build_wheel
    return _build_backend().build_wheel(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        wheel_directory, config_settings, metadata_directory
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File &quot;/usr/lib/python3/dist-packages/hatchling/build.py&quot;, line 58, in build_wheel
    return os.path.basename(next(builder.build(directory=wheel_directory, versions=[&quot;standard&quot;])))
                            ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3/dist-packages/hatchling/builders/plugin/interface.py&quot;, line 149, in build
    build_hook.initialize(version, build_data)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3/dist-packages/hatch_jupyter_builder/plugin.py&quot;, line 87, in initialize
    raise e
  File &quot;/usr/lib/python3/dist-packages/hatch_jupyter_builder/plugin.py&quot;, line 82, in initialize
    build_func(self.target_name, version, **build_kwargs)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3/dist-packages/hatch_jupyter_builder/utils.py&quot;, line 115, in npm_builder
    run([*npm_cmd, &quot;run&quot;, build_cmd], cwd=str(abs_path))
    ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3/dist-packages/hatch_jupyter_builder/utils.py&quot;, line 229, in run
    return subprocess.check_call(cmd, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3.13/subprocess.py&quot;, line 419, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/jlpm', 'run', 'build:prod']' returned non-zero exit status 1.

ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:485: build: plugin pyproject failed with: exit code=1: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13  
I: pybuild plugin_pyproject:142: Building wheel for python3.14 with &quot;build&quot; module
I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.14  
* Building wheel...
INFO:hatch_jupyter_builder.utils:Running jupyter-builder
INFO:hatch_jupyter_builder.utils:Building with hatch_jupyter_builder.npm_builder
INFO:hatch_jupyter_builder.utils:With kwargs: {'build_cmd': 'build:prod', 'editable_build_cmd': 'build', 'source_dir': 'packages', 'build_dir': 'notebook/static', 'npm': 'jlpm'}
INFO:hatch_jupyter_builder.utils:Installing build dependencies with npm.  This may take a while...
INFO:hatch_jupyter_builder.utils:&gt; /usr/bin/jlpm install
INFO:hatch_jupyter_builder.utils:&gt; /usr/bin/jlpm run build:prod

&gt; @jupyter-notebook/root@0.1.0 build:prod
&gt; pkgjs-lerna run build:prod 


# packages/application


&gt; @jupyter-notebook/application@7.0.0 build:prod
&gt; tsc -b 


# packages/console-extension


&gt; @jupyter-notebook/console-extension@7.0.0 build:prod
&gt; tsc -b 


# packages/docmanager-extension


&gt; @jupyter-notebook/docmanager-extension@7.0.0 build:prod
&gt; tsc -b 


# packages/terminal-extension


&gt; @jupyter-notebook/terminal-extension@7.0.0 build:prod
&gt; tsc -b 


# packages/ui-components


&gt; @jupyter-notebook/ui-components@7.0.0 build:prod
&gt; tsc -b 


# packages/application-extension


&gt; @jupyter-notebook/application-extension@7.0.0 build:prod
&gt; tsc -b 


# packages/documentsearch-extension


&gt; @jupyter-notebook/documentsearch-extension@7.0.0 build:prod
&gt; tsc -b 


# packages/help-extension


&gt; @jupyter-notebook/help-extension@7.0.0 build:prod
&gt; tsc -b 


# packages/lab-extension


&gt; @jupyter-notebook/lab-extension@7.0.0 build:prod
&gt; jlpm run build:lib &amp;&amp; jlpm run build:labextension 



&gt; @jupyter-notebook/lab-extension@7.0.0 build:lib
&gt; tsc 




&gt; @jupyter-notebook/lab-extension@7.0.0 build:labextension
&gt; jupyter labextension build . 



Building extension in .


node:internal/modules/cjs/loader:1517
  const err = new Error(message);
              ^

Error: Cannot find module 'glob-to-regexp'
Require stack:
- /usr/share/nodejs/webpack/lib/optimize/SideEffectsFlagPlugin.js
- /usr/share/nodejs/webpack/lib/WebpackOptionsApply.js
- /usr/share/nodejs/webpack/lib/webpack.js
- /usr/share/nodejs/webpack/lib/index.js
- /&lt;&lt;PKGBUILDDIR&gt;&gt;/node_modules/@jupyterlab/builder/lib/build-labextension.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1517:15)
    at wrapResolveFilename (node:internal/modules/cjs/loader:1071:27)
    at defaultResolveImplForCJSLoading (node:internal/modules/cjs/loader:1095:10)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1122:12)
    at Module._load (node:internal/modules/cjs/loader:1294:5)
    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 Object.&lt;anonymous&gt; (/usr/share/nodejs/webpack/lib/optimize/SideEffectsFlagPlugin.js:8:21)
    at Module._compile (node:internal/modules/cjs/loader:1871:14) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/usr/share/nodejs/webpack/lib/optimize/SideEffectsFlagPlugin.js',
    '/usr/share/nodejs/webpack/lib/WebpackOptionsApply.js',
    '/usr/share/nodejs/webpack/lib/webpack.js',
    '/usr/share/nodejs/webpack/lib/index.js',
    '/&lt;&lt;PKGBUILDDIR&gt;&gt;/node_modules/@jupyterlab/builder/lib/build-labextension.js'
  ]
}

Node.js v24.18.0


/usr/lib/python3/dist-packages/jupyterlab/debuglog.py:56: UserWarning: An error occurred.
  warnings.warn(&quot;An error occurred.&quot;)
/usr/lib/python3/dist-packages/jupyterlab/debuglog.py:57: UserWarning: subprocess.CalledProcessError: Command '['node', '/&lt;&lt;PKGBUILDDIR&gt;&gt;/node_modules/@jupyterlab/builder/lib/build-labextension.js', '--core-path', '/usr/lib/python3/dist-packages/jupyterlab/staging', '/&lt;&lt;PKGBUILDDIR&gt;&gt;/packages/lab-extension']' returned non-zero exit status 1.
  warnings.warn(msg[-1].strip())

/usr/lib/python3/dist-packages/jupyterlab/debuglog.py:58: UserWarning: See the log file for details: /tmp/jupyterlab-debug-ggnh68s1.log
  warnings.warn(f&quot;See the log file for details: {log_path!s}&quot;)


Traceback (most recent call last):
  File &quot;/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py&quot;, line 389, in &lt;module&gt;
    main()
    ~~~~^^
  File &quot;/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py&quot;, line 373, in main
    json_out[&quot;return_val&quot;] = hook(**hook_input[&quot;kwargs&quot;])
                             ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py&quot;, line 280, in build_wheel
    return _build_backend().build_wheel(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        wheel_directory, config_settings, metadata_directory
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File &quot;/usr/lib/python3/dist-packages/hatchling/build.py&quot;, line 58, in build_wheel
    return os.path.basename(next(builder.build(directory=wheel_directory, versions=[&quot;standard&quot;])))
                            ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3/dist-packages/hatchling/builders/plugin/interface.py&quot;, line 149, in build
    build_hook.initialize(version, build_data)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3/dist-packages/hatch_jupyter_builder/plugin.py&quot;, line 87, in initialize
    raise e
  File &quot;/usr/lib/python3/dist-packages/hatch_jupyter_builder/plugin.py&quot;, line 82, in initialize
    build_func(self.target_name, version, **build_kwargs)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3/dist-packages/hatch_jupyter_builder/utils.py&quot;, line 115, in npm_builder
    run([*npm_cmd, &quot;run&quot;, build_cmd], cwd=str(abs_path))
    ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3/dist-packages/hatch_jupyter_builder/utils.py&quot;, line 229, in run
    return subprocess.check_call(cmd, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3.14/subprocess.py&quot;, line 420, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/jlpm', 'run', 'build:prod']' returned non-zero exit status 1.

ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:485: build: plugin pyproject failed with: exit code=1: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.14  
dh_auto_build: error: pybuild --build -i python{version} -p &quot;3.13 3.14&quot; --parallel=2 returned exit code 13
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 25
make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
]