* [scarthgap][PATCH] virt-manager: update RDEPENDS
@ 2025-07-24 5:50 zachary.zet.li.chua
2025-07-31 17:44 ` [meta-virtualization] " Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: zachary.zet.li.chua @ 2025-07-24 5:50 UTC (permalink / raw)
To: meta-virtualization
From: "Chua, Zachary Zet Li" <zachary.zet.li.chua@intel.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'
Update RDEPENDS for package virt-manager-install which are required by
command virt-install. For example, the error is as follows when missing
virsh:
Error launching ['virsh', '--connect', 'qemu:///system', 'console',
'myvm']: [Errno 2] No such file or directory
Commits are taken from 'master' branch:
- 032415ef6b7d48ca34bb1d23cb8c194a38e0c369
- 238020e42060764e7d2aadbb43a12792ed8b7e27
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Chua, Zachary Zet Li <zachary.zet.li.chua@intel.com>
---
.../virt-manager/virt-manager_4.1.0.bb | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
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..d752fd2b 100644
--- a/recipes-extended/virt-manager/virt-manager_4.1.0.bb
+++ b/recipes-extended/virt-manager/virt-manager_4.1.0.bb
@@ -28,8 +28,20 @@ RDEPENDS:${PN}-common += " \
libosinfo \
"
-RDEPENDS:${PN} = "${PN}-common"
-RDEPENDS:${PN}-install = "${PN}-common"
+RDEPENDS:${PN} = " \
+ ${PN}-common \
+ libvirt-glib \
+ libxml2-python \
+ python3-pygobject \
+ python3-requests \
+"
+RDEPENDS:${PN}-install = " \
+ ${PN}-common \
+ libvirt-virsh \
+ libxml2-python \
+ python3-pygobject \
+ python3-requests \
+"
SETUPTOOLS_INSTALL_ARGS += "${PACKAGECONFIG_CONFARGS}"
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [meta-virtualization] [scarthgap][PATCH] virt-manager: update RDEPENDS
2025-07-24 5:50 [scarthgap][PATCH] virt-manager: update RDEPENDS zachary.zet.li.chua
@ 2025-07-31 17:44 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2025-07-31 17:44 UTC (permalink / raw)
To: zachary.zet.li.chua; +Cc: meta-virtualization
When something is a cherry-pick, it is useful to put that in the
subject, or even in the long log .. that way I can quickly pickup
that I don't need extra review on the patch as it is already in
tree.
Bruce
In message: [meta-virtualization] [scarthgap][PATCH] virt-manager: update RDEPENDS
on 24/07/2025 zachary.zet.li.chua via lists.yoctoproject.org wrote:
> From: "Chua, Zachary Zet Li" <zachary.zet.li.chua@intel.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'
>
> Update RDEPENDS for package virt-manager-install which are required by
> command virt-install. For example, the error is as follows when missing
> virsh:
>
> Error launching ['virsh', '--connect', 'qemu:///system', 'console',
> 'myvm']: [Errno 2] No such file or directory
>
> Commits are taken from 'master' branch:
> - 032415ef6b7d48ca34bb1d23cb8c194a38e0c369
> - 238020e42060764e7d2aadbb43a12792ed8b7e27
>
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
> Signed-off-by: Chua, Zachary Zet Li <zachary.zet.li.chua@intel.com>
> ---
> .../virt-manager/virt-manager_4.1.0.bb | 16 ++++++++++++++--
> 1 file changed, 14 insertions(+), 2 deletions(-)
>
> 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..d752fd2b 100644
> --- a/recipes-extended/virt-manager/virt-manager_4.1.0.bb
> +++ b/recipes-extended/virt-manager/virt-manager_4.1.0.bb
> @@ -28,8 +28,20 @@ RDEPENDS:${PN}-common += " \
> libosinfo \
> "
>
> -RDEPENDS:${PN} = "${PN}-common"
> -RDEPENDS:${PN}-install = "${PN}-common"
> +RDEPENDS:${PN} = " \
> + ${PN}-common \
> + libvirt-glib \
> + libxml2-python \
> + python3-pygobject \
> + python3-requests \
> +"
> +RDEPENDS:${PN}-install = " \
> + ${PN}-common \
> + libvirt-virsh \
> + libxml2-python \
> + python3-pygobject \
> + python3-requests \
> +"
>
> SETUPTOOLS_INSTALL_ARGS += "${PACKAGECONFIG_CONFARGS}"
>
> --
> 2.43.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#9329): https://lists.yoctoproject.org/g/meta-virtualization/message/9329
> Mute This Topic: https://lists.yoctoproject.org/mt/114316587/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-31 17:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-24 5:50 [scarthgap][PATCH] virt-manager: update RDEPENDS zachary.zet.li.chua
2025-07-31 17:44 ` [meta-virtualization] " Bruce Ashfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox