qmp-shell cli script has been broken since app-emulation/qemu-4.0.0 The new python module 'qemu' (includes qmp) was introduced since qemu-4.0.0-rc0 https://github.com/qemu/qemu/commit/8f8fd9edba4bd6768da2c8e2bea49ad5c16ced1a Ebuild should be fixed: qemu_python_install() { -python_domodule "${S}/python/qemu/qmp.py" +python_domodule "${S}/python/qemu" Reproducible: Always Steps to Reproduce: 1. emerge app-emulation/qemu 2. Run qmp-shell Actual Results: Traceback (most recent call last): File "/usr/lib/python-exec/python3.6/qmp-shell", line 79, in <module> from qemu import qmp ModuleNotFoundError: No module named 'qemu' Expected Results: qmp-shell [ -v ] [ -p ] [ -H ] [ -N ] < UNIX socket path> | < TCP address:port > -v Verbose (echo command sent and received) -p Pretty-print JSON -H Use HMP interface -N Skip negotiate (for qemu-ga) This bug also affects the newer ebuilds: 4.1.0 4.2.0 9999
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95aa7a90657148816c6a248e77a3bc7999819de7 commit 95aa7a90657148816c6a248e77a3bc7999819de7 Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2019-12-31 21:32:53 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2019-12-31 22:01:31 +0000 app-emulation/qemu: fix qmp-shell for 4.1.0, 4.2.0 Closes: https://bugs.gentoo.org/703028 Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: Matthias Maier <tamiko@gentoo.org> app-emulation/qemu/{qemu-4.1.0.ebuild => qemu-4.1.0-r1.ebuild} | 2 +- app-emulation/qemu/{qemu-4.2.0.ebuild => qemu-4.2.0-r1.ebuild} | 2 +- app-emulation/qemu/qemu-9999.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)