[Debian-pan-maintainers] Bug#1119742: jupyterlab: FTBFS: src/build-labextension.ts(48, 34): error TS2307: Cannot find module 'supports-color' or its corresponding type declarations.

Santiago Vila sanvila at debian.org
Fri Oct 31 11:28:35 GMT 2025


Package: src:jupyterlab
Version: 4.0.11+ds1+~cs11.25.27-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/202510/

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:jupyterlab, 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>>'
# Restore html-loader.pl modified files
grep -lr '<%= require(.html-loader' debian|debian/restore-html-loader.pl
dh_auto_clean -O--buildsystem=pybuild || true
dh_auto_clean -O--buildsystem=nodejs || true
./lerna.json found

workspaces field found in package.json

Found debian/nodejs/additional_components
Adding component(s): packages/fileeditor-extension
jupyter-ydoc/lerna.json found

[... snipped ...]


> @jupyterlab/codemirror-extension at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/cells
Compiling packages/cells
+ cd packages/cells
+ pkgjs-run build

> @jupyterlab/cells at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/lsp
Compiling packages/lsp
+ cd packages/lsp
+ pkgjs-run build

> @jupyterlab/lsp at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/lsp-extension
Compiling packages/lsp-extension
+ cd packages/lsp-extension
+ pkgjs-run build

> @jupyterlab/lsp-extension at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/notebook
Compiling packages/notebook
+ cd packages/notebook
+ pkgjs-run build

> @jupyterlab/notebook at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/metadataform
Compiling packages/metadataform
+ cd packages/metadataform
+ pkgjs-run build

> @jupyterlab/metadataform at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/metadataform-extension
Compiling packages/metadataform-extension
+ cd packages/metadataform-extension
+ pkgjs-run build

> @jupyterlab/metadataform-extension at 4.0.11 build
> tsc 

+ echo done
done
+ echo Compiling packages/notebook-extension
Compiling packages/notebook-extension
+ cd packages/notebook-extension
+ pkgjs-run build

> @jupyterlab/notebook-extension at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/celltags-extension
Compiling packages/celltags-extension
+ cd packages/celltags-extension
+ pkgjs-run build

> @jupyterlab/celltags-extension at 4.0.11 build
> tsc 

+ echo done
done
+ echo Compiling packages/cell-toolbar
Compiling packages/cell-toolbar
+ cd packages/cell-toolbar
+ pkgjs-run build

> @jupyterlab/cell-toolbar at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/cell-toolbar-extension
Compiling packages/cell-toolbar-extension
+ cd packages/cell-toolbar-extension
+ pkgjs-run build

> @jupyterlab/cell-toolbar-extension at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/console
Compiling packages/console
+ cd packages/console
+ pkgjs-run build

> @jupyterlab/console at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/console-extension
Compiling packages/console-extension
+ cd packages/console-extension
+ pkgjs-run build

> @jupyterlab/console-extension at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/inspector-extension
Compiling packages/inspector-extension
+ cd packages/inspector-extension
+ pkgjs-run build

> @jupyterlab/inspector-extension at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/logconsole-extension
Compiling packages/logconsole-extension
+ cd packages/logconsole-extension
+ pkgjs-run build

> @jupyterlab/logconsole-extension at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/markedparser-extension
Compiling packages/markedparser-extension
+ cd packages/markedparser-extension
+ pkgjs-run build

> @jupyterlab/markedparser-extension at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/settingeditor
Compiling packages/settingeditor
+ cd packages/settingeditor
+ pkgjs-run build

> @jupyterlab/settingeditor at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/settingeditor-extension
Compiling packages/settingeditor-extension
+ cd packages/settingeditor-extension
+ pkgjs-run build

> @jupyterlab/settingeditor-extension at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/fileeditor
Compiling packages/fileeditor
+ cd packages/fileeditor
+ pkgjs-run build

> @jupyterlab/fileeditor at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/fileeditor-extension
Compiling packages/fileeditor-extension
+ cd packages/fileeditor-extension
+ pkgjs-run build

> @jupyterlab/fileeditor-extension at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/nbconvert-css
Compiling packages/nbconvert-css
+ cd packages/nbconvert-css
+ pkgjs-run build

> @jupyterlab/nbconvert-css at 4.0.11 build
> webpack --mode=production 

asset index.css 238 KiB [emitted] (name: main)
asset index.js 0 bytes [emitted] [minimized] (name: main)
Entrypoint main 238 KiB = index.css 238 KiB index.js 0 bytes
orphan modules 308 KiB (javascript) 14.7 KiB (runtime) [orphan] 260 modules
cacheable modules 238 KiB (css/mini-extract) 9.92 KiB (javascript)
  modules by path ../ui-components/style/ 127 KiB 17 modules
  modules by path ../../../../../usr/share/nodejs/@lumino/ 12.5 KiB 12 modules
  modules by path ../apputils/style/ 17.6 KiB 6 modules
  modules by path ../cells/style/ 13.1 KiB
    css ../../../../../usr/share/nodejs/css-loader/dist/cjs.js!../cells/style/collapser.css 1.01 KiB [built] [code generated]
    + 5 modules
  modules by path ../notebook/style/ 16.7 KiB
    css ../../../../../usr/share/nodejs/css-loader/dist/cjs.js!../notebook/style/toolbar.css 1.78 KiB [built] [code generated]
    + 4 modules
  modules by path ../codeeditor/style/ 2.77 KiB
    css ../../../../../usr/share/nodejs/css-loader/dist/cjs.js!../codeeditor/style/linecol.css 1.51 KiB [built] [code generated]
    css ../../../../../usr/share/nodejs/css-loader/dist/cjs.js!../codeeditor/style/base.css 1.26 KiB [built] [code generated]
  + 10 modules
webpack 5.97.1 compiled successfully in 580 ms
+ echo done
done
+ echo Compiling packages/debugger
Compiling packages/debugger
+ cd packages/debugger
+ pkgjs-run build

> @jupyterlab/debugger at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/debugger-extension
Compiling packages/debugger-extension
+ cd packages/debugger-extension
+ pkgjs-run build

> @jupyterlab/debugger-extension at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling buildutils/template
Compiling buildutils/template
+ cd buildutils/template
+ pkgjs-run build

> @jupyterlab/template at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling packages/tooltip-extension
Compiling packages/tooltip-extension
+ cd packages/tooltip-extension
+ pkgjs-run build

> @jupyterlab/tooltip-extension at 4.0.11 build
> tsc -b 

+ echo done
done
+ echo Compiling builder
Compiling builder
+ cd builder
+ pkgjs-run build

> @jupyterlab/builder at 4.0.11 build
> tsc 

src/build-labextension.ts(48,34): error TS2307: Cannot find module 'supports-color' or its corresponding type declarations.
make[1]: *** [debian/rules:38: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:18: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Debian-pan-maintainers mailing list