From: Bruce Ashfield <bruce.ashfield@gmail.com>
To: zachary.zet.li.chua@intel.com
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization] [scarthgap][PATCH] virt-manager: update RDEPENDS
Date: Thu, 31 Jul 2025 13:44:28 -0400 [thread overview]
Message-ID: <aIurfJQwxDaYq0VG@gmail.com> (raw)
In-Reply-To: <20250724055013.3358042-1-zachary.zet.li.chua@intel.com>
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]
> -=-=-=-=-=-=-=-=-=-=-=-
>
prev parent reply other threads:[~2025-07-31 17:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-24 5:50 [scarthgap][PATCH] virt-manager: update RDEPENDS zachary.zet.li.chua
2025-07-31 17:44 ` Bruce Ashfield [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aIurfJQwxDaYq0VG@gmail.com \
--to=bruce.ashfield@gmail.com \
--cc=meta-virtualization@lists.yoctoproject.org \
--cc=zachary.zet.li.chua@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox