Skip to contentSkip to conversation

libvirt: Set COMPATIBLE_HOST to 64bit arch

PATCH In review [email protected] 2 participants 2 messages Jun 16 – Jul 3

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libvirt: Set COMPATIBLE_HOST to 64bit arch

From: Mingli Yu <[email protected]>

qemu sets COMPATIBLE_HOST to 64bit arch [1], so set the COMPATIBLE_HOST
accordingly to fix the build failure.
ERROR: Nothing PROVIDES 'qemu' (but /build/layers/meta-virtualization/recipes-extended/libvirt/libvirt_git.bb DEPENDS on or otherwise requires it) qemu was skipped: incompatible with host arm-wrs-linux-gnueabi (not in COMPATIBLE_HOST)

[1] https://git.openembedded.org/openembedded-core/commit/?id=f74d4025

---
 recipes-extended/libvirt/libvirt_git.bb | 5 +++++
 1 file changed, 5 insertions(+)
recipes-extended/libvirt/libvirt_git.bb +5 -0
index fb7e5293..837f9660 100644
@@ -139,6 +139,11 @@ PACKAGECONFIG:remove:mipsarchn32 = "qemu"
 PACKAGECONFIG:remove:mipsarchn64 = "qemu"
 PACKAGECONFIG:remove:powerpc = "qemu"
 PACKAGECONFIG:remove:riscv32 = "qemu"
+# QEMU 11.0.0+ requires 64-bit host architecture
+PACKAGECONFIG:remove:arm = "qemu"
+PACKAGECONFIG:remove:armeb = "qemu"
+PACKAGECONFIG:remove:mipsarch = "qemu"
+PACKAGECONFIG:remove:x86 = "qemu"
 
 # numactl is NOT compatible with arm
 PACKAGECONFIG:remove:arm = "numactl"
Signature · 1 line
2.54.0
#1 lore raw

merged.

Bruce

In message: [meta-virtualization] [PATCH] libvirt: Set COMPATIBLE_HOST to 64bit arch

Quoted 43 lines · Mingli via lists.yoctoproject.org

From: Mingli Yu <[email protected]>

qemu sets COMPATIBLE_HOST to 64bit arch [1], so set the COMPATIBLE_HOST
accordingly to fix the build failure.
ERROR: Nothing PROVIDES 'qemu' (but /build/layers/meta-virtualization/recipes-extended/libvirt/libvirt_git.bb DEPENDS on or otherwise requires it) qemu was skipped: incompatible with host arm-wrs-linux-gnueabi (not in COMPATIBLE_HOST)

[1] https://git.openembedded.org/openembedded-core/commit/?id=f74d4025

---
 recipes-extended/libvirt/libvirt_git.bb | 5 +++++
 1 file changed, 5 insertions(+)
recipes-extended/libvirt/libvirt_git.bb +5 -0
index fb7e5293..837f9660 100644
@@ -139,6 +139,11 @@ PACKAGECONFIG:remove:mipsarchn32 = "qemu"
 PACKAGECONFIG:remove:mipsarchn64 = "qemu"
 PACKAGECONFIG:remove:powerpc = "qemu"
 PACKAGECONFIG:remove:riscv32 = "qemu"
+# QEMU 11.0.0+ requires 64-bit host architecture
+PACKAGECONFIG:remove:arm = "qemu"
+PACKAGECONFIG:remove:armeb = "qemu"
+PACKAGECONFIG:remove:mipsarch = "qemu"
+PACKAGECONFIG:remove:x86 = "qemu"
 
 # numactl is NOT compatible with arm
 PACKAGECONFIG:remove:arm = "numactl"
Signature · 11 lines
2.54.0



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9893): https://lists.yoctoproject.org/g/meta-virtualization/message/9893
Mute This Topic: https://lists.yoctoproject.org/mt/119830656/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-