Bug#997085: numba: FTBFS: AttributeError: 'Sphinx' object has no attribute 'add_stylesheet'

Lucas Nussbaum lucas at debian.org
Sat Oct 23 17:29:44 BST 2021


Source: numba
Version: 0.52.0-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211023 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_installdocs -A README.rst
> dh_installdocs: warning: Cannot auto-detect main package for numba-doc.  If the default is wrong, please use --doc-main-package
> cp -a docs CHANGE_LOG /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numba/build
> http_proxy='127.0.0.1:9' PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numba/build:${PYTHONPATH} python3.9 /usr/bin/sphinx-build -N -bhtml \
> 		   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numba/build/docs/source/ \
> 		   debian/numba-doc/usr/share/doc/numba-doc/html/
> Running Sphinx v4.2.0
> Initializing ghfiles plugin
> making output directory... done
> 
> Exception occurred:
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numba/build/docs/source/conf.py", line 331, in setup
>     app.add_stylesheet('rtd-overrides.css')
> AttributeError: 'Sphinx' object has no attribute 'add_stylesheet'
> The full traceback has been saved in /tmp/sphinx-err-duv_c8uh.log, if you want to report the issue to the developers.
> Please also report this if it was a user error, so that a better error message can be provided next time.
> A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
> make[1]: *** [debian/rules:29: override_dh_installdocs] Error 2


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/numba_0.52.0-4_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the debian-science-maintainers mailing list