All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] virt-manager: update RDEPENDS
@ 2024-07-04  6:01 kai.kang
  2024-07-10  3:55 ` [meta-virtualization] " Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: kai.kang @ 2024-07-04  6:01 UTC (permalink / raw)
  To: meta-virtualization

From: Kai Kang <kai.kang@windriver.com>

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 <kai.kang@windriver.com>
---
 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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-10  3:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-04  6:01 [PATCH] virt-manager: update RDEPENDS kai.kang
2024-07-10  3:55 ` [meta-virtualization] " Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.