Re: linux-next: build failure after merge all the trees

From: Ozgur Kara
Date: Thu May 08 2025 - 05:20:38 EST


Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>, 8 May 2025 Per, 11:26
tarihinde şunu yazdı:
>
> Hi all,
>
> In my after merge build tests, today's linux-next build (htmldocs)
> failed like this:
>
> make[1]: Entering directory '/home/sfr/next/htmldocs'
> PARSE include/uapi/linux/dvb/ca.h
> PARSE include/uapi/linux/dvb/dmx.h
> PARSE include/uapi/linux/dvb/frontend.h
> PARSE include/uapi/linux/dvb/net.h
> PARSE include/uapi/linux/videodev2.h
> PARSE include/uapi/linux/media.h
> PARSE include/uapi/linux/cec.h
> PARSE include/uapi/linux/lirc.h
> Using alabaster theme
> Using Python kernel-doc
> /home/sfr/next/next/Documentation/virt/kvm/x86/intel-tdx.rst:255: WARNING: Footnote [1] is not referenced. [ref.footnote]
>
> Sphinx error:
> Sphinx is unable to load the master document (/home/sfr/next/next/Documentation/index.rst). The master document must be within the source directory or a subdirectory of it.
> make[3]: *** [/home/sfr/next/next/Documentation/Makefile:123: htmldocs] Error 2
> make[2]: *** [/home/sfr/next/next/Makefile:1804: htmldocs] Error 2
> make[1]: *** [/home/sfr/next/next/Makefile:248: __sub-make] Error 2
> make[1]: Leaving directory '/home/sfr/next/htmldocs'
> make: *** [Makefile:248: __sub-make] Error 2
>
> I have no idea what caued this :-(

Hello,

Did you run this command before you got this error?

$ make htmldocs

but the error shows itself because index.rst is not in need requested
directory, please run:

$ git restore Documentation/index.rst

Can this solve it?
Regards,

Ozgur

>
> --
> Cheers,
> Stephen Rothwell