python-libvirt lacks egg-info on precise
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Unassigned |
Bug Description
=======
SRU Justification
1. Impact: python-libvirt doesn't work with pypi
2. Test case: see below
3. Regression potential: this just adds an egg-info file under /usr/lib/
=======
On precise. Package version:
ii python-libvirt 0.9.8-2ubuntu17.20 libvirt Python bindings
Unlike trusty which has egg-info:
/usr/lib/
No such file exists with python-libvirt on precise.
This is important as any programs that are packaged so they can be used by pypi will fail as they will try to use new > 1.0 package versions to download as they will be unable to detect the local installed package from the distro:
Here is the output during bootstrap for a program that depends on libvirt-python without the egg file on precise:
Searching for libvirt-python
Reading http://
Best match: libvirt-python 1.2.9
Downloading https:/
Processing libvirt-
Running libvirt-
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
/usr/
file build/libvirt.py (for module libvirt) not found
file build/libvirt_
file build/libvirt.py (for module libvirt) not found
file build/libvirt_
file build/libvirt.py (for module libvirt) not found
file build/libvirt_
libvirt-
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1
After manually creating the egg-info file which is a very simple file:
$ cat /usr/lib/
Metadata-
Name: libvirt-python
Version: 0.9.8
Summary: The libvirt virtualization API
Home-page: http://
Author: Libvirt Maintainers
Author-email: <email address hidden>
License: UNKNOWN
Description: UNKNOWN
Platform: UNKNOWN
Install goes ok:
Using /usr/lib/
Searching for libvirt-
Best match: libvirt-python 0.9.8
libvirt-python 0.9.8 is already the active version in easy-install.pth
This seems like an easy enough fix that it should be added to precise.
Can we get this updated on precise?
If someone doesn't want to spend the time doing a patch I will gladly build a new package and submit a patch.
Changed in libvirt (Ubuntu Precise): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in libvirt (Ubuntu): | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.