From 5f883adda39ad3d2ece13aadee784ccf7c800ac3 Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Fri, 5 Feb 2021 10:29:29 +0800 Subject: layer.conf: remove bcc and bpftrace from NON_MULTILIB_RECIPES Because bcc and bpftrace have been set in NON_MULTILIB_RECIPES, 'bcc' rprovides 'lib32-bcc'. So when multilib is enabled, it is 'bcc' rather than 'lib32-bcc' installed to lib32 image such as lib32-core-image-minimal. Then the runtime dependency 64-bit package python3-core is installed accordingly. It causes 32-bit python modules which contains .so library do not work any more. For example, it fails to run command 'dnf': | ImportError: /usr/lib/python3.9/site-packages/libdnf/_error.so: wrong ELF class: ELFCLASS32 Remove bcc and bpftrace from NON_MULTILIB_RECIPES to make sure they are not installed to lib32 images and mess images up. Signed-off-by: Kai Kang --- conf/layer.conf | 2 -- 1 file changed, 2 deletions(-) diff --git a/conf/layer.conf b/conf/layer.conf index 5352adf..423db9f 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -33,5 +33,3 @@ LLVMVERSION = "11.1.0" require conf/nonclangable.conf require conf/nonscanable.conf - -NON_MULTILIB_RECIPES_append = " bcc bpftrace" -- cgit v1.2.3-54-g00ecf