+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/libpfm.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NuuNuB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libpfm-4.8.0 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/libpfm-4.8.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libpfm-4.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Jhyx2K + umask 022 + cd /builddir/build/BUILD + cd libpfm-4.8.0 + make CONFIG_PFMLIB_NOPYTHON=n -j4 Compiling for 'riscv64' target Compiling for 'Linux' system make[1]: Entering directory '/builddir/build/BUILD/libpfm-4.8.0/lib' cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -I. -c pfmlib_common.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -I. -c pfmlib_perf_event_pmu.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -I. -c pfmlib_perf_event.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -I. -c pfmlib_perf_event_raw.c cc -fPIC -DPIC -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -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.8.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -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.8.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -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.8.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -I. -c pfmlib_perf_event_raw.c -o pfmlib_perf_event_raw.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 cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -I. -shared -Wl,-soname -Wl,libpfm.so.4 -o libpfm.so.4.8.0 pfmlib_common.lo pfmlib_perf_event_pmu.lo pfmlib_perf_event.lo pfmlib_perf_event_raw.lo ln -sf libpfm.so.4.8.0 libpfm.so.4 ln -sf libpfm.so.4.8.0 libpfm.so make[1]: Leaving directory '/builddir/build/BUILD/libpfm-4.8.0/lib' make[1]: Entering directory '/builddir/build/BUILD/libpfm-4.8.0/tests' cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.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.8.0/tests/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o validate validate.o /builddir/build/BUILD/libpfm-4.8.0/tests/../lib/libpfm.a -lm make[1]: Leaving directory '/builddir/build/BUILD/libpfm-4.8.0/tests' make[1]: Entering directory '/builddir/build/BUILD/libpfm-4.8.0/examples' cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.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.8.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.8.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.8.0/examples/../lib/libpfm.a -lm -lrt cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.0/examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o showevtinfo showevtinfo.o /builddir/build/BUILD/libpfm-4.8.0/examples/../lib/libpfm.a -lm -lrt make[1]: Leaving directory '/builddir/build/BUILD/libpfm-4.8.0/examples' make[1]: Entering directory '/builddir/build/BUILD/libpfm-4.8.0/perf_examples' cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.0/perf_examples/../lib/libpfm.a cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.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.8.0/perf_examples/../lib/libpfm.a cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.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.8.0/perf_examples/../lib/libpfm.a cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.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.8.0/perf_examples/../lib/libpfm.a cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.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.8.0/perf_examples/../lib/libpfm.a cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.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.8.0/perf_examples/../lib/libpfm.a cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.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.8.0/perf_examples/../lib/libpfm.a cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.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.8.0/perf_examples/../lib/libpfm.a cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.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.8.0/perf_examples/../lib/libpfm.a cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.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.8.0/perf_examples/../lib/libpfm.a cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.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.8.0/perf_examples/../lib/libpfm.a cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.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.8.0/perf_examples/../lib/libpfm.a cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.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.8.0/perf_examples/../lib/libpfm.a cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.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.8.0/perf_examples/../lib/libpfm.a cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.8.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.8.0/perf_examples/../lib/libpfm.a make[1]: Leaving directory '/builddir/build/BUILD/libpfm-4.8.0/perf_examples' make[1]: Entering directory '/builddir/build/BUILD/libpfm-4.8.0/include' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/libpfm-4.8.0/include' make[1]: Entering directory '/builddir/build/BUILD/libpfm-4.8.0/docs' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/libpfm-4.8.0/docs' make[1]: Entering directory '/builddir/build/BUILD/libpfm-4.8.0/python' CFLAGS="-O2 -g" ./setup.py build DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out running build running build_py file src/perfmon_int.py (for module perfmon.perfmon_int) not found creating build creating build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/perfmon copying src/__init__.py -> build/lib.linux-riscv64-2.7/perfmon copying src/session.py -> build/lib.linux-riscv64-2.7/perfmon copying src/pmu.py -> build/lib.linux-riscv64-2.7/perfmon file src/perfmon_int.py (for module perfmon.perfmon_int) not found 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 ../include/perfmon/perf_event.h:304: Warning 314: 'from' is a python keyword, renaming to '_from' 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-riscv64-2.7 creating build/temp.linux-riscv64-2.7/src gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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-riscv64-2.7/src/perfmon_int_wrap.o gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g build/temp.linux-riscv64-2.7/src/perfmon_int_wrap.o -L../lib -L/usr/lib64 -lpfm -lpython2.7 -o build/lib.linux-riscv64-2.7/perfmon/_perfmon_int.so make[1]: Leaving directory '/builddir/build/BUILD/libpfm-4.8.0/python' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.srD4qX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64 + cd libpfm-4.8.0 + rm -rf /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64 + make PREFIX=/builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64/usr LIBDIR=/builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64/usr/lib64 CONFIG_PFMLIB_NOPYTHON=n PYTHON_PREFIX=/builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64//usr LDCONFIG=/bin/true install installing in make[1]: Entering directory '/builddir/build/BUILD/libpfm-4.8.0/lib' building: libpfm.a libpfm.so.4.8.0 mkdir -p /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64/usr/lib64 install -m 644 libpfm.a /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64/usr/lib64 install libpfm.so.4.8.0 /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64/usr/lib64 cd /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64/usr/lib64; ln -sf libpfm.so.4.8.0 libpfm.so.4 cd /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64/usr/lib64; ln -sf libpfm.so.4.8.0 libpfm.so /bin/true make[1]: Leaving directory '/builddir/build/BUILD/libpfm-4.8.0/lib' make[1]: Entering directory '/builddir/build/BUILD/libpfm-4.8.0/tests' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/libpfm-4.8.0/tests' make[1]: Entering directory '/builddir/build/BUILD/libpfm-4.8.0/examples' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/libpfm-4.8.0/examples' make[1]: Entering directory '/builddir/build/BUILD/libpfm-4.8.0/perf_examples' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/libpfm-4.8.0/perf_examples' make[1]: Entering directory '/builddir/build/BUILD/libpfm-4.8.0/include' mkdir -p /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64/usr/include/perfmon install -m 644 perfmon/pfmlib.h perfmon/perf_event.h perfmon/pfmlib_perf_event.h /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64/usr/include/perfmon make[1]: Leaving directory '/builddir/build/BUILD/libpfm-4.8.0/include' make[1]: Entering directory '/builddir/build/BUILD/libpfm-4.8.0/docs' mkdir -p /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64/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.8.0-6.fc28.riscv64/usr/share/man/man3 ) make[1]: Leaving directory '/builddir/build/BUILD/libpfm-4.8.0/docs' make[1]: Entering directory '/builddir/build/BUILD/libpfm-4.8.0/python' CFLAGS="-O2 -g" ./setup.py install --prefix=/builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64//usr DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out running install running build running build_py copying src/perfmon_int.py -> build/lib.linux-riscv64-2.7/perfmon running build_ext running install_lib creating /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64/usr/lib64/python2.7/site-packages creating /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64/usr/lib64/python2.7/site-packages/perfmon copying build/lib.linux-riscv64-2.7/perfmon/session.py -> /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64//usr/lib64/python2.7/site-packages/perfmon copying build/lib.linux-riscv64-2.7/perfmon/_perfmon_int.so -> /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64//usr/lib64/python2.7/site-packages/perfmon copying build/lib.linux-riscv64-2.7/perfmon/__init__.py -> /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64//usr/lib64/python2.7/site-packages/perfmon copying build/lib.linux-riscv64-2.7/perfmon/pmu.py -> /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64//usr/lib64/python2.7/site-packages/perfmon copying build/lib.linux-riscv64-2.7/perfmon/perfmon_int.py -> /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64//usr/lib64/python2.7/site-packages/perfmon byte-compiling /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64//usr/lib64/python2.7/site-packages/perfmon/session.py to session.pyc byte-compiling /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64//usr/lib64/python2.7/site-packages/perfmon/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64//usr/lib64/python2.7/site-packages/perfmon/pmu.py to pmu.pyc byte-compiling /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64//usr/lib64/python2.7/site-packages/perfmon/perfmon_int.py to perfmon_int.pyc running install_egg_info Writing /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64//usr/lib64/python2.7/site-packages/perfmon-4.0-py2.7.egg-info make[1]: Leaving directory '/builddir/build/BUILD/libpfm-4.8.0/python' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/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.8.0-6.fc28.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: libpfm-4.8.0-6.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.H6ap3Z + umask 022 + cd /builddir/build/BUILD + cd libpfm-4.8.0 + DOCDIR=/builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64/usr/share/doc/libpfm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64/usr/share/doc/libpfm + cp -pr README /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64/usr/share/doc/libpfm + exit 0 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/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 " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: libpfm = 4.8.0-6.fc28 libpfm(riscv-64) = 4.8.0-6.fc28 libpfm.so.4()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: libpfm-devel-4.8.0-6.fc28.riscv64 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/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 " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: libpfm-devel = 4.8.0-6.fc28 libpfm-devel(riscv-64) = 4.8.0-6.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libpfm.so.4()(64bit) Processing files: libpfm-static-4.8.0-6.fc28.riscv64 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/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 " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: libpfm-static = 4.8.0-6.fc28 libpfm-static(riscv-64) = 4.8.0-6.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libpfm-python-4.8.0-6.fc28.riscv64 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/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 " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: libpfm-python = 4.8.0-6.fc28 libpfm-python(riscv-64) = 4.8.0-6.fc28 python2.7dist(perfmon) = 4.0 python2dist(perfmon) = 4.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpfm.so.4()(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64 Wrote: /builddir/build/SRPMS/libpfm-4.8.0-6.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/libpfm-4.8.0-6.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libpfm-devel-4.8.0-6.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libpfm-static-4.8.0-6.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libpfm-python-4.8.0-6.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SWAoHo + umask 022 + cd /builddir/build/BUILD + cd libpfm-4.8.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libpfm-4.8.0-6.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff