From: Changqing Li <[email protected]>
When package keyutils-devel is installed on host and gcc in extend buildtools
is used, qemu-system-native do_compile failed with error:
../qemu-9.2.0/backends/cryptodev-lkcf.c:36:10: fatal error: keyutils.h: No such
file or directory*
36 #include <keyutils.h>
^~~~~~~~~~~~
gcc in extend buildtools can find libkeyutil on the host, but it will not
search the headers on the host cause above issue. disable libkeyutils to
workaround above issue
Signed-off-by: Changqing Li <[email protected]>
---
meta/recipes-devtools/qemu/qemu-system-native_10.0.7.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/qemu/qemu-system-native_10.0.7.bb
b/meta/recipes-devtools/qemu/qemu-system-native_10.0.7.bb
index 22462e2499..625c4adb42 100644
--- a/meta/recipes-devtools/qemu/qemu-system-native_10.0.7.bb
+++ b/meta/recipes-devtools/qemu/qemu-system-native_10.0.7.bb
@@ -7,7 +7,7 @@ require qemu-native.inc
# and avoid file clashes
DEPENDS += "glib-2.0-native zlib-native pixman-native qemu-native"
-EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}"
+EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}
--disable-libkeyutils"
PACKAGECONFIG ??= "fdt alsa kvm pie slirp png pixman sdl \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy',
'', d)} \
--
2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#228288):
https://lists.openembedded.org/g/openembedded-core/message/228288
Mute This Topic: https://lists.openembedded.org/mt/116899082/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-