-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I followed this tutorial to build the OpenStack, but my build failed with the following error. It seems the "virTypedParameterPtr" is missing, can anyone help to provide pointer that I might be missing? Thanks.
Collecting libvirt-python===5.7.0 (from -c /opt/stack/requirements/upper-constraints.txt (line 292))
Using cached https://files.pythonhosted.org/packages/e8/a1/e871cf3714acb4c7bf7ded4160c10a10b5ac8c4bbaa285302d159f4d36cd/libvirt-python-5.7.0.tar.gz
/usr/local/lib/python3.6/dist-packages/setuptools/distutils_patch.py:26: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.
"Distutils was imported before Setuptools. This usage is discouraged "
Building wheels for collected packages: libvirt-python
Running setup.py bdist_wheel for libvirt-python ... error
Complete output from command /usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-fo85i1qm/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/tmpwglnx6b0pip-wheel- --python-tag cp36:
running bdist_wheel
running build
/usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/usr/bin/python3.6 generator.py libvirt /usr/share/libvirt/api/libvirt-api.xml
Found 478 functions in /usr/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 388 wrapper functions
Missing type converters:
virTypedParameterPtr:1
ERROR: failed virConnectSetIdentity
error: command '/usr/bin/python3.6' 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/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-fo85i1qm/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-phxbzvxb-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/python3.6 generator.py libvirt /usr/share/libvirt/api/libvirt-api.xml
Found 478 functions in /usr/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 388 wrapper functions
Missing type converters:
virTypedParameterPtr:1
ERROR: failed virConnectSetIdentity
error: command '/usr/bin/python3.6' failed with exit status 1
----------------------------------------
Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-fo85i1qm/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-phxbzvxb-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-fo85i1qm/libvirt-python/
You are using pip version 9.0.3, however version 20.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
+inc/python:pip_install:1 exit_trap
+./stack.sh:exit_trap:536 local r=1
++./stack.sh:exit_trap:537 jobs -p
+./stack.sh:exit_trap:537 jobs=
+./stack.sh:exit_trap:540 [[ -n '' ]]
+./stack.sh:exit_trap:546 '[' -f '' ']'
+./stack.sh:exit_trap:551 kill_spinner
+./stack.sh:kill_spinner:446 '[' '!' -z '' ']'
+./stack.sh:exit_trap:553 [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:554 echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:556 type -p generate-subunit
+./stack.sh:exit_trap:557 generate-subunit 1595915347 142 fail
+./stack.sh:exit_trap:559 [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:562 /opt/stack/Workspace/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2020-07-28-055130.txt for details
+./stack.sh:exit_trap:571 exit 1
Metadata
Metadata
Assignees
Labels
No labels