https://ci.centos.org/job/libvirt-perl-master-build/systems=libvirt-cento...:
[jferlan] Add constants for new perf event support
------------------------------------------
Started by upstream project "libvirt-perl-master-build" build number 282
originally caused by:
Started by an SCM change
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-perl-master-build/systems=libvirt-cento...
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-perl.git
git --version # timeout=10
git -c core.askpass=true fetch --tags --progress
git://n64.pufty.ci.centos.org/libvirt-perl.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 598c2f2d1db5f3dbbece218bdb022f84f744a294
(refs/remotes/origin/master)
git config core.sparsecheckout # timeout=10
git checkout -f 598c2f2d1db5f3dbbece218bdb022f84f744a294
git rev-list 461c0fa163f6978f77d8a52c0131e6fe62ff8933 # 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-perl-master] $ /bin/sh -xe
/tmp/hudson34160540384400321.sh
+ perl Makefile.PL PREFIX=/home/jenkins/build/libvirt
Writing Makefile for Sys::Virt
Writing MYMETA.yml and MYMETA.json
+ make
cp lib/Sys/Virt/Error.pm blib/lib/Sys/Virt/Error.pm
cp lib/Sys/Virt/NWFilter.pm blib/lib/Sys/Virt/NWFilter.pm
cp lib/Sys/Virt/Stream.pm blib/lib/Sys/Virt/Stream.pm
cp lib/Sys/Virt/StorageVol.pm blib/lib/Sys/Virt/StorageVol.pm
cp lib/Sys/Virt/Network.pm blib/lib/Sys/Virt/Network.pm
cp lib/Sys/Virt/Secret.pm blib/lib/Sys/Virt/Secret.pm
cp lib/Sys/Virt/Event.pm blib/lib/Sys/Virt/Event.pm
cp lib/Sys/Virt/NodeDevice.pm blib/lib/Sys/Virt/NodeDevice.pm
cp lib/Sys/Virt/StoragePool.pm blib/lib/Sys/Virt/StoragePool.pm
cp lib/Sys/Virt/Interface.pm blib/lib/Sys/Virt/Interface.pm
cp lib/Sys/Virt.pm blib/lib/Sys/Virt.pm
cp lib/Sys/Virt/Domain.pm blib/lib/Sys/Virt/Domain.pm
cp lib/Sys/Virt/DomainSnapshot.pm blib/lib/Sys/Virt/DomainSnapshot.pm
/usr/bin/perl /usr/share/perl5/vendor_perl/ExtUtils/xsubpp -typemap
/usr/share/perl5/ExtUtils/typemap -typemap typemap Virt.xs > Virt.xsc && mv
Virt.xsc Virt.c
gcc -c -Wall -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -m64 -mtune=generic -DVERSION=\"3.2.0\"
-DXS_VERSION=\"3.2.0\" -fPIC "-I/usr/lib64/perl5/CORE" Virt.c
Virt.xs: In function ‘boot_Sys__Virt’:
Virt.xs:8503:29: error: ‘VIR_PERF_PARAM_CPU_CLOCK’ undeclared (first use in this
function)
REGISTER_CONSTANT_STR(VIR_PERF_PARAM_CPU_CLOCK, PERF_PARAM_CPU_CLOCK);
^
Virt.xs:158:78: note: in definition of macro ‘REGISTER_CONSTANT_STR’
#define REGISTER_CONSTANT_STR(name, key) _populate_constant_str(stash, #key, name)
^
Virt.xs:8503:29: note: each undeclared identifier is reported only once for each function
it appears in
REGISTER_CONSTANT_STR(VIR_PERF_PARAM_CPU_CLOCK, PERF_PARAM_CPU_CLOCK);
^
Virt.xs:158:78: note: in definition of macro ‘REGISTER_CONSTANT_STR’
#define REGISTER_CONSTANT_STR(name, key) _populate_constant_str(stash, #key, name)
^
Virt.xs:8504:29: error: ‘VIR_PERF_PARAM_TASK_CLOCK’ undeclared (first use in this
function)
REGISTER_CONSTANT_STR(VIR_PERF_PARAM_TASK_CLOCK, PERF_PARAM_TASK_CLOCK);
^
Virt.xs:158:78: note: in definition of macro ‘REGISTER_CONSTANT_STR’
#define REGISTER_CONSTANT_STR(name, key) _populate_constant_str(stash, #key, name)
^
Virt.xs:8505:29: error: ‘VIR_PERF_PARAM_PAGE_FAULTS’ undeclared (first use in this
function)
REGISTER_CONSTANT_STR(VIR_PERF_PARAM_PAGE_FAULTS, PERF_PARAM_PAGE_FAULTS);
^
Virt.xs:158:78: note: in definition of macro ‘REGISTER_CONSTANT_STR’
#define REGISTER_CONSTANT_STR(name, key) _populate_constant_str(stash, #key, name)
^
Virt.xs:8506:29: error: ‘VIR_PERF_PARAM_CONTEXT_SWITCHES’ undeclared (first use in this
function)
REGISTER_CONSTANT_STR(VIR_PERF_PARAM_CONTEXT_SWITCHES,
PERF_PARAM_CONTEXT_SWITCHES);
^
Virt.xs:158:78: note: in definition of macro ‘REGISTER_CONSTANT_STR’
#define REGISTER_CONSTANT_STR(name, key) _populate_constant_str(stash, #key, name)
^
Virt.xs:8507:29: error: ‘VIR_PERF_PARAM_CPU_MIGRATIONS’ undeclared (first use in this
function)
REGISTER_CONSTANT_STR(VIR_PERF_PARAM_CPU_MIGRATIONS, PERF_PARAM_CPU_MIGRATIONS);
^
Virt.xs:158:78: note: in definition of macro ‘REGISTER_CONSTANT_STR’
#define REGISTER_CONSTANT_STR(name, key) _populate_constant_str(stash, #key, name)
^
Virt.xs:8508:29: error: ‘VIR_PERF_PARAM_PAGE_FAULTS_MIN’ undeclared (first use in this
function)
REGISTER_CONSTANT_STR(VIR_PERF_PARAM_PAGE_FAULTS_MIN, PERF_PARAM_PAGE_FAULTS_MIN);
^
Virt.xs:158:78: note: in definition of macro ‘REGISTER_CONSTANT_STR’
#define REGISTER_CONSTANT_STR(name, key) _populate_constant_str(stash, #key, name)
^
Virt.xs:8509:29: error: ‘VIR_PERF_PARAM_PAGE_FAULTS_MAJ’ undeclared (first use in this
function)
REGISTER_CONSTANT_STR(VIR_PERF_PARAM_PAGE_FAULTS_MAJ, PERF_PARAM_PAGE_FAULTS_MAJ);
^
Virt.xs:158:78: note: in definition of macro ‘REGISTER_CONSTANT_STR’
#define REGISTER_CONSTANT_STR(name, key) _populate_constant_str(stash, #key, name)
^
Virt.xs:8510:29: error: ‘VIR_PERF_PARAM_ALIGNMENT_FAULTS’ undeclared (first use in this
function)
REGISTER_CONSTANT_STR(VIR_PERF_PARAM_ALIGNMENT_FAULTS,
PERF_PARAM_ALIGNMENT_FAULTS);
^
Virt.xs:158:78: note: in definition of macro ‘REGISTER_CONSTANT_STR’
#define REGISTER_CONSTANT_STR(name, key) _populate_constant_str(stash, #key, name)
^
Virt.xs:8511:29: error: ‘VIR_PERF_PARAM_EMULATION_FAULTS’ undeclared (first use in this
function)
REGISTER_CONSTANT_STR(VIR_PERF_PARAM_EMULATION_FAULTS,
PERF_PARAM_EMULATION_FAULTS);
^
Virt.xs:158:78: note: in definition of macro ‘REGISTER_CONSTANT_STR’
#define REGISTER_CONSTANT_STR(name, key) _populate_constant_str(stash, #key, name)
^
make: *** [Virt.o] Error 1
Build step 'Execute shell' marked build as failure