Bug ID | 1083694 |
---|---|
Summary | kernel-docs build fails with the latest Sphinx |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Kernel |
Assignee | kernel-maintainers@forge.provo.novell.com |
Reporter | tiwai@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
The build of kernel-docs package fails on TW with the recent Sphinx package: Could not import extension kerneldoc (exception: cannot import name 'Directive') make[2]: *** [../Documentation/Makefile:68: htmldocs] Error 2 It's due to the import of Directive in Documentation/sphinx/kerneldoc.py: from sphinx.util.compat import Directive where it was deprecated in the recent version. The fallback to the following is needed: from docutils.parsers.rst import directives, Directive