Perf compile fails from missing files

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Perf compile fails from missing files

5,904 次查看
nathanb1
Contributor II

Hello,

I have run into the below error in my Yocto build and have so far been unable to find what is causing it or any solutions. I am stuck so any advise is appreciated.

$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-zeus -m imx-5.4.3-1.0.0.xml

I then grab my companies layer and add it to the bblayers.conf

$ DISTRO=fsl-imx-x11 MACHINE=imx6qtetra source imx-setup-release.sh -b repotest

also trying DISTRO=fsl-imx-xwayland as listed in the error log below.

$ bitbake core-image-sato-sdk

Once the error comes up I just run bitbake for perf directly.

My perf.bb and perl-perf.inc match the Zeus branch of Poky, no changes. 

It looks like several files are not being fetched for some reason. Here is the error log:

nathanb@buildpc1-1710:~/repotest/$ bitbake core-image-sato-sdk
Loading cache: 100% |#########################################################################################################################################################################################################| Time: 0:00:00
Loaded 4076 entries from dependency cache.
Parsing recipes: 100% |#######################################################################################################################################################################################################| Time: 0:00:01
Parsing of 2886 .bb files complete (2881 cached, 5 parsed). 4077 targets, 260 skipped, 2 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.44.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6qtetra"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "5.4-zeus"
TUNE_FEATURES = "arm vfp cortexa9 neon thumb callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:0275e68b0576cdefc19718e4b1977044f9f43f48"
meta-oe
meta-multimedia
meta-python = "HEAD:aad5b3d070cd8c58828b0975cf861d8ebc90f460"
meta-freescale = "HEAD:0be39721cea6e04c589a419f4bb07fabd0da6704"
meta-freescale-3rdparty = "HEAD:aea3771baa77e74762358ceb673d407e36637e5f"
meta-freescale-distro = "HEAD:ca27d12e4964d1336e662bcc60184bbff526c857"
meta-versalogic = "zeus:06bede5503b91bf60a0b0257ab1ea7911b40d2ba"
meta-bsp
meta-sdk
meta-ml = "HEAD:435f5e984856a943986491fddd061734a0b9eba5"
meta-browser = "HEAD:5f365ef0f842ba4651efe88787cf9c63bc8b6cb3"
meta-rust = "HEAD:5cda04c7c2158fc982502ca1e7893f71e4ca1729"
meta-gnome
meta-networking
meta-filesystems = "HEAD:aad5b3d070cd8c58828b0975cf861d8ebc90f460"
meta-qt5 = "HEAD:432ad2aa6c3a13253fefc909faba368851d21fb1"

Initialising tasks: 100% |####################################################################################################################################################################################################| Time: 0:00:03
Sstate summary: Wanted 1599 Found 0 Missed 1599 Current 1054 (0% match, 39% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
ERROR: perf-1.0-r9 do_compile: oe_runmake failed
ERROR: perf-1.0-r9 do_compile: Execution of '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/temp/run.do_compile.15530' failed with exit code 1:
make: Entering directory '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/tools/perf'
BUILD: Doing 'make -j8' parallel build
HOSTCC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fixdep.o
HOSTLD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fixdep-in.o
LINK /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fixdep
Warning: Kernel ABI header at 'tools/include/uapi/linux/sched.h' differs from latest version at 'include/uapi/linux/sched.h'
diff -u tools/include/uapi/linux/sched.h include/uapi/linux/sched.h

Auto-detecting system features:
... dwarf: [ on ]
... dwarf_getlocations: [ on ]
... glibc: [ on ]
... gtk2: [ OFF ]
... libaudit: [ OFF ]
... libbfd: [ on ]
... libcap: [ OFF ]
... libelf: [ on ]
... libnuma: [ OFF ]
... numa_num_possible_cpus: [ OFF ]
... libperl: [ OFF ]
... libpython: [ on ]
... libcrypto: [ on ]
... libunwind: [ on ]
... libdw-dwarf-unwind: [ on ]
... zlib: [ on ]
... lzma: [ on ]
... get_cpuid: [ OFF ]
... bpf: [ on ]
... libaio: [ on ]
... libzstd: [ OFF ]
... disassembler-four-args: [ on ]

Makefile.config:489: DWARF support is off, BPF prologue is disabled
Makefile.config:697: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev
Makefile.config:826: No libzstd found, disables trace compression, please install libzstd-dev[el] and/or set LIBZSTD_DIR
Makefile.config:837: No libcap found, disables capability support, please install libcap-devel/libcap-dev
Makefile.config:905: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev
GEN /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/common-cmds.h
Makefile:333: scripts/Kbuild.include: No such file or directory
Makefile:340: scripts/subarch.include: No such file or directory
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fd/array.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/core.o
Makefile:653: arch/arm/Makefile: No such file or directory
Makefile:718: scripts/Makefile.kcov: No such file or directory
Makefile:719: scripts/Makefile.gcc-plugins: No such file or directory
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/event-parse.o
Makefile:900: scripts/Makefile.kasan: No such file or directory
Makefile:901: scripts/Makefile.extrawarn: No such file or directory
Makefile:902: scripts/Makefile.ubsan: No such file or directory
make[3]: *** No rule to make target 'scripts/Makefile.ubsan'. Stop.
PERF_VERSION =
core.c:8:10: fatal error: perf/core.h: No such file or directory
8 | #include <perf/core.h>
| ^~~~~~~~~~~~~
compilation terminated.
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/cpumap.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/exec-cmd.o
MKDIR /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/libbpf.o
cpumap.c:2:10: fatal error: perf/cpumap.h: No such file or directory
2 | #include <perf/cpumap.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
mv: cannot stat '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/.core.o.tmp': No such file or directory
/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/tools/build/Makefile.build:96: recipe for target '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/core.o' failed
make[4]: *** [/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/core.o] Error 1
make[4]: *** Waiting for unfinished jobs....
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/help.o
mv: cannot stat '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/.cpumap.o.tmp': No such file or directory
/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/tools/build/Makefile.build:96: recipe for target '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/cpumap.o' failed
make[4]: *** [/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/cpumap.o] Error 1
Makefile:119: recipe for target '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libperf-in.o' failed
make[3]: *** [/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libperf-in.o] Error 2
Makefile.perf:764: recipe for target '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libperf.a' failed
make[2]: *** [/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libperf.a] Error 2
make[2]: *** Waiting for unfinished jobs....
MKDIR /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/bpf.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fs/fs.o
LD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fd/libapi-in.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/cpu.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/debug.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/str_error_r.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/pager.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/nlattr.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/parse-options.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fs/tracing_path.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/btf.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/run-command.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/event-plugin.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/sigchain.o
LD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fs/libapi-in.o
LD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libapi-in.o
AR /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libapi.a
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/trace-seq.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/parse-filter.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/libbpf_errno.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/subcmd-config.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/parse-utils.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/str_error.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/netlink.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/bpf_prog_linfo.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/kbuffer-parse.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/tep_strerror.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/libbpf_probes.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/xsk.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/event-parse-api.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/btf_dump.o
CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/hashmap.o
LD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libsubcmd-in.o
LD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libtraceevent-in.o
LINK /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libtraceevent.a
AR /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libsubcmd.a
LD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/libbpf-in.o
LINK /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libbpf.a
Makefile.perf:220: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:69: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/tools/perf'
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/temp/log.do_compile.15530
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 -C /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/tools/perf O=/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0 CROSS_COMPILE=arm-poky-linux-gnueabi- ARCH=arm CC=arm-poky-linux-gnueabi-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/recipe-sysroot AR=arm-poky-linux-gnueabi-gcc-ar LD=arm-poky-linux-gnueabi-ld --sysroot=/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/recipe-sysroot EXTRA_CFLAGS=-ldw EXTRA_LDFLAGS= perfexecdir=/usr/libexec NO_GTK2=1 NO_LIBAUDIT=1 NO_DWARF=1 NO_JVMTI=1 NO_LIBNUMA=1 NO_SDT=1 TMPDIR=/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0 LIBUNWIND_DIR=/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/recipe-sysroot/usr DESTDIR=/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/image prefix=/usr bindir=/usr/bin sharedir=/usr/share sysconfdir=/etc perfexecdir=/usr/libexec/perf-core ETC_PERFCONFIG=../etc sharedir=share mandir=share/man infodir=share/info PYTHON=python3 PYTHON_CONFIG=python3-config all
| make: Entering directory '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/tools/perf'
| BUILD: Doing 'make -j8' parallel build
| HOSTCC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fixdep.o
| HOSTLD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fixdep-in.o
| LINK /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fixdep
| Warning: Kernel ABI header at 'tools/include/uapi/linux/sched.h' differs from latest version at 'include/uapi/linux/sched.h'
| diff -u tools/include/uapi/linux/sched.h include/uapi/linux/sched.h
|
| Auto-detecting system features:
| ... dwarf: [ on ]
| ... dwarf_getlocations: [ on ]
| ... glibc: [ on ]
| ... gtk2: [ OFF ]
| ... libaudit: [ OFF ]
| ... libbfd: [ on ]
| ... libcap: [ OFF ]
| ... libelf: [ on ]
| ... libnuma: [ OFF ]
| ... numa_num_possible_cpus: [ OFF ]
| ... libperl: [ OFF ]
| ... libpython: [ on ]
| ... libcrypto: [ on ]
| ... libunwind: [ on ]
| ... libdw-dwarf-unwind: [ on ]
| ... zlib: [ on ]
| ... lzma: [ on ]
| ... get_cpuid: [ OFF ]
| ... bpf: [ on ]
| ... libaio: [ on ]
| ... libzstd: [ OFF ]
| ... disassembler-four-args: [ on ]
|
| Makefile.config:489: DWARF support is off, BPF prologue is disabled
| Makefile.config:697: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev
| Makefile.config:826: No libzstd found, disables trace compression, please install libzstd-dev[el] and/or set LIBZSTD_DIR
| Makefile.config:837: No libcap found, disables capability support, please install libcap-devel/libcap-dev
| Makefile.config:905: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev
| GEN /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/common-cmds.h
| Makefile:333: scripts/Kbuild.include: No such file or directory
| Makefile:340: scripts/subarch.include: No such file or directory
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fd/array.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/core.o
| Makefile:653: arch/arm/Makefile: No such file or directory
| Makefile:718: scripts/Makefile.kcov: No such file or directory
| Makefile:719: scripts/Makefile.gcc-plugins: No such file or directory
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/event-parse.o
| Makefile:900: scripts/Makefile.kasan: No such file or directory
| Makefile:901: scripts/Makefile.extrawarn: No such file or directory
| Makefile:902: scripts/Makefile.ubsan: No such file or directory
| make[3]: *** No rule to make target 'scripts/Makefile.ubsan'. Stop.
| PERF_VERSION =
| core.c:8:10: fatal error: perf/core.h: No such file or directory
| 8 | #include <perf/core.h>
| | ^~~~~~~~~~~~~
| compilation terminated.
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/cpumap.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/exec-cmd.o
| MKDIR /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/libbpf.o
| cpumap.c:2:10: fatal error: perf/cpumap.h: No such file or directory
| 2 | #include <perf/cpumap.h>
| | ^~~~~~~~~~~~~~~
| compilation terminated.
| mv: cannot stat '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/.core.o.tmp': No such file or directory
| /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/tools/build/Makefile.build:96: recipe for target '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/core.o' failed
| make[4]: *** [/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/core.o] Error 1
| make[4]: *** Waiting for unfinished jobs....
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/help.o
| mv: cannot stat '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/.cpumap.o.tmp': No such file or directory
| /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/tools/build/Makefile.build:96: recipe for target '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/cpumap.o' failed
| make[4]: *** [/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/cpumap.o] Error 1
| Makefile:119: recipe for target '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libperf-in.o' failed
| make[3]: *** [/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libperf-in.o] Error 2
| Makefile.perf:764: recipe for target '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libperf.a' failed
| make[2]: *** [/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libperf.a] Error 2
| make[2]: *** Waiting for unfinished jobs....
| MKDIR /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/bpf.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fs/fs.o
| LD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fd/libapi-in.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/cpu.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/debug.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/str_error_r.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/pager.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/nlattr.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/parse-options.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fs/tracing_path.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/btf.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/run-command.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/event-plugin.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/sigchain.o
| LD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fs/libapi-in.o
| LD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libapi-in.o
| AR /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libapi.a
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/trace-seq.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/parse-filter.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/libbpf_errno.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/subcmd-config.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/parse-utils.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/str_error.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/netlink.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/bpf_prog_linfo.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/kbuffer-parse.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/tep_strerror.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/libbpf_probes.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/xsk.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/event-parse-api.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/btf_dump.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/hashmap.o
| LD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libsubcmd-in.o
| LD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libtraceevent-in.o
| LINK /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libtraceevent.a
| AR /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libsubcmd.a
| LD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/libbpf-in.o
| LINK /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libbpf.a
| Makefile.perf:220: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:69: recipe for target 'all' failed
| make: *** [all] Error 2
| make: Leaving directory '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/tools/perf'
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/temp/run.do_compile.15530' failed with exit code 1:
| make: Entering directory '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/tools/perf'
| BUILD: Doing 'make -j8' parallel build
| HOSTCC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fixdep.o
| HOSTLD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fixdep-in.o
| LINK /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fixdep
| Warning: Kernel ABI header at 'tools/include/uapi/linux/sched.h' differs from latest version at 'include/uapi/linux/sched.h'
| diff -u tools/include/uapi/linux/sched.h include/uapi/linux/sched.h
|
| Auto-detecting system features:
| ... dwarf: [ on ]
| ... dwarf_getlocations: [ on ]
| ... glibc: [ on ]
| ... gtk2: [ OFF ]
| ... libaudit: [ OFF ]
| ... libbfd: [ on ]
| ... libcap: [ OFF ]
| ... libelf: [ on ]
| ... libnuma: [ OFF ]
| ... numa_num_possible_cpus: [ OFF ]
| ... libperl: [ OFF ]
| ... libpython: [ on ]
| ... libcrypto: [ on ]
| ... libunwind: [ on ]
| ... libdw-dwarf-unwind: [ on ]
| ... zlib: [ on ]
| ... lzma: [ on ]
| ... get_cpuid: [ OFF ]
| ... bpf: [ on ]
| ... libaio: [ on ]
| ... libzstd: [ OFF ]
| ... disassembler-four-args: [ on ]
|
| Makefile.config:489: DWARF support is off, BPF prologue is disabled
| Makefile.config:697: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev
| Makefile.config:826: No libzstd found, disables trace compression, please install libzstd-dev[el] and/or set LIBZSTD_DIR
| Makefile.config:837: No libcap found, disables capability support, please install libcap-devel/libcap-dev
| Makefile.config:905: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev
| GEN /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/common-cmds.h
| Makefile:333: scripts/Kbuild.include: No such file or directory
| Makefile:340: scripts/subarch.include: No such file or directory
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fd/array.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/core.o
| Makefile:653: arch/arm/Makefile: No such file or directory
| Makefile:718: scripts/Makefile.kcov: No such file or directory
| Makefile:719: scripts/Makefile.gcc-plugins: No such file or directory
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/event-parse.o
| Makefile:900: scripts/Makefile.kasan: No such file or directory
| Makefile:901: scripts/Makefile.extrawarn: No such file or directory
| Makefile:902: scripts/Makefile.ubsan: No such file or directory
| make[3]: *** No rule to make target 'scripts/Makefile.ubsan'. Stop.
| PERF_VERSION =
| core.c:8:10: fatal error: perf/core.h: No such file or directory
| 8 | #include <perf/core.h>
| | ^~~~~~~~~~~~~
| compilation terminated.
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/cpumap.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/exec-cmd.o
| MKDIR /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/libbpf.o
| cpumap.c:2:10: fatal error: perf/cpumap.h: No such file or directory
| 2 | #include <perf/cpumap.h>
| | ^~~~~~~~~~~~~~~
| compilation terminated.
| mv: cannot stat '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/.core.o.tmp': No such file or directory
| /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/tools/build/Makefile.build:96: recipe for target '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/core.o' failed
| make[4]: *** [/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/core.o] Error 1
| make[4]: *** Waiting for unfinished jobs....
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/help.o
| mv: cannot stat '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/.cpumap.o.tmp': No such file or directory
| /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/tools/build/Makefile.build:96: recipe for target '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/cpumap.o' failed
| make[4]: *** [/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/cpumap.o] Error 1
| Makefile:119: recipe for target '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libperf-in.o' failed
| make[3]: *** [/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libperf-in.o] Error 2
| Makefile.perf:764: recipe for target '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libperf.a' failed
| make[2]: *** [/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libperf.a] Error 2
| make[2]: *** Waiting for unfinished jobs....
| MKDIR /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/bpf.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fs/fs.o
| LD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fd/libapi-in.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/cpu.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/debug.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/str_error_r.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/pager.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/nlattr.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/parse-options.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fs/tracing_path.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/btf.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/run-command.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/event-plugin.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/sigchain.o
| LD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/fs/libapi-in.o
| LD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libapi-in.o
| AR /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libapi.a
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/trace-seq.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/parse-filter.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/libbpf_errno.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/subcmd-config.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/parse-utils.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/str_error.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/netlink.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/bpf_prog_linfo.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/kbuffer-parse.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/tep_strerror.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/libbpf_probes.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/xsk.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/event-parse-api.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/btf_dump.o
| CC /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/hashmap.o
| LD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libsubcmd-in.o
| LD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libtraceevent-in.o
| LINK /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libtraceevent.a
| AR /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libsubcmd.a
| LD /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/staticobjs/libbpf-in.o
| LINK /home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/libbpf.a
| Makefile.perf:220: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:69: recipe for target 'all' failed
| make: *** [all] Error 2
| make: Leaving directory '/home/VERSALOGIC.NET/nathanb/repotest/buildrepo/tmp/work/imx6qtetra-poky-linux-gnueabi/perf/1.0-r9/perf-1.0/tools/perf'
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (/home/VERSALOGIC.NET/nathanb/repotest/sources/poky/meta/recipes-kernel/perf/perf.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4792 tasks of which 4760 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/VERSALOGIC.NET/nathanb/repotest/sources/poky/meta/recipes-kernel/perf/perf.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

标签 (1)
0 项奖励
回复
4 回复数

5,653 次查看
radhikasomaiya
Senior Contributor II

Hi nathanb@versalogic.com,

Please make sure that the below packages are installed properly in your setup.

(perl-ExtUtils-Embed/libperl-dev, libzstd-dev[el], libcap-devel/libcap-dev, libbabeltrace-dev[el]/libbabeltrace-ctf-dev)

Are you able to build any of the images that are mentioned in Table 1: i.MX Yocto project images of the Yocto project User's guide or not?

To add support of a new device you can refer Ch 7.2 Creating a custom board configuration (of attached Yocto project User's guide) and attached i.MX porting guide.

For adding a new layer you can refer below link:

i.MX Yocto Proyect: How can I create a new Layer? 

Regards,

Radhika Somaiya.

0 项奖励
回复

5,631 次查看
jack71_kim
Contributor I

I meet exactly same issue.

It's not because of missing packages.

For anyone who meet same issue, below is the solution in my case.

It happened after create my own kernel repository.

I cloned kernel from Aurora git and pushed to my personal repo.

However, because of .gitignore in tools/perf, tools/perf/lib/include/perf folder is not pushed and it makes below error.

core.c:8:10: fatal error: perf/core.h: No such file or directory

I added that folder with -f option and the problem was resolved.

3,447 次查看
kayakaantuna
Contributor III

Hi jack71_kim,

 

I have the exect same issue, and exact same log that mentioned on this subject. Could you please more spesific about your steps? Cause I couldn't find the official github page of theirs so I can add that folder with -f option and solve the problem.

 

Thanks.

0 项奖励
回复

3,294 次查看
Mater
Contributor II

Hi kayakaantuna,

I also touched this same problem. And thanks to jack71_kim's information.I fixed this by next steps. Hope help you & others touch this.

Root cause: tools/perf/lib/include/"perf" didn't exist in my repository due to .gitignore rule
Fix:
1. Copy tools/perf/lib/include/"perf" folder with source files from orignial kernel source into the repository
P.S. I use myir i.mx8 and get kernel source from https://github.com/MYiR-Dev/myir-imx-linux
2. git add -f tools/perf/lib/include/perf     (-f: force to add file to avoid git ignore rule)
3. git commit -m "Add missing folder of perf"

It is ok for me. You try it.