From: Kai Kang <[email protected]>
Update RDEPENDS to fix following errors when run virt-manager:
| File "/usr/share/virt-manager/virtManager/virtmanager.py", line 13, in
<module>
| import gi
| ModuleNotFoundError: No module named 'gi'
| File "/usr/lib/python3.12/site-packages/gi/__init__.py", line 122, in
require_version
| raise ValueError('Namespace %s not available' % namespace)
| ValueError: Namespace LibvirtGLib not available
| File "/usr/share/virt-manager/virtinst/xmlapi.py", line 7, in <module>
| import libxml2
| ModuleNotFoundError: No module named 'libxml2'
| File "/usr/share/virt-manager/virtinst/install/urlfetcher.py", line 16, in
<module>
| import requests
| ModuleNotFoundError: No module named 'requests'
Signed-off-by: Kai Kang <[email protected]>
---
recipes-extended/virt-manager/virt-manager_4.1.0.bb | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/recipes-extended/virt-manager/virt-manager_4.1.0.bb
b/recipes-extended/virt-manager/virt-manager_4.1.0.bb
index a2395012..aa3df215 100644
--- a/recipes-extended/virt-manager/virt-manager_4.1.0.bb
+++ b/recipes-extended/virt-manager/virt-manager_4.1.0.bb
@@ -28,7 +28,13 @@ RDEPENDS:${PN}-common += " \
libosinfo \
"
-RDEPENDS:${PN} = "${PN}-common"
+RDEPENDS:${PN} = " \
+ ${PN}-common \
+ libvirt-glib \
+ libxml2-python \
+ python3-pygobject \
+ python3-requests \
+"
RDEPENDS:${PN}-install = "${PN}-common"
SETUPTOOLS_INSTALL_ARGS += "${PACKAGECONFIG_CONFARGS}"
--
2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8817):
https://lists.yoctoproject.org/g/meta-virtualization/message/8817
Mute This Topic: https://lists.yoctoproject.org/mt/107033395/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-