Skip to contentSkip to conversation

linux-next: build failure after merge of the gpio-intel tree

DISCUSSION Stephen Rothwell 2 participants 5 messages May 16, 2025 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the gpio-intel tree, today's linux-next build (htmldocs) failed like this:

Error: Cannot open file /home/sfr/next/next/drivers/gpio/gpiolib-acpi.c

Caused by commit

babb541af627 ("gpiolib: acpi: Move quirks to a separate file")

I have to run

make KERNELDOC=$(pwd)/scripts/kernel-doc.pl htmldocs

as the newer Python version dies without a useful error :-(

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 9 lines · Stephen Rothwell

Hi all,

After merging the gpio-intel tree, today's linux-next build (htmldocs) failed like this:

Error: Cannot open file /home/sfr/next/next/drivers/gpio/gpiolib-acpi.c

Caused by commit

Quoted 7 lines

babb541af627 ("gpiolib: acpi: Move quirks to a separate file")

I have to run

make KERNELDOC=$(pwd)/scripts/kernel-doc.pl htmldocs

as the newer Python version dies without a useful error :-(

Thanks for the report! And can you share the output of the above?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#2 lore raw

Hi Andy,

Quoted 13 lines · On Fri, 16 May 2025 12:36:40 +0300 Andy Shevchenko…
Quoted 11 lines · Stephen Rothwell

Hi all,

After merging the gpio-intel tree, today's linux-next build (htmldocs) failed like this:

Error: Cannot open file /home/sfr/next/next/drivers/gpio/gpiolib-acpi.c

Caused by commit

babb541af627 ("gpiolib: acpi: Move quirks to a separate file")

Quoted 7 lines
Quoted 5 lines

I have to run

make KERNELDOC=$(pwd)/scripts/kernel-doc.pl htmldocs

as the newer Python version dies without a useful error :-(

Thanks for the report! And can you share the output of the above?

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/bpf/bpf_iterators.rst:55: WARNING: Bullet list ends without a blank line; unexpected unindent. [docutils]
WARNING: /home/sfr/next/next/kernel/futex/futex.h:207 struct member 'drop_hb_ref' not described in 'futex_q'
WARNING: /home/sfr/next/next/kernel/futex/waitwake.c:593 function parameter 'task' not described in 'futex_wait_setup'

/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:1803: 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

This is already being discussed in another thread.

https://lore.kernel.org/all/[email protected]/

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw
Quoted 13 lines · Stephen Rothwell
Quoted 12 lines · On Fri, 16 May 2025 12:36:40 +0300 Andy Shevchenko…
Quoted 11 lines · Stephen Rothwell

Hi all,

After merging the gpio-intel tree, today's linux-next build (htmldocs) failed like this:

Error: Cannot open file /home/sfr/next/next/drivers/gpio/gpiolib-acpi.c

Caused by commit

babb541af627 ("gpiolib: acpi: Move quirks to a separate file")

Quoted 7 lines
Quoted 7 lines
Quoted 5 lines

I have to run

make KERNELDOC=$(pwd)/scripts/kernel-doc.pl htmldocs

as the newer Python version dies without a useful error :-(

Thanks for the report! And can you share the output of the above?

I have just sent [email protected], it should fix the error here.

Quoted 3 lines

This is already being discussed in another thread.

https://lore.kernel.org/all/[email protected]/

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#4 lore raw

Hi Andy,

Quoted 3 lines · On Fri, 16 May 2025 12:53:35 +0300 Andy Shevchenko…

I have just sent [email protected], it should fix the error here.

Thanks. Hopefully that will be in the gpio-intel tree soon.

Signature · 2 lines
Cheers,
Stephen Rothwell