Setup Error

Bug #1360780 reported by jean-christophe manciot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt-python (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Ubuntu 14.04.1 LTS

root@MSI-GE60-Ubuntu-14:/home/actionmystique/Program-Files/Ubuntu/Libvirt-python/libvirt-python-1.2.2# python setup.py build
running build
/usr/bin/python generator.py libvirt /usr/local/share/libvirt/api/libvirt-api.xml
Found 388 functions in /usr/local/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 325 wrapper functions
Missing type converters:
virNetworkDHCPLeasePtr **:1
virNetworkDHCPLeasePtr:1
long long *:1
unsigned int *:1
char **:2
ERROR: failed virDomainFSFreeze
ERROR: failed virDomainFSThaw
ERROR: failed virDomainGetTime
ERROR: failed virNetworkDHCPLeaseFree
ERROR: failed virNetworkGetDHCPLeases
ERROR: failed virNodeGetFreePages
error: command '/usr/bin/python' failed with exit status 1

tags: added: libvirt-python
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for reporting this bug.

I cannot reproduce this. Could you please try running

sudo apt-get build-dep libvirt-python

and see if that solves it for you?

Changed in libvirt-python (Ubuntu):
status: New → Incomplete
Revision history for this message
jean-christophe manciot (manciot-jeanchristophe) wrote :

Thanks for your answer.
However, in the meantime, I have installed the package from the official repository.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for libvirt-python (Ubuntu) because there has been no activity for 60 days.]

Changed in libvirt-python (Ubuntu):
status: Incomplete → Expired
Revision history for this message
jean-christophe manciot (manciot-jeanchristophe) wrote :

I'm trying to compile the sources once more - this time 1.2.13 - on a fresh different system: Ubuntu Server 15.04

I'm running into the same kind of issue "Missing type converters", although this time they are a bit different:

python setup.py build
running build
/usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/usr/bin/python generator.py libvirt /usr/local/share/libvirt/api/libvirt-api.xml
Found 402 functions in /usr/local/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 332 wrapper functions
Missing type converters:
virDomainIOThreadInfoPtr **:1
virDomainIOThreadInfoPtr:1
virDomainInterfacePtr:1
virDomainInterfacePtr **:1
ERROR: failed virDomainGetIOThreadInfo
ERROR: failed virDomainIOThreadInfoFree
ERROR: failed virDomainInterfaceAddresses
ERROR: failed virDomainInterfaceFree
error: command '/usr/bin/python' failed with exit status 1

If you want to reproduce it, my suggestion is to completely uninstall python-libvirt.
Maybe some dependencies are not met on my system, but which ones?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.