Mock Version: 1.2.17
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc --nodeps /builddir/build/SPECS/libpfm.spec'], chrootPath='/var/lib/mock/libpfm-4.7.0-10.el7-20181030164755-3061/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=<mockbuild.trace_decorator.getLog object at 0x3fffa3a69150>uid=1004)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc --nodeps /builddir/build/SPECS/libpfm.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False
sh: python: command not found
sh: python: command not found
sh: python: command not found
Building target platforms: ppc
Building for target ppc
Wrote: /builddir/build/SRPMS/libpfm-4.7.0-10.el7.src.rpm
Child return code was: 0
ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc --nodeps /builddir/build/SPECS/libpfm.spec'], chrootPath='/var/lib/mock/libpfm-4.7.0-10.el7-20181030164755-3061/root'shell=Falseuid=1004env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=<mockbuild.trace_decorator.getLog object at 0x3fffa3a69150>printOutput=False)
Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc --nodeps /builddir/build/SPECS/libpfm.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False
Building target platforms: ppc
Building for target ppc
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ekZZ84
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf libpfm-4.7.0
+ /usr/bin/gzip -dc /builddir/build/SOURCES/libpfm-4.7.0.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libpfm-4.7.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
Patch #1 (libpfm-updates.patch):
+ echo 'Patch #1 (libpfm-updates.patch):'
+ /usr/bin/cat /builddir/build/SOURCES/libpfm-updates.patch
+ /usr/bin/patch -p1 --fuzz=0
patching file lib/events/intel_hswep_unc_imc_events.h
patching file lib/events/intel_ivbep_unc_imc_events.h
patching file tests/validate_x86.c
patching file lib/pfmlib_power8.c
patching file lib/pfmlib_power_priv.h
patching file lib/events/power8_events.h
patching file lib/pfmlib_power7.c
patching file lib/pfmlib_power_priv.h
patching file include/perfmon/perf_event.h
patching file include/perfmon/pfmlib.h
patching file include/perfmon/pfmlib_perf_event.h
patching file lib/Makefile
patching file lib/events/intel_skl_events.h
patching file tests/validate_x86.c
patching file lib/events/intel_bdw_events.h
patching file include/perfmon/pfmlib.h
patching file lib/events/intel_bdw_events.h
patching file lib/pfmlib_common.c
patching file lib/pfmlib_intel_bdw.c
patching file lib/pfmlib_priv.h
patching file tests/validate_x86.c
patching file lib/pfmlib_intel_rapl.c
patching file include/perfmon/pfmlib.h
patching file lib/pfmlib_intel_x86.c
patching file tests/validate_x86.c
patching file tests/validate_x86.c
patching file lib/pfmlib_common.c
patching file lib/pfmlib_power8.c
patching file lib/pfmlib_power_priv.h
patching file lib/events/intel_bdw_events.h
patching file lib/events/intel_hsw_events.h
patching file lib/events/intel_ivb_events.h
patching file lib/events/intel_skl_events.h
patching file lib/events/intel_snb_events.h
patching file tests/validate_x86.c
patching file include/perfmon/pfmlib.h
patching file lib/Makefile
patching file lib/events/intel_glm_events.h
patching file lib/pfmlib_common.c
patching file lib/pfmlib_intel_glm.c
patching file lib/pfmlib_priv.h
patching file README
patching file docs/Makefile
patching file docs/man3/libpfm_intel_glm.3
patching file lib/events/intel_glm_events.h
patching file lib/pfmlib_intel_nhm_unc.c
patching file lib/pfmlib_intel_x86.c
patching file lib/pfmlib_intel_x86_priv.h
patching file tests/validate_x86.c
patching file lib/events/intel_bdw_events.h
patching file tests/validate_x86.c
patching file lib/events/intel_hsw_events.h
patching file tests/validate_x86.c
patching file lib/pfmlib_common.c
patching file lib/events/intel_snb_events.h
patching file include/perfmon/pfmlib.h
patching file tests/validate.c
patching file lib/events/intel_bdw_events.h
patching file lib/events/intel_skl_events.h
patching file lib/events/intel_hsw_events.h
patching file lib/events/intel_ivb_events.h
patching file lib/events/intel_glm_events.h
patching file lib/events/intel_slm_events.h
patching file lib/events/intel_bdw_events.h
patching file lib/events/intel_hsw_events.h
patching file docs/man3/libpfm.3
patching file lib/pfmlib_common.c
patching file lib/pfmlib_priv.h
patching file tests/validate_x86.c
patching file README
patching file docs/Makefile
patching file docs/man3/libpfm_intel_knl.3
patching file include/perfmon/pfmlib.h
patching file lib/Makefile
patching file lib/events/intel_knl_events.h
patching file lib/pfmlib_common.c
patching file lib/pfmlib_intel_knl.c
patching file lib/pfmlib_priv.h
patching file tests/validate_x86.c
patching file lib/events/intel_glm_events.h
patching file README
patching file include/perfmon/pfmlib.h
patching file lib/Makefile
patching file lib/events/intel_knl_unc_cha_events.h
patching file lib/events/intel_knl_unc_edc_events.h
patching file lib/events/intel_knl_unc_imc_events.h
patching file lib/events/intel_knl_unc_m2pcie_events.h
patching file lib/pfmlib_common.c
patching file lib/pfmlib_intel_knl_unc_cha.c
patching file lib/pfmlib_intel_knl_unc_edc.c
patching file lib/pfmlib_intel_knl_unc_imc.c
patching file lib/pfmlib_intel_knl_unc_m2pcie.c
patching file lib/pfmlib_intel_snbep_unc.c
patching file lib/pfmlib_intel_snbep_unc_priv.h
patching file lib/pfmlib_priv.h
patching file tests/validate_x86.c
patching file lib/pfmlib_intel_skl.c
patching file lib/events/intel_bdw_events.h
patching file lib/events/intel_skl_events.h
patching file tests/validate_x86.c
patching file lib/pfmlib_intel_rapl.c
Patch #2 (libpfm-rhbz1440249.patch):
+ echo 'Patch #2 (libpfm-rhbz1440249.patch):'
+ /usr/bin/cat /builddir/build/SOURCES/libpfm-rhbz1440249.patch
+ /usr/bin/patch -p1 --fuzz=0
patching file include/perfmon/pfmlib.h
patching file tests/validate.c
patching file lib/pfmlib_common.c
patching file include/perfmon/pfmlib.h
patching file lib/pfmlib_intel_x86.c
patching file tests/validate_x86.c
patching file tests/validate.c
patching file lib/pfmlib_amd64.c
patching file lib/pfmlib_amd64_priv.h
patching file lib/pfmlib_arm.c
patching file lib/pfmlib_arm_priv.h
patching file lib/pfmlib_common.c
patching file lib/pfmlib_intel_netburst.c
patching file lib/pfmlib_intel_nhm_unc.c
patching file lib/pfmlib_intel_snbep_unc.c
patching file lib/pfmlib_intel_snbep_unc_priv.h
patching file lib/pfmlib_intel_x86.c
patching file lib/pfmlib_intel_x86_perf_event.c
patching file lib/pfmlib_intel_x86_priv.h
patching file lib/pfmlib_mips.c
patching file lib/pfmlib_mips_priv.h
patching file lib/pfmlib_perf_event.c
patching file lib/pfmlib_perf_event_pmu.c
patching file lib/pfmlib_perf_event_raw.c
patching file lib/pfmlib_power_priv.h
patching file lib/pfmlib_powerpc.c
patching file lib/pfmlib_priv.h
patching file lib/pfmlib_sparc.c
patching file lib/pfmlib_sparc_priv.h
patching file lib/pfmlib_torrent.c
patching file lib/pfmlib_common.c
patching file lib/pfmlib_priv.h
patching file lib/pfmlib_intel_x86.c
patching file tests/validate_x86.c
patching file lib/pfmlib_s390x_cpumf.c
Patch #3 (libpfm-power9.patch):
+ echo 'Patch #3 (libpfm-power9.patch):'
+ /usr/bin/cat /builddir/build/SOURCES/libpfm-power9.patch
+ /usr/bin/patch -p1 --fuzz=0
patching file README
patching file include/perfmon/pfmlib.h
patching file lib/Makefile
patching file lib/events/power9_events.h
patching file lib/pfmlib_common.c
patching file lib/pfmlib_power9.c
patching file lib/pfmlib_power_priv.h
patching file lib/pfmlib_priv.h
patching file lib/events/power9_events.h
patching file lib/events/power9_events.h
patching file tests/validate_power.c
Patch #4 (libpfm-bdx_unc.patch):
+ echo 'Patch #4 (libpfm-bdx_unc.patch):'
+ /usr/bin/cat /builddir/build/SOURCES/libpfm-bdx_unc.patch
+ /usr/bin/patch -p1 --fuzz=0
patching file docs/Makefile
patching file docs/man3/libpfm_intel_bdx_unc_cbo.3
patching file docs/man3/libpfm_intel_bdx_unc_ha.3
patching file docs/man3/libpfm_intel_bdx_unc_imc.3
patching file docs/man3/libpfm_intel_bdx_unc_irp.3
patching file docs/man3/libpfm_intel_bdx_unc_pcu.3
patching file docs/man3/libpfm_intel_bdx_unc_qpi.3
patching file docs/man3/libpfm_intel_bdx_unc_r2pcie.3
patching file docs/man3/libpfm_intel_bdx_unc_r3qpi.3
patching file docs/man3/libpfm_intel_bdx_unc_sbo.3
patching file docs/man3/libpfm_intel_bdx_unc_ubo.3
patching file include/perfmon/pfmlib.h
patching file lib/Makefile
patching file lib/events/intel_bdx_unc_cbo_events.h
patching file lib/events/intel_bdx_unc_ha_events.h
patching file lib/events/intel_bdx_unc_imc_events.h
patching file lib/events/intel_bdx_unc_irp_events.h
patching file lib/events/intel_bdx_unc_pcu_events.h
patching file lib/events/intel_bdx_unc_qpi_events.h
patching file lib/events/intel_bdx_unc_r2pcie_events.h
patching file lib/events/intel_bdx_unc_r3qpi_events.h
patching file lib/events/intel_bdx_unc_sbo_events.h
patching file lib/events/intel_bdx_unc_ubo_events.h
patching file lib/pfmlib_common.c
patching file lib/pfmlib_intel_bdx_unc_cbo.c
patching file lib/pfmlib_intel_bdx_unc_ha.c
patching file lib/pfmlib_intel_bdx_unc_imc.c
patching file lib/pfmlib_intel_bdx_unc_irp.c
patching file lib/pfmlib_intel_bdx_unc_pcu.c
patching file lib/pfmlib_intel_bdx_unc_qpi.c
patching file lib/pfmlib_intel_bdx_unc_r2pcie.c
patching file lib/pfmlib_intel_bdx_unc_r3qpi.c
patching file lib/pfmlib_intel_bdx_unc_sbo.c
patching file lib/pfmlib_intel_bdx_unc_ubo.c
patching file lib/pfmlib_intel_snbep_unc.c
patching file lib/pfmlib_intel_snbep_unc_priv.h
patching file lib/pfmlib_priv.h
patching file tests/validate_x86.c
Patch #5 (libpfm-p9_alt.patch):
+ echo 'Patch #5 (libpfm-p9_alt.patch):'
+ /usr/bin/cat /builddir/build/SOURCES/libpfm-p9_alt.patch
+ /usr/bin/patch -p1 -b --suffix .p9_alt --fuzz=0
patching file lib/events/power9_events.h
patching file tests/validate_power.c
Patch #6 (libpfm-p9_uniq.patch):
+ echo 'Patch #6 (libpfm-p9_uniq.patch):'
+ /usr/bin/cat /builddir/build/SOURCES/libpfm-p9_uniq.patch
+ /usr/bin/patch -p1 -b --suffix .p9_uniq --fuzz=0
patching file lib/events/power9_events.h
Patch #7 (libpfm-intel_1port.patch):
+ echo 'Patch #7 (libpfm-intel_1port.patch):'
+ /usr/bin/cat /builddir/build/SOURCES/libpfm-intel_1port.patch
+ /usr/bin/patch -p1 -b --suffix .1port --fuzz=0
patching file lib/events/intel_skl_events.h
Hunk #1 succeeded at 1909 (offset -64 lines).
Patch #8 (libpfm-s390.patch):
+ echo 'Patch #8 (libpfm-s390.patch):'
+ /usr/bin/cat /builddir/build/SOURCES/libpfm-s390.patch
+ /usr/bin/patch -p1 -b --suffix .s390 --fuzz=0
patching file lib/events/s390x_cpumf_events.h
patching file lib/pfmlib_s390x_cpumf.c
patching file lib/events/s390x_cpumf_events.h
patching file lib/pfmlib_s390x_cpumf.c
patching file lib/pfmlib_s390x_priv.h
patching file lib/pfmlib_s390x_cpumf.c
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6CiXo4
+ umask 022
+ cd /builddir/build/BUILD
+ cd libpfm-4.7.0
+ make CONFIG_PFMLIB_NOPYTHON=n -j16
Compiling for 'powerpc' target
Compiling for 'Linux' system
make[1]: Entering directory `/builddir/build/BUILD/libpfm-4.7.0/lib'
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_common.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_perf_event_pmu.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_perf_event.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_perf_event_raw.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_powerpc_perf_event.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_powerpc.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_power4.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_ppc970.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_power5.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_power6.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_power7.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_torrent.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_power8.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_power9.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_powerpc_nest.c
cc -fPIC -DPIC  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_common.c -o pfmlib_common.lo
cc -fPIC -DPIC  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_perf_event_pmu.c -o pfmlib_perf_event_pmu.lo
cc -fPIC -DPIC  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_perf_event.c -o pfmlib_perf_event.lo
cc -fPIC -DPIC  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_perf_event_raw.c -o pfmlib_perf_event_raw.lo
cc -fPIC -DPIC  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_powerpc_perf_event.c -o pfmlib_powerpc_perf_event.lo
cc -fPIC -DPIC  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_powerpc.c -o pfmlib_powerpc.lo
cc -fPIC -DPIC  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_power4.c -o pfmlib_power4.lo
cc -fPIC -DPIC  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_ppc970.c -o pfmlib_ppc970.lo
cc -fPIC -DPIC  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_power5.c -o pfmlib_power5.lo
cc -fPIC -DPIC  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_power6.c -o pfmlib_power6.lo
cc -fPIC -DPIC  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_power7.c -o pfmlib_power7.lo
cc -fPIC -DPIC  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_torrent.c -o pfmlib_torrent.lo
cc -fPIC -DPIC  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_power8.c -o pfmlib_power8.lo
cc -fPIC -DPIC  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_power9.c -o pfmlib_power9.lo
cc -fPIC -DPIC  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I. -c pfmlib_powerpc_nest.c -o pfmlib_powerpc_nest.lo
rm -f libpfm.a
ar cq libpfm.a pfmlib_common.o pfmlib_perf_event_pmu.o pfmlib_perf_event.o pfmlib_perf_event_raw.o pfmlib_powerpc_perf_event.o pfmlib_powerpc.o pfmlib_power4.o pfmlib_ppc970.o pfmlib_power5.o pfmlib_power6.o pfmlib_power7.o pfmlib_torrent.o pfmlib_power8.o pfmlib_power9.o pfmlib_powerpc_nest.o
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_POWERPC -I.  -shared -Wl,-soname -Wl,libpfm.so.4  -o libpfm.so.4.7.0 pfmlib_common.lo pfmlib_perf_event_pmu.lo pfmlib_perf_event.lo pfmlib_perf_event_raw.lo pfmlib_powerpc_perf_event.lo pfmlib_powerpc.lo pfmlib_power4.lo pfmlib_ppc970.lo pfmlib_power5.lo pfmlib_power6.lo pfmlib_power7.lo pfmlib_torrent.lo pfmlib_power8.lo pfmlib_power9.lo pfmlib_powerpc_nest.lo
ln -sf libpfm.so.4.7.0 libpfm.so.4
ln -sf libpfm.so.4.7.0 libpfm.so
make[1]: Leaving directory `/builddir/build/BUILD/libpfm-4.7.0/lib'
make[1]: Entering directory `/builddir/build/BUILD/libpfm-4.7.0/tests'
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/tests/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c validate.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/tests/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c validate_power.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/tests/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o validate  validate.o validate_power.o /builddir/build/BUILD/libpfm-4.7.0/tests/../lib/libpfm.a  -lm 
make[1]: Leaving directory `/builddir/build/BUILD/libpfm-4.7.0/tests'
make[1]: Entering directory `/builddir/build/BUILD/libpfm-4.7.0/examples'
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c showevtinfo.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c check_events.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o check_events  check_events.o /builddir/build/BUILD/libpfm-4.7.0/examples/../lib/libpfm.a  -lm -lrt 
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o showevtinfo  showevtinfo.o /builddir/build/BUILD/libpfm-4.7.0/examples/../lib/libpfm.a  -lm -lrt 
make[1]: Leaving directory `/builddir/build/BUILD/libpfm-4.7.0/examples'
make[1]: Entering directory `/builddir/build/BUILD/libpfm-4.7.0/perf_examples'
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c self.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c perf_util.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c self_basic.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c self_count.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c task.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c task_attach_timeout.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c syst.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c notify_self.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c notify_group.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c task_smpl.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c self_smpl_multi.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c self_pipe.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c syst_count.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c task_cpu.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c syst_smpl.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c evt2raw.c
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o self_count  self_count.o perf_util.o /builddir/build/BUILD/libpfm-4.7.0/perf_examples/../lib/libpfm.a  
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o task  task.o perf_util.o /builddir/build/BUILD/libpfm-4.7.0/perf_examples/../lib/libpfm.a  
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o syst_count  syst_count.o perf_util.o /builddir/build/BUILD/libpfm-4.7.0/perf_examples/../lib/libpfm.a  
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o self  self.o perf_util.o /builddir/build/BUILD/libpfm-4.7.0/perf_examples/../lib/libpfm.a  
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o self_basic  self_basic.o perf_util.o /builddir/build/BUILD/libpfm-4.7.0/perf_examples/../lib/libpfm.a  
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o syst_smpl  syst_smpl.o perf_util.o /builddir/build/BUILD/libpfm-4.7.0/perf_examples/../lib/libpfm.a  
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o task_attach_timeout  task_attach_timeout.o perf_util.o /builddir/build/BUILD/libpfm-4.7.0/perf_examples/../lib/libpfm.a  
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o syst  syst.o perf_util.o /builddir/build/BUILD/libpfm-4.7.0/perf_examples/../lib/libpfm.a  
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o notify_self  notify_self.o perf_util.o /builddir/build/BUILD/libpfm-4.7.0/perf_examples/../lib/libpfm.a  
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o notify_group  notify_group.o perf_util.o /builddir/build/BUILD/libpfm-4.7.0/perf_examples/../lib/libpfm.a  
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o self_pipe  self_pipe.o perf_util.o /builddir/build/BUILD/libpfm-4.7.0/perf_examples/../lib/libpfm.a  
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o evt2raw  evt2raw.o perf_util.o /builddir/build/BUILD/libpfm-4.7.0/perf_examples/../lib/libpfm.a  
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o task_smpl  task_smpl.o perf_util.o /builddir/build/BUILD/libpfm-4.7.0/perf_examples/../lib/libpfm.a  
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o self_smpl_multi  self_smpl_multi.o perf_util.o /builddir/build/BUILD/libpfm-4.7.0/perf_examples/../lib/libpfm.a  
cc  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.7.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o task_cpu  task_cpu.o perf_util.o /builddir/build/BUILD/libpfm-4.7.0/perf_examples/../lib/libpfm.a  
make[1]: Leaving directory `/builddir/build/BUILD/libpfm-4.7.0/perf_examples'
make[1]: Entering directory `/builddir/build/BUILD/libpfm-4.7.0/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/builddir/build/BUILD/libpfm-4.7.0/include'
make[1]: Entering directory `/builddir/build/BUILD/libpfm-4.7.0/docs'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/builddir/build/BUILD/libpfm-4.7.0/docs'
make[1]: Entering directory `/builddir/build/BUILD/libpfm-4.7.0/python'
CFLAGS="-O2 -g" ./setup.py build
running build
running build_py
creating build
creating build/lib.linux-ppc-2.7
creating build/lib.linux-ppc-2.7/perfmon
copying src/__init__.py -> build/lib.linux-ppc-2.7/perfmon
copying src/pmu.py -> build/lib.linux-ppc-2.7/perfmon
copying src/session.py -> build/lib.linux-ppc-2.7/perfmon
running build_ext
building 'perfmon._perfmon_int' extension
swigging src/perfmon_int.i to src/perfmon_int_wrap.c
swig -python -I../include -o src/perfmon_int_wrap.c src/perfmon_int.i
file src/perfmon_int.py (for module perfmon.perfmon_int) not found
file src/perfmon_int.py (for module perfmon.perfmon_int) not found
../include/perfmon/perf_event.h:304: Warning 314: 'from' is a python keyword, renaming to '_from'
../include/perfmon/perf_event.h:533: Warning 312: Nested struct not currently supported (ignored).
src/perfmon_int.i:95: Warning 326: Deprecated %extend name used - the struct name 'perf_event_attr' should be used instead of the typedef name 'perf_event_attr_t'.
src/perfmon_int.i:95: Warning 523: Use of an illegal destructor name 'perf_event_attr_t' in %extend is deprecated, the destructor name should be 'perf_event_attr'.
creating build/temp.linux-ppc-2.7
creating build/temp.linux-ppc-2.7/src
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 -m32 -mcpu=power7 -mtune=power7 -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 -m32 -mcpu=power7 -mtune=power7 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -I../include -I/usr/include/python2.7 -c src/perfmon_int_wrap.c -o build/temp.linux-ppc-2.7/src/perfmon_int_wrap.o
gcc -pthread -shared -Wl,-z,relro -O2 -g build/temp.linux-ppc-2.7/src/perfmon_int_wrap.o -L../lib -L/usr/lib -lpfm -lpython2.7 -o build/lib.linux-ppc-2.7/perfmon/_perfmon_int.so
make[1]: Leaving directory `/builddir/build/BUILD/libpfm-4.7.0/python'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gDpRY6
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc
++ dirname /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc
+ cd libpfm-4.7.0
+ rm -rf /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc
+ make PREFIX=/builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr LIBDIR=/builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/lib CONFIG_PFMLIB_NOPYTHON=n PYTHON_PREFIX=/builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc//usr LDCONFIG=/bin/true install
installing in
make[1]: Entering directory `/builddir/build/BUILD/libpfm-4.7.0/lib'
building: libpfm.a libpfm.so.4.7.0
mkdir -p /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/lib
install -m 644 libpfm.a /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/lib
install libpfm.so.4.7.0 /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/lib
cd /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/lib; ln -sf libpfm.so.4.7.0 libpfm.so.4
cd /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/lib; ln -sf libpfm.so.4.7.0 libpfm.so
/bin/true
make[1]: Leaving directory `/builddir/build/BUILD/libpfm-4.7.0/lib'
make[1]: Entering directory `/builddir/build/BUILD/libpfm-4.7.0/tests'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/builddir/build/BUILD/libpfm-4.7.0/tests'
make[1]: Entering directory `/builddir/build/BUILD/libpfm-4.7.0/examples'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/builddir/build/BUILD/libpfm-4.7.0/examples'
make[1]: Entering directory `/builddir/build/BUILD/libpfm-4.7.0/perf_examples'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/builddir/build/BUILD/libpfm-4.7.0/perf_examples'
make[1]: Entering directory `/builddir/build/BUILD/libpfm-4.7.0/include'
mkdir -p /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/include/perfmon
install -m 644 perfmon/pfmlib.h perfmon/perf_event.h perfmon/pfmlib_perf_event.h /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/include/perfmon
make[1]: Leaving directory `/builddir/build/BUILD/libpfm-4.7.0/include'
make[1]: Entering directory `/builddir/build/BUILD/libpfm-4.7.0/docs'
mkdir -p /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/share/man/man3
( cd man3; install -m 644 libpfm.3 pfm_find_event.3 pfm_get_event_attr_info.3 pfm_get_event_info.3 pfm_get_event_encoding.3 pfm_get_event_next.3 pfm_get_pmu_info.3 pfm_get_os_event_encoding.3 pfm_get_version.3 pfm_initialize.3 pfm_terminate.3 pfm_strerror.3  pfm_get_perf_event_encoding.3 libpfm_perf_event_raw.3 /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/share/man/man3 )
make[1]: Leaving directory `/builddir/build/BUILD/libpfm-4.7.0/docs'
make[1]: Entering directory `/builddir/build/BUILD/libpfm-4.7.0/python'
CFLAGS="-O2 -g" ./setup.py install --prefix=/builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc//usr
running install
running build
running build_py
copying src/perfmon_int.py -> build/lib.linux-ppc-2.7/perfmon
running build_ext
running install_lib
creating /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/lib/python2.7
creating /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/lib/python2.7/site-packages
creating /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/lib/python2.7/site-packages/perfmon
copying build/lib.linux-ppc-2.7/perfmon/pmu.py -> /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc//usr/lib/python2.7/site-packages/perfmon
copying build/lib.linux-ppc-2.7/perfmon/__init__.py -> /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc//usr/lib/python2.7/site-packages/perfmon
copying build/lib.linux-ppc-2.7/perfmon/session.py -> /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc//usr/lib/python2.7/site-packages/perfmon
copying build/lib.linux-ppc-2.7/perfmon/_perfmon_int.so -> /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc//usr/lib/python2.7/site-packages/perfmon
copying build/lib.linux-ppc-2.7/perfmon/perfmon_int.py -> /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc//usr/lib/python2.7/site-packages/perfmon
byte-compiling /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc//usr/lib/python2.7/site-packages/perfmon/pmu.py to pmu.pyc
byte-compiling /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc//usr/lib/python2.7/site-packages/perfmon/__init__.py to __init__.pyc
byte-compiling /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc//usr/lib/python2.7/site-packages/perfmon/session.py to session.pyc
byte-compiling /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc//usr/lib/python2.7/site-packages/perfmon/perfmon_int.py to perfmon_int.pyc
running install_egg_info
Writing /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc//usr/lib/python2.7/site-packages/perfmon-4.0-py2.7.egg-info
make[1]: Leaving directory `/builddir/build/BUILD/libpfm-4.7.0/python'
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/libpfm-4.7.0
extracting debug info from /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/lib/python2.7/site-packages/perfmon/_perfmon_int.so
extracting debug info from /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/lib/libpfm.so.4.7.0
/usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match.
symlinked /usr/lib/debug/usr/lib/libpfm.so.4.7.0.debug to /usr/lib/debug/usr/lib/libpfm.so.4.debug
symlinked /usr/lib/debug/usr/lib/libpfm.so.4.7.0.debug to /usr/lib/debug/usr/lib/libpfm.so.debug
4716 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
Bytecompiling .py files below /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/lib/python2.7 using /usr/bin/python2.7
Bytecompiling .py files below /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/lib/debug/usr/lib/python2.7 using /usr/bin/python2.7
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: libpfm-4.7.0-10.el7.ppc
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3yP9ha
+ umask 022
+ cd /builddir/build/BUILD
+ cd libpfm-4.7.0
+ DOCDIR=/builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/share/doc/libpfm-4.7.0
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/share/doc/libpfm-4.7.0
+ cp -pr README /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc/usr/share/doc/libpfm-4.7.0
+ exit 0
Finding  Provides: /bin/sh -c " /usr/bin/grep -v  '/usr/lib/python2.7/site-packages/perfmon/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u "
Finding  Requires(interp): 
Finding  Requires(rpmlib): 
Finding  Requires(verify): 
Finding  Requires(pre): 
Finding  Requires(post): 
Finding  Requires(preun): 
Finding  Requires(postun): 
Finding  Requires(pretrans): 
Finding  Requires(posttrans): 
Finding  Requires: /bin/sh -c "  while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u "
Provides: libpfm = 4.7.0-10.el7 libpfm(ppc-32) = 4.7.0-10.el7 libpfm.so.4
Requires(interp): /sbin/ldconfig /sbin/ldconfig
Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) rtld(GNU_HASH)
Processing files: libpfm-devel-4.7.0-10.el7.ppc
Finding  Provides: /bin/sh -c " /usr/bin/grep -v  '/usr/lib/python2.7/site-packages/perfmon/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u "
Finding  Requires(interp): 
Finding  Requires(rpmlib): 
Finding  Requires(verify): 
Finding  Requires(pre): 
Finding  Requires(post): 
Finding  Requires(preun): 
Finding  Requires(postun): 
Finding  Requires(pretrans): 
Finding  Requires(posttrans): 
Finding  Requires: /bin/sh -c "  while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u "
Provides: libpfm-devel = 4.7.0-10.el7 libpfm-devel(ppc-32) = 4.7.0-10.el7
Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Requires: libpfm.so.4
Processing files: libpfm-static-4.7.0-10.el7.ppc
Finding  Provides: /bin/sh -c " /usr/bin/grep -v  '/usr/lib/python2.7/site-packages/perfmon/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u "
Finding  Requires(interp): 
Finding  Requires(rpmlib): 
Finding  Requires(verify): 
Finding  Requires(pre): 
Finding  Requires(post): 
Finding  Requires(preun): 
Finding  Requires(postun): 
Finding  Requires(pretrans): 
Finding  Requires(posttrans): 
Finding  Requires: /bin/sh -c "  while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u "
Provides: libpfm-static = 4.7.0-10.el7 libpfm-static(ppc-32) = 4.7.0-10.el7
Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Processing files: libpfm-python-4.7.0-10.el7.ppc
Finding  Provides: /bin/sh -c " /usr/bin/grep -v  '/usr/lib/python2.7/site-packages/perfmon/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u "
Finding  Requires(interp): 
Finding  Requires(rpmlib): 
Finding  Requires(verify): 
Finding  Requires(pre): 
Finding  Requires(post): 
Finding  Requires(preun): 
Finding  Requires(postun): 
Finding  Requires(pretrans): 
Finding  Requires(posttrans): 
Finding  Requires: /bin/sh -c "  while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u "
Provides: libpfm-python = 4.7.0-10.el7 libpfm-python(ppc-32) = 4.7.0-10.el7
Requires(rpmlib): rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.4) libpfm.so.4 libpthread.so.0 libpython2.7.so.1.0 python(abi) = 2.7 rtld(GNU_HASH)
Processing files: libpfm-debuginfo-4.7.0-10.el7.ppc
Provides: libpfm-debuginfo = 4.7.0-10.el7 libpfm-debuginfo(ppc-32) = 4.7.0-10.el7
Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc
Wrote: /builddir/build/RPMS/libpfm-4.7.0-10.el7.ppc.rpm
Wrote: /builddir/build/RPMS/libpfm-devel-4.7.0-10.el7.ppc.rpm
Wrote: /builddir/build/RPMS/libpfm-static-4.7.0-10.el7.ppc.rpm
Wrote: /builddir/build/RPMS/libpfm-python-4.7.0-10.el7.ppc.rpm
Wrote: /builddir/build/RPMS/libpfm-debuginfo-4.7.0-10.el7.ppc.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BkAvAd
+ umask 022
+ cd /builddir/build/BUILD
+ cd libpfm-4.7.0
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/libpfm-4.7.0-10.el7.ppc
+ exit 0
Child return code was: 0