This problem is due to lack of headers in src_unpack. following is workaround patch diff --git a/dev-util/perf/perf-4.4.4.ebuild b/dev-util/perf/perf-4.4.4.ebuild index 18dd89e..b10b788 100644 --- a/dev-util/perf/perf-4.4.4.ebuild +++ b/dev-util/perf/perf-4.4.4.ebuild @@ -76,7 +76,7 @@ pkg_setup() { src_unpack() { local paths=( tools/arch tools/build tools/include tools/lib tools/perf tools/scripts - include lib "arch/*/lib" + arch/powerpc/include/uapi/asm include lib "arch/*/lib" ) Reproducible: Always Steps to Reproduce: make[2]: *** Waiting for unfinished jobs.... powerpc64le-unknown-linux-gnu-gcc -Wp,-MD,./.cpu.o.d,-MT,cpu.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -O2 -pipe -ggdb3 -Wall -Wextra -std=gnu99 -O6 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o cpu.o cpu.c powerpc64le-unknown-linux-gnu-gcc -Wp,-MD,fs/.fs.o.d,-MT,fs/fs.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -O2 -pipe -ggdb3 -Wall -Wextra -std=gnu99 -O6 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o fs/fs.o fs/fs.c In file included from arch/../util/../perf.h:15:0, from arch/../util/event.h:7, from arch/../util/debug.h:7, from arch/common.c:4: arch/../util/../perf-sys.h:40:56: fatal error: ../../arch/powerpc/include/uapi/asm/unistd.h: No such file or directory Actual Results: failed to emerge perf on ppc64le platform Expected Results: emerge perf successfully
this package isn't keyworded on ppc64 yet, so it's not expected to work we probably want to list all target's uapi headers, so like: "arch/*/include/uapi"
Package is keyworded now, can probably close this ? I guess it got missed because of typo in summary.