linux-next: build failure after merge of the perf tree
Hi all,
After merging the perf tree, today's linux-next build (native 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.
Caused by commit
f122b3d6d179 ("perf beauty: Introduce scrape script for the 'statx' syscall 'mask' argument")
Are all these new commits today really destined for the current merge window?
I have used the perf tree from next-20240321 for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 7 lines · Stephen Rothwell
Hi all,
After merging the perf tree, today's linux-next build (native 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.
Quoted 8 lines
Caused by commit
f122b3d6d179("perf beauty: Introduce scrape script for the 'statx' syscall 'mask' argument")Are all these new commits today really destined for the current merge window?
I have used the perf tree from next-20240321 for today.
Ok, maybe I opened perf-tools-next for the next merge window too early?
For this merge window I think Namhyung is switching to perf-tools, right?
From your reaction I think I made a mistake and should have opened perf-tools-next for v6.10 stuff only when the v6.9-rc1 gets released...
- Arnaldo
Quoted 7 lines · Arnaldo Carvalho de Melo
Quoted 6 lines · Stephen Rothwell
Hi all,
After merging the perf tree, today's linux-next build (native 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.
About this specific problem, was this done on over a previous build? Can you try after a 'make -C tools/perf clean' ?
Quoted 18 lines
Quoted 8 lines
Caused by commit
f122b3d6d179("perf beauty: Introduce scrape script for the 'statx' syscall 'mask' argument")Are all these new commits today really destined for the current merge window?
I have used the perf tree from next-20240321 for today.
Ok, maybe I opened perf-tools-next for the next merge window too early?
For this merge window I think Namhyung is switching to perf-tools, right?
From your reaction I think I made a mistake and should have opened perf-tools-next for v6.10 stuff only when the v6.9-rc1 gets released...
- Arnaldo
Hi Arnaldo,
Quoted 4 lines · On Thu, 21 Mar 2024 20:19:00 -0300 Arnaldo Carvalho de Melo <[email protected]>…
About this specific problem, was this done on over a previous build? Can you try after a 'make -C
tools/perfclean' ?
It was done over a previous build. I can try a clean build later today. We have had this problem before with different include files and I think it came down to a missing dependency.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Arnaldo,
Quoted 9 lines · On Fri, 22 Mar 2024 10:32:29 +1100 Stephen Rothwell <[email protected]>…
Quoted 2 lines · On Thu, 21 Mar 2024 20:19:00 -0300 Arnaldo Carvalho de Melo <[email protected]>…
About this specific problem, was this done on over a previous build? Can you try after a 'make -C
tools/perfclean' ?It was done over a previous build. I can try a clean build later today. We have had this problem before with different include files and I think it came down to a missing dependency.
It builds OK if I do the clean first.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 6 lines · Stephen Rothwell
Hi Arnaldo,
Quoted 3 lines · On Fri, 22 Mar 2024 10:32:29 +1100 Stephen Rothwell <[email protected]>…
On Thu, 21 Mar 2024 20:19:00 -0300 Arnaldo Carvalho de Melo <[email protected]> wrote:
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
About this specific problem, was this done on over a previous build? Can you try after a 'make -C
tools/perfclean' ?It was done over a previous build. I can try a clean build later today. We have had this problem before with different include files and I think it came down to a missing dependency.
It builds OK if I do the clean first.
Thanks for checking, I'll try and have this noticed by make so that it works even when doing it on a previous build.
- Arnaldo
Hi Arnaldo,
Quoted 2 lines · On Thu, 21 Mar 2024 20:18:00 -0300 Arnaldo Carvalho de Melo <[email protected]>…
Ok, maybe I opened perf-tools-next for the next merge window too early?
Yeah.
Quoted 2 lines
For this merge window I think Namhyung is switching to perf-tools, right?
Hopefully. That branch is for bugs fixes, I think.
Quoted 2 lines
From your reaction I think I made a mistake and should have opened perf-tools-next for v6.10 stuff only when the v6.9-rc1 gets released...
The top of my daily linux-next release report says
"Please do not add any v6.10 material to your linux-next included branches until after v6.9-rc1 has been released."
(I did forget this message for few days this merge window, sorry).
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 7 lines · Stephen Rothwell
Hi Arnaldo,
Quoted 2 lines · On Thu, 21 Mar 2024 20:18:00 -0300 Arnaldo Carvalho de Melo <[email protected]>…
Ok, maybe I opened perf-tools-next for the next merge window too early?
Yeah.
Ok, I'm rewinding perf-tools-next to the point where Linus merged Namhyung's first, and only so far, pull request, sorry for the noise.
Quoted 4 lines
Quoted 2 lines
For this merge window I think Namhyung is switching to perf-tools, right?
Hopefully. That branch is for bugs fixes, I think.
Right, that will start at rc1, ok.
Quoted 9 lines
Quoted 2 lines
From your reaction I think I made a mistake and should have opened perf-tools-next for v6.10 stuff only when the v6.9-rc1 gets released...
The top of my daily linux-next release report says
"Please do not add any v6.10 material to your linux-next included branches until after v6.9-rc1 has been released."
(I did forget this message for few days this merge window, sorry).
Ok,
- Arnaldo
Quoted 7 lines · Stephen Rothwell
Hi Arnaldo,
Quoted 2 lines · On Thu, 21 Mar 2024 20:18:00 -0300 Arnaldo Carvalho de Melo <[email protected]>…
Ok, maybe I opened perf-tools-next for the next merge window too early?
Yeah.
Ok, I got it back to:
acme@x1:~/git/perf-tools-next$ git log --oneline -3 perf-tools-next/perf-tools-next 1bbeaf83dd7b5e36 (perf-tools-next/perf-tools-next) Merge tag 'perf-tools-for-v6.9-2024-03-13' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools 63bd30f249dcf0a7 Merge tag 'trace-ring-buffer-v6.8-rc7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace 01732755ee30f086 Merge tag 'probes-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace acme@x1:~/git/perf-tools-next$
Sorry for the noise, I'll move to perf-tools-next when -rc1 gets released, I'm acumulating new stuff on a different branch.
- Arnaldo