linux-next: build failure after merge of the perf tree

From: Stephen Rothwell
Date: Mon Apr 01 2024 - 18:41:33 EST


Hi all,

After merging the perf tree, today's linux-next build (native i.e. ppc64le
perf) failed like this:

make[3]: *** No rule to make target '/home/sfr/next/next/tools/include/uapi/linux/stat.h', needed by '/home/sfr/next/perf/libbpf/staticobjs/libbpf.o'. Stop.

Maybe caused by commit

f122b3d6d179 ("perf beauty: Introduce scrape script for the 'statx' syscall 'mask' argument")

or

a672af9139a8 ("tools headers: Remove almost unused copy of uapi/stat.h, add few conditional defines")

or a combination of them?

This is an incremental build but doing 'make -C tools/perf clean' and then
rebuilding works, so maybe there is a dependency missing?

--
Cheers,
Stephen Rothwell

Attachment: pgp5kDaScOoBf.pgp
Description: OpenPGP digital signature