See
<
https://ci.centos.org/job/libvirt-python-build/systems=libvirt-centos-7/1...
Changes:
[crobinso] Post-release version bump to 2.2.0
[crobinso] Python binding for node poll lifecycle events API
[crobinso] event-test: Add node device lifecycle event tests
------------------------------------------
Started by upstream project "libvirt-python-build" build number 1169
originally caused by:
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-centos-7 (libvirt) in workspace
<
https://ci.centos.org/job/libvirt-python-build/systems=libvirt-centos-7/w...
git rev-parse --is-inside-work-tree # timeout=10
Fetching
changes from the remote Git repository
Fetching upstream
changes from
git://n64.pufty.ci.centos.org/libvirt-python.git
git --version # timeout=10
git -c core.askpass=true fetch --tags --progress
git://n64.pufty.ci.centos.org/libvirt-python.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 8b2d5c06432673c2f4c72c2abfbae06886aa1134
(refs/remotes/origin/master)
git config core.sparsecheckout # timeout=10
git checkout -f 8b2d5c06432673c2f4c72c2abfbae06886aa1134
git rev-list bdfa319eac9aabc4befc206ea4ee65b48a251a77 # timeout=10
Cleaning
workspace
git rev-parse --verify HEAD # timeout=10
Resetting working
tree
git reset --hard # timeout=10
git clean -fdx # timeout=10
[libvirt-centos-7] $ /bin/sh -xe
/tmp/hudson3516467459329841345.sh
+ PREFIX=/home/jenkins/build/libvirt
+ ./setup.py build
running build
/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/usr/bin/python generator.py libvirt
/home/jenkins/build/libvirt/share/libvirt/api/libvirt-api.xml
Found 413 functions in /home/jenkins/build/libvirt/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 343 wrapper functions
/usr/bin/python generator.py libvirt-qemu
/home/jenkins/build/libvirt/share/libvirt/api/libvirt-qemu-api.xml
Found 5 functions in /home/jenkins/build/libvirt/share/libvirt/api/libvirt-qemu-api.xml
Found 0 functions in libvirt-qemu-override-api.xml
Generated 3 wrapper functions
/bin/pkg-config --atleast-version=1.0.2 libvirt
/usr/bin/python generator.py libvirt-lxc
/home/jenkins/build/libvirt/share/libvirt/api/libvirt-lxc-api.xml
Found 4 functions in /home/jenkins/build/libvirt/share/libvirt/api/libvirt-lxc-api.xml
Found 0 functions in libvirt-lxc-override-api.xml
Generated 2 wrapper functions
running build_py
creating build/lib.linux-x86_64-2.7
copying build/libvirt.py -> build/lib.linux-x86_64-2.7
copying build/libvirt_qemu.py -> build/lib.linux-x86_64-2.7
copying build/libvirt_lxc.py -> build/lib.linux-x86_64-2.7
running build_ext
building 'libvirtmod' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/build
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
-mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I.
-I/usr/include/python2.7 -c libvirt-override.c -o
build/temp.linux-x86_64-2.7/libvirt-override.o
libvirt-override.c: In function ‘libvirt_virConnectNodeDeviceEventRegisterAny’:
libvirt-override.c:9080:5: error: unknown type name
‘virConnectNodeDeviceEventGenericCallback’
virConnectNodeDeviceEventGenericCallback cb = NULL;
^
libvirt-override.c:9096:14: error: ‘virNodeDeviceEventID’ undeclared (first use in this
function)
switch ((virNodeDeviceEventID) eventID) {
^
libvirt-override.c:9096:14: note: each undeclared identifier is reported only once for
each function it appears in
libvirt-override.c:9096:36: error: expected ‘)’ before ‘eventID’
switch ((virNodeDeviceEventID) eventID) {
^
libvirt-override.c:9097:10: error: ‘VIR_NODE_DEVICE_EVENT_ID_LIFECYCLE’ undeclared (first
use in this function)
case VIR_NODE_DEVICE_EVENT_ID_LIFECYCLE:
^
libvirt-override.c:9098:9: warning: implicit declaration of function
‘VIR_NODE_DEVICE_EVENT_CALLBACK’ [-Wimplicit-function-declaration]
cb =
VIR_NODE_DEVICE_EVENT_CALLBACK(libvirt_virConnectNodeDeviceEventLifecycleCallback);
^
libvirt-override.c:9101:10: error: ‘VIR_NODE_DEVICE_EVENT_ID_LAST’ undeclared (first use
in this function)
case VIR_NODE_DEVICE_EVENT_ID_LAST:
^
libvirt-override.c:9112:5: warning: implicit declaration of function
‘virConnectNodeDeviceEventRegisterAny’ [-Wimplicit-function-declaration]
ret = virConnectNodeDeviceEventRegisterAny(conn,
^
libvirt-override.c: In function ‘libvirt_virConnectNodeDeviceEventDeregisterAny’:
libvirt-override.c:9147:5: warning: implicit declaration of function
‘virConnectNodeDeviceEventDeregisterAny’ [-Wimplicit-function-declaration]
ret = virConnectNodeDeviceEventDeregisterAny(conn, callbackID);
^
error: command 'gcc' failed with exit status 1
Build step 'Execute shell' marked build as failure