bpftrace: fix do_configure failure when ptest disabled
PATCH 1/1 bpftrace: fix do_configure failure when ptest disabled
From: Changqing Li <[email protected]>
After upgrade to 0.24.0, do_configure failed with error:
| CMake Error at cmake/Embed.cmake:3 (find_program): | Could not find XXD using the following names: xxd | Call Stack (most recent call first): | src/stdlib/CMakeLists.txt:1 (include)
[1] https://github.com/bpftrace/bpftrace/commit/df21d917d9cced77ebde1202c1b3508a169f46a0
Signed-off-by Changqing Li <[email protected]>
--- .../meta-python/recipes-devtools/bpftrace/bpftrace_0.24.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace_0.24.0.bb +2 -1
@@ -11,6 +11,7 @@ DEPENDS += "bison-native \ bcc \ libcereal \ libbpf \ + xxd-native \ " DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'pahole-native llvm-native', '', d)}"
@@ -34,7 +35,7 @@ PACKAGECONFIG ?= " \ ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)} \ " -PACKAGECONFIG[tests] = "-DBUILD_TESTING=ON,-DBUILD_TESTING=OFF,gtest xxd-native" +PACKAGECONFIG[tests] = "-DBUILD_TESTING=ON,-DBUILD_TESTING=OFF,gtest" PACKAGECONFIG[systemd] = "-DENABLE_SYSTEMD=ON,-DENABLE_SYSTEMD=OFF,systemd" do_install_ptest() {
Signature · 1 line
2.34.1