* docs build problems
@ 2025-10-15 21:06 Randy Dunlap
2025-10-15 21:15 ` Jonathan Corbet
0 siblings, 1 reply; 9+ messages in thread
From: Randy Dunlap @ 2025-10-15 21:06 UTC (permalink / raw)
To: Linux Documentation, linux-next, Jonathan Corbet,
Mauro Carvalho Chehab, broonie
Hi,
I am back to having one former error and one former pair of warnings
on today's linux-next (20251015):
../Documentation/Makefile:71: warning: overriding recipe for target 'pdfdocs'
../Documentation/Makefile:62: warning: ignoring old recipe for target 'pdfdocs'
File "/usr/bin/sphinx-build", line 1
\x7fELF\x02\x01\x01
SyntaxError: source code cannot contain null bytes
Did something happen to the docs/docs-next tree or was there some kind
of mis-merge problem?
thanks.
--
~Randy
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: docs build problems
2025-10-15 21:06 docs build problems Randy Dunlap
@ 2025-10-15 21:15 ` Jonathan Corbet
2025-10-15 21:16 ` Randy Dunlap
2025-10-15 21:44 ` Mauro Carvalho Chehab
0 siblings, 2 replies; 9+ messages in thread
From: Jonathan Corbet @ 2025-10-15 21:15 UTC (permalink / raw)
To: Randy Dunlap, Linux Documentation, linux-next,
Mauro Carvalho Chehab, broonie
Randy Dunlap <rdunlap@infradead.org> writes:
> Hi,
>
> I am back to having one former error and one former pair of warnings
> on today's linux-next (20251015):
>
> ../Documentation/Makefile:71: warning: overriding recipe for target 'pdfdocs'
> ../Documentation/Makefile:62: warning: ignoring old recipe for target 'pdfdocs'
> File "/usr/bin/sphinx-build", line 1
> \x7fELF.\x01.
> SyntaxError: source code cannot contain null bytes
>
>
> Did something happen to the docs/docs-next tree or was there some kind
> of mis-merge problem?
I pulled docs-next forward to -rc1 and merged a few things, but I
wouldn't expect any of that to create that kind of problem. It seems we
lost the makefile fix somehow...?
jon
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: docs build problems
2025-10-15 21:15 ` Jonathan Corbet
@ 2025-10-15 21:16 ` Randy Dunlap
2025-10-15 21:44 ` Mauro Carvalho Chehab
1 sibling, 0 replies; 9+ messages in thread
From: Randy Dunlap @ 2025-10-15 21:16 UTC (permalink / raw)
To: Jonathan Corbet, Linux Documentation, linux-next,
Mauro Carvalho Chehab, broonie
On 10/15/25 2:15 PM, Jonathan Corbet wrote:
> Randy Dunlap <rdunlap@infradead.org> writes:
>
>> Hi,
>>
>> I am back to having one former error and one former pair of warnings
>> on today's linux-next (20251015):
>>
>> ../Documentation/Makefile:71: warning: overriding recipe for target 'pdfdocs'
>> ../Documentation/Makefile:62: warning: ignoring old recipe for target 'pdfdocs'
>> File "/usr/bin/sphinx-build", line 1
>> \x7fELF.\x01.
>> SyntaxError: source code cannot contain null bytes
>>
>>
>> Did something happen to the docs/docs-next tree or was there some kind
>> of mis-merge problem?
>
> I pulled docs-next forward to -rc1 and merged a few things, but I
> wouldn't expect any of that to create that kind of problem. It seems we
> lost the makefile fix somehow...?
>
> jon
and sphinx-build-wrapper fix also.
--
~Randy
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: docs build problems
2025-10-15 21:15 ` Jonathan Corbet
2025-10-15 21:16 ` Randy Dunlap
@ 2025-10-15 21:44 ` Mauro Carvalho Chehab
2025-10-15 21:47 ` Jonathan Corbet
2025-10-15 21:53 ` Jonathan Corbet
1 sibling, 2 replies; 9+ messages in thread
From: Mauro Carvalho Chehab @ 2025-10-15 21:44 UTC (permalink / raw)
To: Jonathan Corbet; +Cc: Randy Dunlap, Linux Documentation, linux-next, broonie
Em Wed, 15 Oct 2025 15:15:37 -0600
Jonathan Corbet <corbet@lwn.net> escreveu:
> Randy Dunlap <rdunlap@infradead.org> writes:
>
> > Hi,
> >
> > I am back to having one former error and one former pair of warnings
> > on today's linux-next (20251015):
> >
> > ../Documentation/Makefile:71: warning: overriding recipe for target 'pdfdocs'
> > ../Documentation/Makefile:62: warning: ignoring old recipe for target 'pdfdocs'
> > File "/usr/bin/sphinx-build", line 1
> > \x7fELF.\x01.
> > SyntaxError: source code cannot contain null bytes
> >
> >
> > Did something happen to the docs/docs-next tree or was there some kind
> > of mis-merge problem?
>
> I pulled docs-next forward to -rc1 and merged a few things, but I
> wouldn't expect any of that to create that kind of problem. It seems we
> lost the makefile fix somehow...?
Just did a rebase. Those patches are missing:
e2c3ba36aee2 tools/docs: sphinx-build-wrapper: -q is a boolean, not an integer
0ce66e3f9c8b kernel-doc: output source file name at SEE ALSO
9b34d25a58ae docs: Makefile: use PYTHONPYCACHEPREFIX
d5da902cc340 tools/docs: sphinx-build-wrapper: pdflatex is needed only for pdf
1cad2682b785 docs: Makefile: avoid a warning when using without texlive
f0a4ad647aad tools/docs/sphinx-build-wrapper: allow skipping sphinx-build step
fb4771ad4ff4 docs: Makefile: fix rustdoc detection
ed7faec0095d tools/docs: sphinx-build-wrapper: fix compat with recent Tumbleweed
ab7dde2453af docs: conf.py: get rid of load_config.py
8f421d0c327f scripts: remove sphinx-build-wrapper from scripts/
9a20d16551af tools/docs: sphinx-build-wrapper: handle sphinx-build errors
Want me to re-send them?
Regards,
Mauro
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: docs build problems
2025-10-15 21:44 ` Mauro Carvalho Chehab
@ 2025-10-15 21:47 ` Jonathan Corbet
2025-10-15 21:53 ` Jonathan Corbet
1 sibling, 0 replies; 9+ messages in thread
From: Jonathan Corbet @ 2025-10-15 21:47 UTC (permalink / raw)
To: Mauro Carvalho Chehab
Cc: Randy Dunlap, Linux Documentation, linux-next, broonie
Mauro Carvalho Chehab <mchehab+huawei@kernel.org> writes:
> Em Wed, 15 Oct 2025 15:15:37 -0600
> Jonathan Corbet <corbet@lwn.net> escreveu:
>
>> Randy Dunlap <rdunlap@infradead.org> writes:
>>
>> > Hi,
>> >
>> > I am back to having one former error and one former pair of warnings
>> > on today's linux-next (20251015):
>> >
>> > ../Documentation/Makefile:71: warning: overriding recipe for target 'pdfdocs'
>> > ../Documentation/Makefile:62: warning: ignoring old recipe for target 'pdfdocs'
>> > File "/usr/bin/sphinx-build", line 1
>> > \x7fELF...
>> > SyntaxError: source code cannot contain null bytes
>> >
>> >
>> > Did something happen to the docs/docs-next tree or was there some kind
>> > of mis-merge problem?
>>
>> I pulled docs-next forward to -rc1 and merged a few things, but I
>> wouldn't expect any of that to create that kind of problem. It seems we
>> lost the makefile fix somehow...?
>
> Just did a rebase. Those patches are missing:
>
> e2c3ba36aee2 tools/docs: sphinx-build-wrapper: -q is a boolean, not an integer
> 0ce66e3f9c8b kernel-doc: output source file name at SEE ALSO
> 9b34d25a58ae docs: Makefile: use PYTHONPYCACHEPREFIX
> d5da902cc340 tools/docs: sphinx-build-wrapper: pdflatex is needed only for pdf
> 1cad2682b785 docs: Makefile: avoid a warning when using without texlive
> f0a4ad647aad tools/docs/sphinx-build-wrapper: allow skipping sphinx-build step
> fb4771ad4ff4 docs: Makefile: fix rustdoc detection
> ed7faec0095d tools/docs: sphinx-build-wrapper: fix compat with recent Tumbleweed
> ab7dde2453af docs: conf.py: get rid of load_config.py
> 8f421d0c327f scripts: remove sphinx-build-wrapper from scripts/
> 9a20d16551af tools/docs: sphinx-build-wrapper: handle sphinx-build errors
>
> Want me to re-send them?
I'll have them around, I think. I need to figure out why they
disappeared, though; this is a bit weird.
Thanks,
jon
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: docs build problems
2025-10-15 21:44 ` Mauro Carvalho Chehab
2025-10-15 21:47 ` Jonathan Corbet
@ 2025-10-15 21:53 ` Jonathan Corbet
2025-10-16 9:23 ` Mauro Carvalho Chehab
1 sibling, 1 reply; 9+ messages in thread
From: Jonathan Corbet @ 2025-10-15 21:53 UTC (permalink / raw)
To: Mauro Carvalho Chehab
Cc: Randy Dunlap, Linux Documentation, linux-next, broonie
Mauro Carvalho Chehab <mchehab+huawei@kernel.org> writes:
> Just did a rebase. Those patches are missing:
>
> e2c3ba36aee2 tools/docs: sphinx-build-wrapper: -q is a boolean, not an integer
> 0ce66e3f9c8b kernel-doc: output source file name at SEE ALSO
> 9b34d25a58ae docs: Makefile: use PYTHONPYCACHEPREFIX
> d5da902cc340 tools/docs: sphinx-build-wrapper: pdflatex is needed only for pdf
> 1cad2682b785 docs: Makefile: avoid a warning when using without texlive
> f0a4ad647aad tools/docs/sphinx-build-wrapper: allow skipping sphinx-build step
> fb4771ad4ff4 docs: Makefile: fix rustdoc detection
> ed7faec0095d tools/docs: sphinx-build-wrapper: fix compat with recent Tumbleweed
> ab7dde2453af docs: conf.py: get rid of load_config.py
> 8f421d0c327f scripts: remove sphinx-build-wrapper from scripts/
> 9a20d16551af tools/docs: sphinx-build-wrapper: handle sphinx-build errors
>
> Want me to re-send them?
*Sigh*
I forgot to pull the build-script branch back to the desktop machine
once I got back home, so I was missing everything that I applied while
on the road. That has been rectified, and the needed patches are now in
docs-next.
My apologies for the screwup.
jon
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: docs build problems
2025-10-15 21:53 ` Jonathan Corbet
@ 2025-10-16 9:23 ` Mauro Carvalho Chehab
2025-10-16 21:01 ` Jonathan Corbet
0 siblings, 1 reply; 9+ messages in thread
From: Mauro Carvalho Chehab @ 2025-10-16 9:23 UTC (permalink / raw)
To: Jonathan Corbet; +Cc: Randy Dunlap, Linux Documentation, linux-next, broonie
Em Wed, 15 Oct 2025 15:53:33 -0600
Jonathan Corbet <corbet@lwn.net> escreveu:
> Mauro Carvalho Chehab <mchehab+huawei@kernel.org> writes:
>
> > Just did a rebase. Those patches are missing:
> >
> > e2c3ba36aee2 tools/docs: sphinx-build-wrapper: -q is a boolean, not an integer
> > 0ce66e3f9c8b kernel-doc: output source file name at SEE ALSO
> > 9b34d25a58ae docs: Makefile: use PYTHONPYCACHEPREFIX
> > d5da902cc340 tools/docs: sphinx-build-wrapper: pdflatex is needed only for pdf
> > 1cad2682b785 docs: Makefile: avoid a warning when using without texlive
> > f0a4ad647aad tools/docs/sphinx-build-wrapper: allow skipping sphinx-build step
> > fb4771ad4ff4 docs: Makefile: fix rustdoc detection
> > ed7faec0095d tools/docs: sphinx-build-wrapper: fix compat with recent Tumbleweed
> > ab7dde2453af docs: conf.py: get rid of load_config.py
> > 8f421d0c327f scripts: remove sphinx-build-wrapper from scripts/
> > 9a20d16551af tools/docs: sphinx-build-wrapper: handle sphinx-build errors
> >
> > Want me to re-send them?
>
> *Sigh*
>
> I forgot to pull the build-script branch back to the desktop machine
> once I got back home, so I was missing everything that I applied while
> on the road. That has been rectified, and the needed patches are now in
> docs-next.
>
> My apologies for the screwup.
Heh, that happens ;-)
All patches from my fixes series are there now.
Looking at my docs pending stuff, the only thing missing is this
series:
https://lore.kernel.org/linux-doc/cover.1759329363.git.mchehab+huawei@kernel.org/
I double-checked: it applies cleanly on the top of docs-next, as it is
unrelated to build wrapper.
Regards,
Mauro
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: docs build problems
2025-10-16 9:23 ` Mauro Carvalho Chehab
@ 2025-10-16 21:01 ` Jonathan Corbet
2025-10-17 8:26 ` Mauro Carvalho Chehab
0 siblings, 1 reply; 9+ messages in thread
From: Jonathan Corbet @ 2025-10-16 21:01 UTC (permalink / raw)
To: Mauro Carvalho Chehab
Cc: Randy Dunlap, Linux Documentation, linux-next, broonie
Mauro Carvalho Chehab <mchehab+huawei@kernel.org> writes:
> Looking at my docs pending stuff, the only thing missing is this
> series:
>
> https://lore.kernel.org/linux-doc/cover.1759329363.git.mchehab+huawei@kernel.org/
>
> I double-checked: it applies cleanly on the top of docs-next, as it is
> unrelated to build wrapper.
In that posting, you said you weren't sure how you wanted it merged, so
I have it just sitting in a folder. I take it you think I should pick
it up?
jon
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: docs build problems
2025-10-16 21:01 ` Jonathan Corbet
@ 2025-10-17 8:26 ` Mauro Carvalho Chehab
0 siblings, 0 replies; 9+ messages in thread
From: Mauro Carvalho Chehab @ 2025-10-17 8:26 UTC (permalink / raw)
To: Jonathan Corbet; +Cc: Randy Dunlap, Linux Documentation, linux-next, broonie
Em Thu, 16 Oct 2025 15:01:04 -0600
Jonathan Corbet <corbet@lwn.net> escreveu:
> Mauro Carvalho Chehab <mchehab+huawei@kernel.org> writes:
>
> > Looking at my docs pending stuff, the only thing missing is this
> > series:
> >
> > https://lore.kernel.org/linux-doc/cover.1759329363.git.mchehab+huawei@kernel.org/
> >
> > I double-checked: it applies cleanly on the top of docs-next, as it is
> > unrelated to build wrapper.
>
> In that posting, you said you weren't sure how you wanted it merged, so
> I have it just sitting in a folder. I take it you think I should pick
> it up?
Maybe the best would be to have it on a separate branch
on the top of 6.18-rc1 and have it merged to both docs and media.
This way, we'll doc build issues and prevent changes on media docs
to break things.
What do you think?
Regards,
Mauro
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-10-17 8:26 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-15 21:06 docs build problems Randy Dunlap
2025-10-15 21:15 ` Jonathan Corbet
2025-10-15 21:16 ` Randy Dunlap
2025-10-15 21:44 ` Mauro Carvalho Chehab
2025-10-15 21:47 ` Jonathan Corbet
2025-10-15 21:53 ` Jonathan Corbet
2025-10-16 9:23 ` Mauro Carvalho Chehab
2025-10-16 21:01 ` Jonathan Corbet
2025-10-17 8:26 ` Mauro Carvalho Chehab
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).