Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No


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/

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 (using makepkg).
This task depends upon

Closed by  David Runge (dvzrv)
Friday, 17 January 2020, 13:05 GMT
Reason for closing:  Fixed
Comment by Andrej Podzimek (andrej) - Saturday, 13 April 2019, 17:29 GMT
Avoiding the "htmldocs" make target (i.e., removing the linux-user-regd-docs package) appears to be a workaround at this point (unless you need the docs).
Comment by loqs (loqs) - Saturday, 13 April 2019, 18:18 GMT
From [1] sphinx.ext.autodoc.AutodocReporter is replaced by sphinx.util.docutils.switch_source_input() and now deprecated. It will be removed in Sphinx-2.0.


Building htmldocs has been removed in trunk
Comment by shmilee (limser) - Wednesday, 24 April 2019, 08:52 GMT Comment by loqs (loqs) - Thursday, 06 June 2019, 19:10 GMT