https://ci.centos.org/job/libvirt-python-master-build/systems=libvirt-fed...
Started by upstream project "libvirt-python-master-build" build number 97
originally caused by:
Started by upstream project "libvirt-master-build" build number 155
originally caused by:
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-fedora-24 (libvirt) in workspace
<
https://ci.centos.org/job/libvirt-python-master-build/systems=libvirt-fed...
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 0061566872ed3fdf7b0ec101c20d3ddb78093a06
(refs/remotes/origin/master)
git config core.sparsecheckout # timeout=10
git checkout -f 0061566872ed3fdf7b0ec101c20d3ddb78093a06
git rev-list 0061566872ed3fdf7b0ec101c20d3ddb78093a06 # 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-fedora-24] $ /bin/sh -xe
/tmp/hudson252043411104857214.sh
+ python setup.py build
running build
/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/bin/python generator.py libvirt
/home/jenkins/build/libvirt/share/libvirt/api/libvirt-api.xml
Found 415 functions in /home/jenkins/build/libvirt/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 343 wrapper functions
/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
/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 -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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:20:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
Build step 'Execute shell' marked build as failure