FS#62332 - [linux] [python-sphinx] Cannot build the kernel
Attached to Project:
Arch Linux
Opened by Andrej Podzimek (andrej) - Saturday, 13 April 2019, 16:52 GMT
Last edited by David Runge (dvzrv) - Friday, 17 January 2020, 13:05 GMT
Opened by Andrej Podzimek (andrej) - Saturday, 13 April 2019, 16:52 GMT
Last edited by David Runge (dvzrv) - Friday, 17 January 2020, 13:05 GMT
|
Details
Description:
Kernel builds (with makepkg) are failing: Running Sphinx v2.0.1 LINK /home/andrej/inst/packages/linux/repos/core-x86_64/src/archlinux-linux/tools/objtool/objtool Extension error: Could not import extension kerneldoc (exception: cannot import name 'AutodocReporter' from 'sphinx.ext.autodoc' (/usr/lib/python3.7/site-packages/sphinx/ext/autodoc/__init__.py)) Additional info: * package version(s) linux 5.0.7.arch1-1 linux-api-headers 4.17.11-1 linux-headers 5.0.7.arch1-1 python-sphinx 2.0.1-1 python-sphinxcontrib-applehelp 1.0.1-1 python-sphinxcontrib-bibtex 0.4.2-1 python-sphinxcontrib-devhelp 1.0.1-1 python-sphinxcontrib-htmlhelp 1.0.1-1 python-sphinxcontrib-jsmath 1.0.1-1 python-sphinxcontrib-newsfeed 0.1.4-6 python-sphinxcontrib-qthelp 1.0.2-1 python-sphinxcontrib-seqdiag 0.8.5-1 python-sphinxcontrib-serializinghtml 1.1.3-1 python-sphinxcontrib-websupport 1.1.0-2 Steps to reproduce: Try to build the kernel from https://git.archlinux.org/svntogit/packages.git (using makepkg). |
This task depends upon
[1] https://www.sphinx-doc.org/en/master/changes.html#release-1-7-0-released-feb-12-2018
Edit:
Building htmldocs has been removed in trunk
https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/linux&id=cfe52e9aa8168d9571bedf8a376e2cfbd25223fd
https://aur.archlinux.org/cgit/aur.git/commit/doc-sphinx-2.patch?h=linux-shmilee&id=43b0d997949bdd446e11121a680eb33d137d282f
[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/commit/queue-5.1/doc-cope-with-sphinx-logging-deprecations.patch?id=888c9dda940d753a1d5947e9343106983fc29b25
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/commit/queue-5.1/doc-cope-with-the-deprecation-of-autoreporter.patch?id=888c9dda940d753a1d5947e9343106983fc29b25
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/commit/queue-5.1/docs-fix-conf.py-for-sphinx-2.0.patch?id=888c9dda940d753a1d5947e9343106983fc29b25