[Python-modules-team] Bug#902471: ipywidgets: FTBFS in buster/sid (error TS2352: Type 'HTMLButtonElement' cannot be converted to type 'HTMLInputElement')

Santiago Vila sanvila at debian.org
Tue Jun 26 23:53:01 BST 2018


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

Dear maintainer:

I tried to build this package in buster with "dpkg-buildpackage -A"
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.6 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.6 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 --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 --project src
src/widget_selection.ts(366,30): error TS2352: Type 'HTMLButtonElement' cannot be converted to type 'HTMLInputElement'.
  Property 'accept' is missing in type 'HTMLButtonElement'.
fakewebpack-prep-unpacked.mk:33: recipe for target 'fakewebpack-unpacked/jupyter-js-widgets/lib.stamp' failed
make[3]: *** [fakewebpack-unpacked/jupyter-js-widgets/lib.stamp] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian'
fakewebpack.mk:73: recipe for target 'fakewebpack/widgetsnbextension-unpacked.stamp' failed
make[2]: *** [fakewebpack/widgetsnbextension-unpacked.stamp] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian'
debian/rules:15: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:7: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is how the build ends in my autobuilder and it's not
necessarily the relevant part.

The failure is not, however, related to using dpkg-buildpackage -A,
as it also fails in reproducible builds:

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

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 page for this package.

Thanks.



More information about the Python-modules-team mailing list