[-CC: rust people and list] OK, Looks like I have to bite. On Wed, 10 Sep 2025 15:33:34 +0200, Mauro Carvalho Chehab wrote: [...] > The current approach of using LaTeX for PDF is dirty: > > - Sphinx can't produce a LaTeX file from the Kernel trees without > hundreds of warnings; > - latexmk hides some of them, but even it just one warning is reported, > the return status is not zero. This sounds interesting to me. As far I remember, I have never seen such strange results of latexmk under build envs where all the necessary packages are properly installed. I think what you are trying here is to paper over whatever bug in latexmk/ xelatex by always ignoring their exit status. Am I guessing right? If that is the case, I'd rather report such an issue at upstream lagtexmk/xelatex. Can you please provide a reproducer of such an issue? Or you saw something while you were tackling issues you claimed in the cover letter [1] of "Fix PDF doc builds on major distros" series? [1]: https://lore.kernel.org/cover.1755763127.git.mchehab+huawei@xxxxxxxxxx/ Thanks, Akira