Re: Kernel build failed ...SPHINX extension error
From: Jonathan Corbet
Date: Wed Apr 08 2020 - 15:25:09 EST
On Wed, 8 Apr 2020 17:07:05 +0530
Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx> wrote:
> Extension error:
> Could not import extension cdomain (exception: cannot import name
> 'c_funcptr_sig_re' from 'sphinx.domains.c'
> (/usr/lib/python3.8/site-packages/sphinx/domains/c.py))
> Apr 08 16:48:46 enabling CJK for LaTeX builder
> Apr 08 16:48:46 CC kernel/power/poweroff.o
> make[1]: *** [Documentation/Makefile:81: htmldocs] Error 2
> make: *** [Makefile:1549: htmldocs] Error 2
> make: *** Waiting for unfinished jobs....
This is weird, to say the least. But I think the "python3.8" in the
message above says everything you need to know. If you're running with
an unreleased version of Python, it's not entirely surprising that you
might run into trouble with a complex package.
jon