The unpack function of the ebuild for dev-util/perf-4.4.4 does a partial unpack of the kernel source tree. Among the subtrees it does _not_ unpack is "arch/*/include". This makes the build fail on PowerPC as it attempts to include a file from there: util/../perf-sys.h:40:56: fatal error: ../../arch/powerpc/include/uapi/asm/unistd.h: No such file or directory So the ebuild needs to be fixed to unpack "arch/*/include" in addition to "arch/*/lib", just like the ebuild 4.1.5-r1 did. I have verified that this change allows the build to complete normally.
Wow, reported by Marcus Comstedt of DC programming fame? Cool! I have successfully merged dev-util/perf-4.9.13 on powerpc. I recommend this bug be closed and not fixed, as 4.4.4, unless there is a specific need for the older version.
Created attachment 638658 [details] build.log (ppc) dev-util/perf-5.6.4 just builds fine on ppc. Guess this can be closed.
(In reply to ernsteiswuerfel from comment #2) > Created attachment 638658 [details] > build.log (ppc) > > dev-util/perf-5.6.4 just builds fine on ppc. Guess this can be closed. Thank you! Closing as OBSOLETE.