[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176987242178.1743608.5094531752561489739.b4-ty@kernel.org>
Date: Sat, 31 Jan 2026 16:15:01 +0100
From: Nicolas Schier <nsc@...nel.org>
To: Jonathan Corbet <corbet@....net>,
Nathan Chancellor <nathan@...nel.org>
Cc: Nicolas Schier <nsc@...nel.org>,
linux-kbuild@...r.kernel.org,
linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org,
stable@...r.kernel.org,
Rong Zhang <i@...g.moe>,
Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Subject: Re: [PATCH] kbuild: Do not run kernel-doc when building external modules
On Fri, 30 Jan 2026 14:37:47 -0700, Nathan Chancellor wrote:
> After commit 778b8ebe5192 ("docs: Move the python libraries to
> tools/lib/python"), building an external module with any value of W=
> against the output of install-extmod-build fails with:
>
> $ make -C /usr/lib/modules/6.19.0-rc7-00108-g4d310797262f/build M=$PWD W=1
> make: Entering directory '/usr/lib/modules/6.19.0-rc7-00108-g4d310797262f/build'
> make[1]: Entering directory '...'
> CC [M] ...
> Traceback (most recent call last):
> File "/usr/lib/modules/6.19.0-rc7-00108-g4d310797262f/build/scripts/kernel-doc.py", line 339, in <module>
> main()
> ~~~~^^
> File "/usr/lib/modules/6.19.0-rc7-00108-g4d310797262f/build/scripts/kernel-doc.py", line 295, in main
> from kdoc.kdoc_files import KernelFiles # pylint: disable=C0415
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> ModuleNotFoundError: No module named 'kdoc'
>
> [...]
Applied to kbuild/linux.git (kbuild-fixes-unstable), thanks!
[1/1] kbuild: Do not run kernel-doc when building external modules
https://git.kernel.org/kbuild/c/8e249948
Please look out for regression or issue reports or other follow up
comments, as they may result in the patch/series getting dropped,
reverted or modified (e.g. trailers). Patches applied to the
kbuild-fixes-unstable branch are accepted pending wider testing in
linux-next and any post-commit review; they will generally be moved
to the kbuild-fixes branch in a week if no issues are found.
Best regards,
--
Nicolas
Powered by blists - more mailing lists