Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291896 - virt-manager/virt-manager-0.8.0 requires app-emulation/libvirt with python USE flag but does not specify so
Summary: virt-manager/virt-manager-0.8.0 requires app-emulation/libvirt with python US...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-04 19:10 UTC by Albert W. Hopkins
Modified: 2009-12-18 16:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge--info.txt,11.72 KB, text/plain)
2009-11-04 19:10 UTC, Albert W. Hopkins
Details
proposed patch (virt-manager-0.8.0.ebuild.patch,448 bytes, patch)
2009-11-04 19:11 UTC, Albert W. Hopkins
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2009-11-04 19:10:15 UTC
virt-manager depends on libvirt, but the ebuild does not require or check that libvirt is installed with the "python" USE flag.

When this happens virt-manager fails as shown:

$ virt-manager 
Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager.py", line 26, in <module>
    import libvirt
ImportError: No module named libvirt

The work-around is to ensure that libvirt is installed with the "python" USE flag.
Comment 1 Albert W. Hopkins 2009-11-04 19:10:39 UTC
Created attachment 209255 [details]
emerge --info
Comment 2 Albert W. Hopkins 2009-11-04 19:11:04 UTC
Created attachment 209257 [details, diff]
proposed patch
Comment 3 Patrick Lauer gentoo-dev 2009-11-04 22:52:04 UTC
+  04 Nov 2009; Patrick Lauer <patrick@gentoo.org> virt-manager-0.8.0.ebuild:
+  Fixing libvirt dep (+python useflag) for #291896

Confirmed and fixed.