[libvirt-users] Failed building wheel for libvirt-python

Silvia Fichera fichera.sil at gmail.com
Thu Sep 7 15:25:46 UTC 2017


Hi all,
I'm installing Openstack using devstack netwon branch in my PC with Ubuntu
16.04 and I have this error.
Could someone of you help me please?
Thanks

Collecting libvirt-python===2.1.0 (from -c
/opt/stack/requirements/upper-constraints.txt (line 169))
  Using cached libvirt-python-2.1.0.tar.gz
Building wheels for collected packages: libvirt-python
  Running setup.py bdist_wheel for libvirt-python ... error
  Complete output from command /usr/bin/python -u -c "import setuptools,
tokenize;__file__='/tmp/pip-build-g9ai0P/libvirt-python/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d
/tmp/tmpsHlvcmpip-wheel- --python-tag cp27:
  running bdist_wheel
  running build
  /usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
  /usr/bin/python generator.py libvirt
/usr/share/libvirt/api/libvirt-api.xml
  Found 415 functions in /usr/share/libvirt/api/libvirt-api.xml
  Found 0 functions in libvirt-override-api.xml
  Generated 344 wrapper functions
  Missing type converters:
  virConnectNodeDeviceEventGenericCallback:1
  ERROR: failed virConnectNodeDeviceEventRegisterAny
  error: command '/usr/bin/python' failed with exit status 1

  ----------------------------------------
  Failed building wheel for libvirt-python
  Running setup.py clean for libvirt-python
Failed to build libvirt-python
Installing collected packages: libvirt-python
  Running setup.py install for libvirt-python ... error
    Complete output from command /usr/bin/python -u -c "import setuptools,
tokenize;__file__='/tmp/pip-build-g9ai0P/libvirt-python/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
/tmp/pip-0i4vHi-record/install-record.txt
--single-version-externally-managed --compile:
    running install
    running build
    /usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
    /usr/bin/python generator.py libvirt
/usr/share/libvirt/api/libvirt-api.xml
    Found 415 functions in /usr/share/libvirt/api/libvirt-api.xml
    Found 0 functions in libvirt-override-api.xml
    Generated 344 wrapper functions
    Missing type converters:
    virConnectNodeDeviceEventGenericCallback:1
    ERROR: failed virConnectNodeDeviceEventRegisterAny
    error: command '/usr/bin/python' failed with exit status 1

    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools,
tokenize;__file__='/tmp/pip-build-g9ai0P/libvirt-python/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
/tmp/pip-0i4vHi-record/install-record.txt
--single-version-externally-managed --compile" failed with error code 1 in
/tmp/pip-build-g9ai0P/libvirt-python/
+inc/python:pip_install:1                  exit_trap
+./stack.sh:exit_trap:494                  local r=1
++./stack.sh:exit_trap:495                  jobs -p
+./stack.sh:exit_trap:495                  jobs=
+./stack.sh:exit_trap:498                  [[ -n '' ]]
+./stack.sh:exit_trap:504                  kill_spinner
+./stack.sh:kill_spinner:390               '[' '!' -z '' ']'
+./stack.sh:exit_trap:506                  [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:507                  echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:508                  generate-subunit 1504797369 129
fail
+./stack.sh:exit_trap:509                  [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:512
/home/onossona/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2017-09-07-151818.txt for
details
+./stack.sh:exit_trap:518                  exit 1


-- 
Silvia Fichera
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170907/e940d61d/attachment.htm>


More information about the libvirt-users mailing list