FS#66156 - [linux]sphinx 3.0 causes compilation errors
Attached to Project:
Arch Linux
Opened by Piotr Górski (sir_lucjan) - Tuesday, 07 April 2020, 11:45 GMT
Last edited by Jan Alexander Steffens (heftig) - Thursday, 09 April 2020, 07:27 GMT
Opened by Piotr Górski (sir_lucjan) - Tuesday, 07 April 2020, 11:45 GMT
Last edited by Jan Alexander Steffens (heftig) - Thursday, 09 April 2020, 07:27 GMT
|
Details
Description:
After updating the Sphinx package, building htmldocs is impossible. Below I attach an error message: Additional info: Running Sphinx v3.0.0 enabling CJK for LaTeX builder 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)) make[1]: *** [Documentation/Makefile:81: htmldocs] Error 2 make: *** [Makefile:1549: htmldocs] Error 2 ==> ERROR: A failure occurred in build(). |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Thursday, 09 April 2020, 07:27 GMT
Reason for closing: Fixed
Additional comments about closing: linux 5.6.3.arch1-1
Thursday, 09 April 2020, 07:27 GMT
Reason for closing: Fixed
Additional comments about closing: linux 5.6.3.arch1-1
```
SPHINX htmldocs --> file:///srv/raid/filez/builder/NDPI_IMQ_KERNEL/5.6-arch/src/archlinux-linux/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 v3.0.0
Extension error:
Could not import extension cdomain (exception: cannot import name 'c_funcptr_sig_re' from 'sphinx.domains.c' (/usr/lib/python3.8/site-packag
es/sphinx/domains/c.py))
make[1]: *** [Documentation/Makefile:81: htmldocs] Error 2
make: *** [Makefile:1549: htmldocs] Error 2
==> ERROR: A failure occurred in build().
Aborting...
```
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 3c7bdf4cd31f..9a0ced58a3e9 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -36,7 +36,7 @@ needs_sphinx = '1.3'
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
-extensions = ['kerneldoc', 'rstFlatTable', 'kernel_include', 'cdomain',
+extensions = ['kerneldoc', 'rstFlatTable', 'kernel_include',
'kfigure', 'sphinx.ext.ifconfig', 'automarkup',
'maintainers_include']
Edit:
Fixes the issues but a lot of warnings due to missing cdomain directives :(