From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Akira Yokosawa <akiyks@gmail.com>
Cc: Jonathan Corbet <corbet@lwn.net>,
linux-kernel@vger.kernel.org,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Linux Doc Mailing List <linux-doc@vger.kernel.org>
Subject: Re: [PATCH v2 00/39] Translate sphinx-pre-install to Python
Date: Fri, 11 Jul 2025 13:04:46 +0200 [thread overview]
Message-ID: <20250711130446.1b761538@foz.lan> (raw)
In-Reply-To: <d12fb63e-b346-4094-b9d6-aa6823aea541@gmail.com>
Em Fri, 11 Jul 2025 19:49:41 +0900
Akira Yokosawa <akiyks@gmail.com> escreveu:
> [most CCs dropped]
>
> On Wed, 9 Jul 2025 15:51:32 +0200, Mauro Carvalho Chehab wrote:
> [...]
>
> > Please notice that my goal here is to test just this tool.
> > I didn't try to actually build the docs on every distro.
>
> I tested the docs build against opensuse/leap:15.6 for you, and
> the install completed. One step forward.
>
> However, running "make latexdocs" ended up with the following error:
>
> -----------------------------------------------------------------------------
> Exception occurred:
> File "/usr/lib/python3.11/site-packages/sphinx/builders/latex/__init__.py", line 405, in copy_support_files
> for filename in os.listdir(staticdirname):
> ^^^^^^^^^^^^^^^^^^^^^^^^^
> FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.11/site-packages/sphinx/texinputs'
> -----------------------------------------------------------------------------
>
> That "texinputs" directory is supposed to hold files to be copied along
> with latex sources Sphinx will generate.
>
> openSUSE is unique in that those files don't belong to its base Sphinx
> package. They are provided in "python3-Sphinx-latex" (or
> "python311-Sphinx-latex", or any appropriate one for your base Sphinx
> package).
>
> Is this news to you?
Yes, but it should be easy to add it at the tool. I'll address it, test
on Leap and submit it.
> By the way, 33/39 contains diff of test_script.py and can't be applied.
> I needed to remove the hunk manually and apply the remaining patches.
Sorry for that. I'll drop the hunk. I may eventually submit in separate
a patch series with the scripts I used for testing, but before that,
I guess we need first to move doc-related stuff to tools/docs, as
Jon suggested.
> Anyway, your translation of sphinx-pre-install into python is now at
> the bottom of my to-test/review list. So no need to respin this.
>
> As a matter of fact, I'm seeing weird performance regression of empty
> documentation builds when the O=<somedir> option is used.
>
> It appeared in v6.15, which has your conversion of get_abi.pl into
> get_abi.py. Will send a report once the time-consuming bisection
> completes.
Did you try with docs-next instead? I remember Jon caught one
issue causing the doctree cache to expire. Can't remember if this
was on 6.15 or at docs-next, but the fixes should be applied there.
Regards,
Mauro
next prev parent reply other threads:[~2025-07-11 11:04 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-09 13:51 [PATCH v2 00/39] Translate sphinx-pre-install to Python Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 01/39] scripts: sphinx-pre-install: fix version check for Fedora Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 02/39] scripts: sphinx-pre-install: rename it to scripts/sphinx-pre-install.pl Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 03/39] scripts: sphinx-pre-install: Convert script to Python Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 04/39] scripts: sphinx-pre-install: Make it compatible with Python 3.6 Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 05/39] scripts: sphinx-pre-install: run on a supported version Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 06/39] scripts: sphinx-pre-install: drop obsolete routines Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 07/39] scripts: sphinx-pre-install: drop support for old virtualenv Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 08/39] scripts: sphinx-pre-install: Address issues with OpenSUSE Leap 15.x Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 09/39] scripts: sphinx-pre-install: fix opensuse Leap hint for PyYAML Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 10/39] scripts: sphinx-pre-install: fix support for gentoo Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 11/39] scripts: sphinx-pre-install: Address issues with OpenSUSE Tumbleweed Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 12/39] scripts: sphinx-pre-install: only show portage hints once Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 13/39] scripts: sphinx-pre-install: cleanup rhel support Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 14/39] scripts: sphinx-pre-install: output Python and docutils version Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 15/39] scripts: sphinx-pre-install: add a missing f-string marker Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 16/39] scripts: sphinx-pre-install: fix Leap support for rsvg-convert Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 17/39] scripts: sphinx-pre-install: fix rhel recomendations Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 18/39] scripts: sphinx-pre-install: remove Scientific Linux Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 19/39] scripts: sphinx-pre-install: improve Gentoo package deps logic Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 20/39] scripts: sphinx-pre-install: fix OpenMandriva support Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 21/39] scripts: sphinx-pre-install: move package instructions to a new func Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 22/39] scripts: sphinx-pre-install: adjust a warning message Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 23/39] scripts: sphinx-pre-install: better handle Python min version Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 24/39] scripts: sphinx-pre-install: convert is_optional to a class Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 25/39] scripts: sphinx-pre-install: better handle RHEL-based distros Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 26/39] scripts: sphinx-pre-install: move missing logic to a separate class Mauro Carvalho Chehab
2025-07-09 13:51 ` [PATCH v2 27/39] scripts: sphinx-pre-install: move ancillary checkers " Mauro Carvalho Chehab
2025-07-09 13:52 ` [PATCH v2 28/39] scripts: sphinx-pre-install: add more generic checkers on a class Mauro Carvalho Chehab
2025-07-09 13:52 ` [PATCH v2 29/39] scripts: sphinx-pre-install: move get_system_release() Mauro Carvalho Chehab
2025-07-09 13:52 ` [PATCH v2 30/39] scripts: sphinx-pre-install: add documentation for the ancillary classes Mauro Carvalho Chehab
2025-07-09 13:52 ` [PATCH v2 31/39] scripts: sphinx-pre-install: add docstring documentation Mauro Carvalho Chehab
2025-07-09 13:52 ` [PATCH v2 32/39] scripts: sphinx-pre-install: fix several codingstyle issues Mauro Carvalho Chehab
2025-07-09 13:52 ` [PATCH v2 33/39] scripts: sphinx-pre-install: rework install command logic Mauro Carvalho Chehab
2025-07-09 13:52 ` [PATCH v2 34/39] scripts: sphinx-pre-install: update mandatory system deps Mauro Carvalho Chehab
2025-07-09 13:52 ` [PATCH v2 35/39] scripts: sphinx-pre-install: add support for RHEL8-based distros Mauro Carvalho Chehab
2025-07-09 13:52 ` [PATCH v2 36/39] scripts: sphinx-pre-install: add a warning for Debian-based distros Mauro Carvalho Chehab
2025-07-09 13:52 ` [PATCH v2 37/39] scripts: sphinx-pre-install: some adjustments related to venv Mauro Carvalho Chehab
2025-07-09 13:52 ` [PATCH v2 38/39] docs: Makefile: switch to the new scripts/sphinx-pre-install.py Mauro Carvalho Chehab
2025-07-09 13:52 ` [PATCH v2 39/39] scripts: sphinx-pre-install.pl: get rid of the old script Mauro Carvalho Chehab
2025-07-11 10:49 ` [PATCH v2 00/39] Translate sphinx-pre-install to Python Akira Yokosawa
2025-07-11 11:04 ` Mauro Carvalho Chehab [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-08-12 15:52 Mauro Carvalho Chehab
2025-08-13 16:23 ` Jonathan Corbet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250711130446.1b761538@foz.lan \
--to=mchehab+huawei@kernel.org \
--cc=akiyks@gmail.com \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).