Applying ./patches/001-cflags.patch using plaintext: 
patching file libbpf/src/Makefile

Applying ./patches/002-includes.patch using plaintext: 
patching file libbpf/include/linux/list.h
patching file src/Makefile
make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/bpftools-lib/bpftools-7.1.0-b01941c8/libbpf/src'
Package libelf was not found in the pkg-config search path.
Perhaps you should add the directory containing `libelf.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libelf', required by 'virtual:world', not found
  MKDIR    staticobjs
  MKDIR    sharedobjs
  CC       staticobjs/bpf.o
cc1: note: someone does not honour COPTS correctly, passed 2 times
  CC       staticobjs/btf.o
cc1: note: someone does not honour COPTS correctly, passed 2 times
btf.c:18:10: fatal error: gelf.h: No such file or directory
   18 | #include <gelf.h>
      |          ^~~~~~~~
compilation terminated.
make[4]: *** [Makefile:132: staticobjs/btf.o] Error 1
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/bpftools-lib/bpftools-7.1.0-b01941c8/libbpf/src'
make[3]: *** [Makefile:150: /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/bpftools-lib/bpftools-7.1.0-b01941c8/.built] Error 2
time: package/feeds/base/bpftools/lib/compile#1.22#0.16#5.47