[From nobody Mon Aug  3 00:39:05 2026
Received: (at submit) by bugs.debian.org; 27 Jul 2026 18:04:49 +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.4 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,
 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, 22; hammy, 150; neutral, 373; 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 mitropoulos.debian.org
 ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:33574)
 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 1woPh2-007EAh-2d
 for submit@bugs.debian.org; Mon, 27 Jul 2026 18:04:49 +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 1woPh1-009rQh-1X
 for submit@bugs.debian.org; Mon, 27 Jul 2026 18:04:47 +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=jtWe4K6i/AUpqAQYTMjqYcRrV7uI6V99w22GbShuals=; b=F81vDiNwbmdYs2/h/lvqQRK4EN
 gxp94WM5huuzY80fGZICuKmiUBotCT0nIFeDZVA9Q4YpbctuhmRJB8kLEKQMMuJA6ZGQGYybRIlgZ
 ba5AiZjtNOb5XDfUmhZfxhtj+wGVcw0hDdOokdgeQ1lLcjBI1oq++vNE2Gc2sp5Fonp0d1cqz96Aq
 UkF3ZcrOt5oLg8Tfvm84DhqBFkQN8+lObjpeQRCTiR8pDoSArFz6En4xXnuZN70iaklsITamBsD4l
 VLxjBHo9MWRa7QzS7TG9DYYi4K7rlf0gwweE7FFDsvPPukP4pTl5WUZm3UY3HbtVyr3l3bmfCyNMa
 zCa0kbqw==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1woPgz-008dNQ-2i
 for submit@bugs.debian.org; Mon, 27 Jul 2026 18:04:45 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: jupyter-notebook: FTBFS: TypeError: Cannot read properties of
 undefined (reading 'trim')
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1woPgz-008dNQ-2i@paradis.debian.org&gt;
Date: Mon, 27 Jul 2026 18:04:45 +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.

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



Building extension in .



Compilation starting…



HookWebpackError: Cannot read properties of undefined (reading 'trim')
    at makeWebpackError (/usr/share/nodejs/webpack/lib/errors/HookWebpackError.js:78:9)
    at /usr/share/nodejs/webpack/lib/Compilation.js:3816:12
    at eval (eval at create (/usr/share/nodejs/tapable/lib/HookCodeFactory.js:31:10), &lt;anonymous&gt;:23:1)
    at fn (/usr/share/nodejs/webpack/lib/Compilation.js:688:17)
    at _next1 (eval at create (/usr/share/nodejs/tapable/lib/HookCodeFactory.js:31:10), &lt;anonymous&gt;:21:1)
    at eval (eval at create (/usr/share/nodejs/tapable/lib/HookCodeFactory.js:31:10), &lt;anonymous&gt;:37:1)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
-- inner error --
TypeError: Cannot read properties of undefined (reading 'trim')
    at WebpackInnerModuleIterator.getActualFilename (/usr/share/nodejs/license-webpack-plugin/dist/WebpackInnerModuleIterator.js:61:42)
    at WebpackInnerModuleIterator.internalCallback (/usr/share/nodejs/license-webpack-plugin/dist/WebpackInnerModuleIterator.js:37:35)
    at WebpackInnerModuleIterator.iterateModules (/usr/share/nodejs/license-webpack-plugin/dist/WebpackInnerModuleIterator.js:21:9)
    at /usr/share/nodejs/license-webpack-plugin/dist/PluginChunkReadHandler.js:20:39
    at WebpackChunkModuleIterator.iterateModules (/usr/share/nodejs/license-webpack-plugin/dist/WebpackChunkModuleIterator.js:42:21)
    at PluginChunkReadHandler.processChunk (/usr/share/nodejs/license-webpack-plugin/dist/PluginChunkReadHandler.js:19:29)
    at _loop_1 (/usr/share/nodejs/license-webpack-plugin/dist/WebpackCompilerHandler.js:135:37)
    at WebpackCompilerHandler.iterateChunks (/usr/share/nodejs/license-webpack-plugin/dist/WebpackCompilerHandler.js:160:17)
    at /usr/share/nodejs/license-webpack-plugin/dist/WebpackCompilerHandler.js:50:31
    at fn (/usr/share/nodejs/webpack/lib/Compilation.js:686:10)
caused by plugins in Compilation.hooks.processAssets
TypeError: Cannot read properties of undefined (reading 'trim')
    at WebpackInnerModuleIterator.getActualFilename (/usr/share/nodejs/license-webpack-plugin/dist/WebpackInnerModuleIterator.js:61:42)
    at WebpackInnerModuleIterator.internalCallback (/usr/share/nodejs/license-webpack-plugin/dist/WebpackInnerModuleIterator.js:37:35)
    at WebpackInnerModuleIterator.iterateModules (/usr/share/nodejs/license-webpack-plugin/dist/WebpackInnerModuleIterator.js:21:9)
    at /usr/share/nodejs/license-webpack-plugin/dist/PluginChunkReadHandler.js:20:39
    at WebpackChunkModuleIterator.iterateModules (/usr/share/nodejs/license-webpack-plugin/dist/WebpackChunkModuleIterator.js:42:21)
    at PluginChunkReadHandler.processChunk (/usr/share/nodejs/license-webpack-plugin/dist/PluginChunkReadHandler.js:19:29)
    at _loop_1 (/usr/share/nodejs/license-webpack-plugin/dist/WebpackCompilerHandler.js:135:37)
    at WebpackCompilerHandler.iterateChunks (/usr/share/nodejs/license-webpack-plugin/dist/WebpackCompilerHandler.js:160:17)
    at /usr/share/nodejs/license-webpack-plugin/dist/WebpackCompilerHandler.js:50:31
    at fn (/usr/share/nodejs/webpack/lib/Compilation.js:686:10)


/&lt;&lt;PKGBUILDDIR&gt;&gt;/node_modules/@jupyterlab/builder/lib/build-labextension.js:106
            throw new Error(err.details);
                  ^

Error: caused by plugins in Compilation.hooks.processAssets
TypeError: Cannot read properties of undefined (reading 'trim')
    at WebpackInnerModuleIterator.getActualFilename (/usr/share/nodejs/license-webpack-plugin/dist/WebpackInnerModuleIterator.js:61:42)
    at WebpackInnerModuleIterator.internalCallback (/usr/share/nodejs/license-webpack-plugin/dist/WebpackInnerModuleIterator.js:37:35)
    at WebpackInnerModuleIterator.iterateModules (/usr/share/nodejs/license-webpack-plugin/dist/WebpackInnerModuleIterator.js:21:9)
    at /usr/share/nodejs/license-webpack-plugin/dist/PluginChunkReadHandler.js:20:39
    at WebpackChunkModuleIterator.iterateModules (/usr/share/nodejs/license-webpack-plugin/dist/WebpackChunkModuleIterator.js:42:21)
    at PluginChunkReadHandler.processChunk (/usr/share/nodejs/license-webpack-plugin/dist/PluginChunkReadHandler.js:19:29)
    at _loop_1 (/usr/share/nodejs/license-webpack-plugin/dist/WebpackCompilerHandler.js:135:37)
    at WebpackCompilerHandler.iterateChunks (/usr/share/nodejs/license-webpack-plugin/dist/WebpackCompilerHandler.js:160:17)
    at /usr/share/nodejs/license-webpack-plugin/dist/WebpackCompilerHandler.js:50:31
    at fn (/usr/share/nodejs/webpack/lib/Compilation.js:686:10)
    at compilerCallback (/&lt;&lt;PKGBUILDDIR&gt;&gt;/node_modules/@jupyterlab/builder/lib/build-labextension.js:106:19)
    at /&lt;&lt;PKGBUILDDIR&gt;&gt;/node_modules/@jupyterlab/builder/lib/build-labextension.js:148:21
    at /usr/share/nodejs/webpack/lib/MultiCompiler.js:718:5
    at /usr/share/nodejs/neo-async/async.js:2830:7
    at done (/usr/share/nodejs/neo-async/async.js:2865:11)
    at /usr/share/nodejs/neo-async/async.js:2818:7
    at /usr/share/nodejs/webpack/lib/errors/HookWebpackError.js:99:2
    at Hook.eval [as callAsync] (eval at create (/usr/share/nodejs/tapable/lib/HookCodeFactory.js:31:10), &lt;anonymous&gt;:6:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/usr/share/nodejs/tapable/lib/Hook.js:21:14)
    at Cache.shutdown (/usr/share/nodejs/webpack/lib/Cache.js:179:23)

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

TIP pass --env-dir and --sdist-extract-dir to keep the build environment and sources, then see https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build for help debugging a failed build
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
--------------------------------------------------------------------------------
]