From 447e6f08115f646242b5f5bd8fa7e51c5e96ab5b Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Thu, 12 May 2022 23:49:05 +0200 Subject: [PATCH] support/testing: test_zfs: add missing libelf dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While building the kernel tools, libelf header is missing: output/TestZfsGlibc/build/linux-5.15.35/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory 10 | #include Select BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF to build host-libelf. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/2429014008 Signed-off-by: Romain Naour Cc: José Luis Salvador Rufo Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- support/testing/tests/package/test_zfs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/support/testing/tests/package/test_zfs.py b/support/testing/tests/package/test_zfs.py index e3784f7d7d..688b60d7c4 100644 --- a/support/testing/tests/package/test_zfs.py +++ b/support/testing/tests/package/test_zfs.py @@ -15,6 +15,7 @@ class TestZfsBase(infra.basetest.BRTest): BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.35" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" + BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y BR2_PACKAGE_ZFS=y BR2_PACKAGE_PYTHON3=y BR2_PACKAGE_PYTHON_CFFI=y