[Python-modules-team] Bug#921836: ipywidgets: FTBFS (error TS2688: Cannot find type definition file for 'sizzle')

Santiago Vila sanvila at debian.org
Sat Feb 9 11:10:47 GMT 2019


Package: src:ipywidgets
Version: 6.0.0-3
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python2,python3,sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_autoreconf -i -O--buildsystem=pybuild
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure
I: pybuild base:217: python2.7 setup.py config 
running config
I: pybuild base:217: python3.7 setup.py config 
running config
dh_auto_configure -- -d ./widgetsnbextension
I: pybuild base:217: python2.7 setup.py config 
INFO:root:setup.py entered
INFO:root:$PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
running config
I: pybuild base:217: python3.7 setup.py config 
INFO:root:setup.py entered
INFO:root:$PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
running config
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make -C debian -f fakewebpack.mk all
make[2]: Entering directory '/<<PKGBUILDDIR>>/debian'
/usr/bin/make -f "fakewebpack-prep-unpacked.mk" all
make[3]: Entering directory '/<<PKGBUILDDIR>>/debian'
cd "fakewebpack-unpacked/phosphor/" && tsc --moduleResolution Classic --project src
mkdir -p "fakewebpack-unpacked/phosphor/styles/" && NODE_PATH=../.. fakewebpack-helpers/css-loader-pack.py < "fakewebpack-unpacked/phosphor/styles/base.css.real" > "fakewebpack-unpacked/phosphor/styles/base.css"
mkdir -p "fakewebpack-unpacked/phosphor/styles/" && m4 -DNODE_PATH=../.. -DCSS_INPUT=./base.css "fakewebpack-helpers/style-loader.js.m4" > "fakewebpack-unpacked/phosphor/styles/base.css?f74d"
printf "module.exports = $(cat "fakewebpack-unpacked/jupyter-js-widgets/package.json.real");" > "fakewebpack-unpacked/jupyter-js-widgets/package.json"
cd "fakewebpack-unpacked/jupyter-js-widgets/" && tsc --moduleResolution Classic --project src
../../../../../../usr/lib/nodejs/@types/jquery/index.d.ts(28,23): error TS2688: Cannot find type definition file for 'sizzle'.
../../../../../../usr/lib/nodejs/@types/jquery/misc.d.ts(27,33): error TS2503: Cannot find namespace 'Sizzle'.
../../../../../../usr/lib/nodejs/@types/jquery/misc.d.ts(35,14): error TS2503: Cannot find namespace 'Sizzle'.
../../../../../../usr/lib/nodejs/@types/jquery/misc.d.ts(43,17): error TS2503: Cannot find namespace 'Sizzle'.
make[3]: *** [fakewebpack-prep-unpacked.mk:33: fakewebpack-unpacked/jupyter-js-widgets/lib.stamp] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian'
make[2]: *** [fakewebpack.mk:73: fakewebpack/widgetsnbextension-unpacked.stamp] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian'
make[1]: *** [debian/rules:15: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant part)

The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ipywidgets.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Python-modules-team mailing list