Project

General

Profile

Bug #2315

kernel build issue: [...] cannot import name 'AutodocReporter' from 'sphinx.ext.autodoc' [...]

GNUtoo - about 1 month ago - . Updated about 1 month ago.

Status:
fixed
Priority:
bug
Assignee:
% Done:

0%


Description

Hi,

Libremakepkg on linux-libre gives me that:

 |    LINK     /build/linux-libre/src/linux-5.0/tools/objtool/objtool
 |    SPHINX  htmldocs --> file:///build/linux-libre/src/linux-5.0/Documentation/output
 |    PARSE   include/uapi/linux/dvb/audio.h
 |    PARSE   include/uapi/linux/dvb/ca.h
 |    PARSE   include/uapi/linux/dvb/dmx.h
 |    PARSE   include/uapi/linux/dvb/frontend.h
 |    PARSE   include/uapi/linux/dvb/net.h
 |    PARSE   include/uapi/linux/dvb/video.h
 |    PARSE   include/uapi/linux/videodev2.h
 |    PARSE   include/uapi/linux/media.h
 |    PARSE   include/uapi/linux/cec.h
 |    PARSE   include/uapi/linux/lirc.h
 |  Running Sphinx v2.0.1
 |  Warning: The Sphinx 'sphinx_rtd_theme' HTML theme was not found. Make sure you have the theme installed to produce pretty HTML output. Falling back to the default theme.
 |  /usr/lib/python3.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25.2) or chardet (3.0.4) doesn't match a supported version!
 |    RequestsDependencyWarning)
 |  
 |  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))
 |  make[1]: *** [Documentation/Makefile:68: htmldocs] Error 2
 |  make: *** [Makefile:1520: htmldocs] Error 2
 |  make: *** Waiting for unfinished jobs....
 |  ==> ERROR: A failure occurred in build().
 |      Aborting...

Denis.

History

#1

Updated by eschwartz about 1 month ago

See also https://bugs.archlinux.org/task/62332

Arch has disabled html docs for now.

#2

Updated by bill-auger about 1 month ago

  • Assignee set to Megver83
#3

Updated by GNUtoo about 1 month ago

  • Status changed from unconfirmed to confirmed

I've pushed a patch for linux-libre. If it works I'll push it for the rest of the kernels.

Denis.

#4

Updated by bill-auger about 1 month ago

very similar problem with 'linux-libre-hardened'

 |    CC [M]  arch/x86/events/intel/cstate.o
 |  Warning: The Sphinx 'sphinx_rtd_theme' HTML theme was not found. Make sure you have the theme installed to produce pretty HTML output. Falling back to the default theme.
 |
 |  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))
 |  make[1]: *** [Documentation/Makefile:68: htmldocs] Error 2
 |  make: *** [Makefile:1545: htmldocs] Error 2
 |  make: *** Waiting for unfinished jobs....
 |  ==> ERROR: A failure occurred in build().
 |      Aborting...
#5

Updated by Megver83 about 1 month ago

  • Status changed from confirmed to fixed

Also available in: Atom PDF