When running virt-clone --connect qemu:///system --original <source-vm> --name <new-vm> --file /dev/<vg-name>/<new-vm> I get the error: ERROR local variable 'need' referenced before assignment This is caused by a too deep indentation of the line need = int(self._size) * 1024 * 1024 * 1024 in /usr/share/virt-manager/virtinst/diskbackend.py (line 533). Upstream already has fixed this with commit https://github.com/virt-manager/virt-manager/commit/722886748006b880ff6a99781b2aca0751aafc55#diff-33560dd1575b58f1a4602a360b2d8486
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64e52bc3829bbf372ff23d343078b7b879d61425 commit 64e52bc3829bbf372ff23d343078b7b879d61425 Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2019-07-01 16:30:43 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2019-07-01 16:59:19 +0000 app-emulation/virt-manager: version bump to 2.2.0 Closes: https://bugs.gentoo.org/681916 Closes: https://bugs.gentoo.org/675408 Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Matthias Maier <tamiko@gentoo.org> app-emulation/virt-manager/Manifest | 1 + .../virt-manager/virt-manager-2.2.0.ebuild | 93 ++++++++++++++++++++++ 2 files changed, 94 insertions(+)