Bug#997085: numba: FTBFS: AttributeError: 'Sphinx' object has no attribute 'add_stylesheet'
Boyuan Yang
byang at debian.org
Sun Oct 24 20:18:31 BST 2021
X-Debbugs-CC: diane at debian.org diane at ghic.org
Control: tags -1 +patch
I believe the fix should be present at
https://github.com/numba/numba/pull/7122 . I haven't verified the patch,
though.
P.S. It might be a better solution if we could just to update to new numba
version.
Thanks,
Boyuan Yang
在 2021-10-23星期六的 18:29 +0200,Lucas Nussbaum写道:
> 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.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20211024/95798f58/attachment.sig>
More information about the debian-science-maintainers
mailing list