Re: linux-next: Tree for Sep 19 (make htmldocs problem)

From: Mauro Carvalho Chehab

Date: Sun Sep 21 2025 - 17:43:06 EST


Em Sun, 21 Sep 2025 14:44:48 -0600
Jonathan Corbet <corbet@xxxxxxx> escreveu:

> Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> writes:
>
> > do you know what is this "alts" file? Is it a custom script or
> > binary?
>
> It's the alternatives mechanism that openSUSE uses.

See my RFC patch. It fixes the issue when PYTHON3 is not explicitly set.

> I have no idea why
> they felt the need to employ it for Sphinx, but they did, so we need to
> work with that kind of configuration. Meaning, really, I think we have
> to just invoke sphinx-build directly rather than trying to control which
> version of Python it may ultimately get.

True, but if we ignore PYTHON3 env completely, this will break on
other setups where sphinx is installed with a different python version
(with includes OpenSUSE non-thumbleweed).

Thanks,
Mauro