[Python-modules-team] Bug#922261: python-sunlight: FTBFS (Could not import extension sphinx.ext.pngmath)
Santiago Vila
sanvila at debian.org
Wed Feb 13 20:16:36 GMT 2019
Package: src:python-sunlight
Version: 1.1.5-1
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
dh: Compatibility levels before 9 are deprecated (level 8 in use)
dh_update_autotools_config -i
dh_auto_configure -i
dh_auto_configure: Compatibility levels before 9 are deprecated (level 8 in use)
dh_auto_configure: Please use the third-party "pybuild" build system instead of python-distutils
dh_auto_configure: This feature will be removed in compat 12.
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
set -xe; \
for py in python2.7 python3.7; do \
$py setup.py build; \
done
+ python2.7 setup.py build
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/sunlight
copying sunlight/config.py -> build/lib.linux-x86_64-2.7/sunlight
copying sunlight/__init__.py -> build/lib.linux-x86_64-2.7/sunlight
copying sunlight/errors.py -> build/lib.linux-x86_64-2.7/sunlight
copying sunlight/service.py -> build/lib.linux-x86_64-2.7/sunlight
creating build/lib.linux-x86_64-2.7/sunlight/services
copying sunlight/services/capitolwords.py -> build/lib.linux-x86_64-2.7/sunlight/services
copying sunlight/services/__init__.py -> build/lib.linux-x86_64-2.7/sunlight/services
copying sunlight/services/influenceexplorer.py -> build/lib.linux-x86_64-2.7/sunlight/services
copying sunlight/services/openstates.py -> build/lib.linux-x86_64-2.7/sunlight/services
copying sunlight/services/congress.py -> build/lib.linux-x86_64-2.7/sunlight/services
+ python3.7 setup.py build
running build
running build_py
creating build/lib
creating build/lib/sunlight
copying sunlight/config.py -> build/lib/sunlight
copying sunlight/__init__.py -> build/lib/sunlight
copying sunlight/errors.py -> build/lib/sunlight
copying sunlight/service.py -> build/lib/sunlight
creating build/lib/sunlight/services
copying sunlight/services/capitolwords.py -> build/lib/sunlight/services
copying sunlight/services/__init__.py -> build/lib/sunlight/services
copying sunlight/services/influenceexplorer.py -> build/lib/sunlight/services
copying sunlight/services/openstates.py -> build/lib/sunlight/services
copying sunlight/services/congress.py -> build/lib/sunlight/services
make -C docs html
make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
sphinx-build -b html -d build/doctrees source build/html
Running Sphinx v1.8.3
Extension error:
Could not import extension sphinx.ext.pngmath (exception: No module named pngmath)
make[2]: *** [Makefile:40: html] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: 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/python-sunlight.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