Package: src:ipywidgets
Version: 8.1.5-7
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/202606/

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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean --buildsystem=nodejs
/!\ examples/embed-amd/package.json not found
Unable to load examples/embed-amd 
./lerna.json found

workspaces field found in package.json

Found debian/nodejs/additional_components
Adding component(s): packages/base
Adding component(s): packages/base-manager
Adding component(s): packages/controls

[... snipped ...]


        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running config
PYBUILD_NAME=widgetsnbextension dh_auto_configure --buildsystem=pybuild -- 
--dir python/widgetsnbextension
        pybuild --configure -i python{version} -p "3.13 3.14" --dir 
python/widgetsnbextension --parallel=2
I: pybuild base:385: python3.13 setup.py config 
/usr/lib/python3/dist-packages/wheel/bdist_wheel.py:4: FutureWarning: The 
'wheel' package is no longer the canonical location of the 'bdist_wheel' 
command, and will be removed in a future release. Please update to setuptools 
v70.1 or later which contains an integrated version of this command.
  warn(
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running config
I: pybuild base:385: python3.14 setup.py config 
/usr/lib/python3/dist-packages/wheel/bdist_wheel.py:4: FutureWarning: The 
'wheel' package is no longer the canonical location of the 'bdist_wheel' 
command, and will be removed in a future release. Please update to setuptools 
v70.1 or later which contains an integrated version of this command.
  warn(
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running config
PYBUILD_NAME=ipywidgets         dh_auto_configure --buildsystem=pybuild -- 
--dir python/ipywidgets
        pybuild --configure -i python{version} -p "3.13 3.14" --dir 
python/ipywidgets --parallel=2
I: pybuild base:385: python3.13 setup.py config 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running config
I: pybuild base:385: python3.14 setup.py config 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running config
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
        rm -f debian/python-ipywidgets-doc.debhelper.log 
debian/python3-ipywidgets.debhelper.log 
debian/python3-jupyterlab-widgets.debhelper.log 
debian/python3-widgetsnbextension.debhelper.log
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build --buildsystem=nodejs
/!\ examples/embed-amd/package.json not found
Unable to load examples/embed-amd 
./lerna.json found

workspaces field found in package.json

Found debian/nodejs/additional_components
Adding component(s): packages/base
Adding component(s): packages/base-manager
Adding component(s): packages/controls
Adding component(s): packages/html-manager
Adding component(s): packages/output
Adding component(s): python/widgetsnbextension
Adding component(s): python/jupyterlab_widgets
No build command found, searching known files
Found debian/nodejs/packages/base/build
        cd ./packages/base && sh -ex ../../debian/nodejs/packages/base/build
+ pkgjs-install-minimal
+ pkgjs-run build

> @jupyter-widgets/[email protected] build
> pkgjs run build:src 


> @jupyter-widgets/[email protected] build:src
> tsc --build 

Found debian/nodejs/packages/base-manager/build
        cd ./packages/base-manager && sh -ex 
../../debian/nodejs/packages/base-manager/build
+ pkgjs-install-minimal
+ pkgjs-run build

> @jupyter-widgets/[email protected] build
> pkgjs run build:src 


> @jupyter-widgets/[email protected] build:src
> tsc --build 

Found debian/nodejs/packages/controls/build
        cd ./packages/controls && sh -ex 
../../debian/nodejs/packages/controls/build
+ pkgjs-install-minimal
+ pkgjs-run build

> @jupyter-widgets/[email protected] build
> pkgjs run build:src && pkgjs run build:css 


> @jupyter-widgets/[email protected] build:src
> tsc --build 


> @jupyter-widgets/[email protected] build:css
> lessc css/nouislider.less css/nouislider.css && postcss --use postcss-import 
> -o css/widgets.built.css css/widgets.css 

Found debian/nodejs/packages/output/build
        cd ./packages/output && sh -ex ../../debian/nodejs/packages/output/build
+ pkgjs-install-minimal
+ pkgjs-run build

> @jupyter-widgets/[email protected] build
> pkgjs run build:src 


> @jupyter-widgets/[email protected] build:src
> tsc --build 

Found debian/nodejs/python/widgetsnbextension/build
        cd ./python/widgetsnbextension && sh -ex 
../../debian/nodejs/python/widgetsnbextension/build
+ pkgjs-install-minimal
+ pkgjs-run build

> @jupyter-widgets/[email protected] build
> pkgjs run build:nbextension 


> @jupyter-widgets/[email protected] build:nbextension
> webpack 

asset extension.js 954 KiB [emitted] [minimized] [big] (name: main) 2 related 
assets
orphan modules 547 KiB [orphan] 225 modules
runtime modules 1.76 KiB 9 modules
modules by path ../../ 2.38 MiB
  modules by path ../../../../../usr/share/nodejs/ 1.67 MiB 242 modules
  modules by path ../../packages/ 653 KiB 15 modules
  ../../../../../usr/share/javascript/backbone/backbone.js 76.3 KiB [built] 
[code generated]
modules by path ./ 32.1 KiB
  modules by path ./src/ 31.4 KiB 7 modules
  ./amd-public-path.js 647 bytes [built] [code generated]
  ./terminal-highlight (ignored) 15 bytes [built] [code generated]
+ 6 modules

WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for 
this value.
Set 'mode' option to 'development' or 'production' to enable defaults for each 
environment.
You can also set it to 'none' to disable any default behavior. Learn more: 
https://webpack.js.org/configuration/mode/

WARNING in asset size limit: The following asset(s) exceed the recommended size 
limit (244 KiB).
This can impact web performance.
Assets: 
  extension.js (954 KiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset 
size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  main (954 KiB)
      extension.js

WARNING in webpack performance recommendations: 
You can limit the size of your bundles by using import() or require.ensure to 
lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

webpack 5.107.2 compiled with 4 warnings in 5854 ms
Found debian/nodejs/python/jupyterlab_widgets/build
        cd ./python/jupyterlab_widgets && sh -ex 
../../debian/nodejs/python/jupyterlab_widgets/build
+ pkgjs-install-minimal
+ pkgjs-run build:lib

> @jupyter-widgets/[email protected] build:lib
> tsc -b 

+ jupyter labextension build .
Fail to get yarn configuration. Expecting value: line 1 column 1 (char 0)
Fail to get yarn configuration. Expecting value: line 1 column 1 (char 0)
Building extension in .

Compilation starting…

HookWebpackError: Cannot read properties of undefined (reading 'trim')
    at makeWebpackError 
(/usr/share/nodejs/webpack/lib/errors/HookWebpackError.js:80:9)
    at /usr/share/nodejs/webpack/lib/Compilation.js:3597:12
    at eval (eval at create 
(/usr/share/nodejs/tapable/lib/HookCodeFactory.js:31:10), <anonymous>:23:1)
    at fn (/usr/share/nodejs/webpack/lib/Compilation.js:641:17)
    at _next1 (eval at create 
(/usr/share/nodejs/tapable/lib/HookCodeFactory.js:31:10), <anonymous>:21:1)
    at eval (eval at create 
(/usr/share/nodejs/tapable/lib/HookCodeFactory.js:31:10), <anonymous>: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:639: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:639:10)
/usr/share/nodejs/@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:639:10)
    at compilerCallback 
(/usr/share/nodejs/@jupyterlab/builder/lib/build-labextension.js:106:19)
    at /usr/share/nodejs/@jupyterlab/builder/lib/build-labextension.js:148:21
    at /usr/share/nodejs/webpack/lib/MultiCompiler.js:716: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:101:2
    at Hook.eval [as callAsync] (eval at create 
(/usr/share/nodejs/tapable/lib/HookCodeFactory.js:31:10), <anonymous>: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("An error occurred.")
/usr/lib/python3/dist-packages/jupyterlab/debuglog.py:57: UserWarning: 
subprocess.CalledProcessError: Command '['node', 
'/<<PKGBUILDDIR>>/python/jupyterlab_widgets/node_modules/@jupyterlab/builder/lib/build-labextension.js',
 '--core-path', '/usr/lib/python3/dist-packages/jupyterlab/staging', 
'/<<PKGBUILDDIR>>/python/jupyterlab_widgets']' 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-_zbobmn8.log
  warnings.warn(f"See the log file for details: {log_path!s}")
dh_auto_build: error: cd ./python/jupyterlab_widgets && sh -ex 
../../debian/nodejs/python/jupyterlab_widgets/build returned exit code 1
make[1]: *** [debian/rules:29: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to