Makefile.config:573: No elfutils/debuginfod.h found, no debuginfo server support, please install libdebuginfod-dev/elfutils-debuginfod-client-devel or equivalent
Makefile.config:706: Warning: Disabled BPF skeletons as clang (clang) is missing
Makefile.config:865: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev
Makefile.config:905: No 'Python.h' was found: disables Python support - please install python-devel/python-dev
Makefile.config:997: No libllvm 13+ found, slower source file resolution, please install llvm-devel/llvm-dev
Makefile.config:1115: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev
Makefile.config:1127: No libcapstone found, disables disasm engine support for 'perf script', please install libcapstone-dev/capstone-devel
Makefile.config:1158: No alternatives command found, you need to set JDIR= to point to the root of your Java directory
Makefile.config:1189: libpfm4 not found, disables libpfm4 support. Please install libpfm4-dev
Makefile.config:1208: *** ERROR: libtraceevent is missing. Please install libtraceevent-dev/libtraceevent-devel and/or set LIBTRACEEVENT_DIR or build with NO_LIBTRACEEVENT=1.  Stop.
make[1]: *** [Makefile.perf:292: sub-make] Error 2
make: *** [Makefile:119: perf] Error 2
Traceback (most recent call last):
  File "/var/pisi/perf/actions.py", line 16, in build
    autotools.make("JOBS=5 WERROR=0 perf HAVE_CPLUS_DEMANGLE=1")
  File "/usr/lib/pisilinux/pisi/actionsapi/autotools.py", line 103, in make
    if system('make %s %s' % (get.makeJOBS(), parameters)):
  File "/usr/lib/pisilinux/pisi/actionsapi/shelltools.py", line 255, in system
    error(_("Command \"%s\" failed, return value was %d.") % (command, retValue))
  File "/usr/lib/pisilinux/pisi/actionsapi/__init__.py", line 27, in error
    raise Error(msg)
pisi.actionsapi.Error: Command "make -j5 JOBS=5 WERROR=0 perf HAVE_CPLUS_DEMANGLE=1" failed, return value was 2.
Action script error caught.
*** 1 error(s), 0 warning(s)
Program terminated.