Re: linux-next: build failure after merge of the perf tree
From: James Clark
Date: Mon Jan 19 2026 - 11:55:34 EST
On 19/01/2026 4:43 pm, Mark Brown wrote:
On Mon, Jan 19, 2026 at 04:37:12PM +0000, James Clark wrote:
On 19/01/2026 4:09 pm, Mark Brown wrote:
After merging the perf tree, today's linux-next build (arm64 perf)
failed like this:
Exception processing /tmp/next/perf/pmu-events/arch/arm64/arm/cortex-a510/pmu.json
Do you have a clean checkout? a66f6242fbf52 removes this file and at the
same time removes the definition from common-and-microarch.json. I think you
would get this build error if cortex-a510/pmu.json exists as a stale file
with that commit applied.
No, all the -next builds are done incrementally so the working tree will
start with whatever the last commit that got built was. This would also
break bisection cases...
Oh I see, that's an out of source build path not actually in the repo.
That is a problem then, will take a look. I'm not sure why those files are even copied out of the tree. It would make sense if they're generated, but those ones specifically are not.
Seems like the build will need to be fixed to either handle deleted files or just not copy them in the first place.