Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
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!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
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#76972 - [python-sphinx] 6.0.0-1 breaks kernel builds due to removal of sphinx.util.pycompat.execfile_()
Attached to Project:
Community Packages
Opened by Pascal Ernster (hardfalcon) - Saturday, 31 December 2022, 02:12 GMT
Last edited by Daniel M. Capella (polyzen) - Thursday, 11 May 2023, 20:03 GMT
Opened by Pascal Ernster (hardfalcon) - Saturday, 31 December 2022, 02:12 GMT
Last edited by Daniel M. Capella (polyzen) - Thursday, 11 May 2023, 20:03 GMT
|
Detailssphinx.util.pycompat.execfile_() has been deprecated since Sphinx 4.0 and has been removed in Sphinx 6.0:
https://www.sphinx-doc.org/en/master/extdev/deprecated.html This breaks kernel builds that include building the kernel documentation. Excerpt from build run for a customized linux-hardened package: Configuration error: There is a programmable error in your configuration file: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/sphinx/config.py", line 350, in eval_config_file exec(code, namespace) File "/build/linux-hardened/src/linux-6.1.1/Documentation/conf.py", line 39, in <module> from load_config import loadConfig File "/build/linux-hardened/src/linux-6.1.1/Documentation/sphinx/load_config.py", line 6, in <module> from sphinx.util.pycompat import execfile_ ModuleNotFoundError: No module named 'sphinx.util.pycompat' UPD include/generated/uapi/linux/version.h make[1]: *** [Documentation/Makefile:96: htmldocs] Error 2 make: *** [Makefile:1791: htmldocs] Error 2 |
This task depends upon
Closed by Daniel M. Capella (polyzen)
Thursday, 11 May 2023, 20:03 GMT
Reason for closing: Fixed
Additional comments about closing: linux 6.1.4.arch1-1
Thursday, 11 May 2023, 20:03 GMT
Reason for closing: Fixed
Additional comments about closing: linux 6.1.4.arch1-1
Comment by Pascal Ernster (hardfalcon) -
Saturday, 31 December 2022, 02:14 GMT
The package version in the bug title should have been 6.0.0-1, not 6.0-1.
Comment by loqs (loqs) -
Saturday, 31 December 2022, 17:33 GMT
What if you patch the kernel to provide its own implementation of execfile_?
Comment by Pascal Ernster (hardfalcon) -
Saturday, 31 December 2022, 20:06 GMT
Thanks, your patch fixes the issue for me. :)
Comment by loqs (loqs) -
Wednesday, 04 January 2023, 21:36 GMT
Upstream fix for the kernel https://lore.kernel.org/linux-doc/87wn629ggg.fsf%40meer.lwn.net/
Comment by Toolybird (Toolybird) -
Thursday, 05 January 2023, 03:36 GMT
Thanks @loqs! So this needs fixing on the kernel side? Adding kernel PM.
test.patch
(0.6 KiB)