Mock Version: 1.4.14
Mock Version: 1.4.14
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cpulimit.spec'], chrootPath='/var/lib/mock/f31-build-66771-29928/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x15580c1908>timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cpulimit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1563926400
Wrote: /builddir/build/SRPMS/cpulimit-0.2-9.20151118gitf4d2682.fc31.src.rpm
Child return code was: 0
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cpulimit.spec'], chrootPath='/var/lib/mock/f31-build-66771-29928/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x15580c1908>timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cpulimit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1563926400
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IMSu4V
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf cpulimit-f4d2682804931e7aea02a869137344bb5452a3cd
+ /usr/bin/gzip -dc /builddir/build/SOURCES/cpulimit-f4d2682804931e7aea02a869137344bb5452a3cd.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd cpulimit-f4d2682804931e7aea02a869137344bb5452a3cd
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
BUILDSTDERR: ++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pOTPYV
+ umask 022
+ cd /builddir/build/BUILD
+ cd cpulimit-f4d2682804931e7aea02a869137344bb5452a3cd
+ /usr/bin/make -j4
BUILDSTDERR: In file included from cpulimit.c:41:
BUILDSTDERR: /usr/include/sys/sysctl.h:21:2: warning: #warning "The <sys/sysctl.h> header is deprecated and will be removed." [-Wcpp]
BUILDSTDERR:    21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed."
BUILDSTDERR:       |  ^~~~~~~
BUILDSTDERR: cpulimit.c:46:18: warning: extra tokens at end of #ifdef directive
BUILDSTDERR:    46 | #ifdef __APPLE__ || __FREEBSD__
BUILDSTDERR:       |                  ^~
BUILDSTDERR: process_iterator_test.c:31:18: warning: extra tokens at end of #ifdef directive
BUILDSTDERR:    31 | #ifdef __APPLE__ || __FREEBSD__
BUILDSTDERR:       |                  ^~
+ RPM_EC=0
BUILDSTDERR: ++ jobs -p
+ exit 0
cd src && /usr/bin/make all
make[1]: Entering directory '/builddir/build/BUILD/cpulimit-f4d2682804931e7aea02a869137344bb5452a3cd/src'
cc -c list.c -Wall -g -D_GNU_SOURCE
cc -c process_iterator.c -Wall -g -D_GNU_SOURCE
cc -c process_group.c -Wall -g -D_GNU_SOURCE
cc -o cpulimit cpulimit.c list.o process_iterator.o process_group.o -Wall -g -D_GNU_SOURCE
make[1]: Leaving directory '/builddir/build/BUILD/cpulimit-f4d2682804931e7aea02a869137344bb5452a3cd/src'
cd tests && /usr/bin/make all
make[1]: Entering directory '/builddir/build/BUILD/cpulimit-f4d2682804931e7aea02a869137344bb5452a3cd/tests'
cc -o busy busy.c -lpthread -Wall -g
cc -I../src -o process_iterator_test process_iterator_test.c ../src/list.o ../src/process_iterator.o ../src/process_group.o -lpthread -Wall -g
make[1]: Leaving directory '/builddir/build/BUILD/cpulimit-f4d2682804931e7aea02a869137344bb5452a3cd/tests'
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9TffdX
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64
BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64
+ cd cpulimit-f4d2682804931e7aea02a869137344bb5452a3cd
+ rm -rf /builddir/build/BUILDROOT/cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64
+ /usr/bin/install -Dp -m 755 src/cpulimit /builddir/build/BUILDROOT/cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64//usr/bin/cpulimit
+ /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.2-9.20151118gitf4d2682.fc31 --unique-debug-suffix -0.2-9.20151118gitf4d2682.fc31.riscv64 --unique-debug-src-base cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cpulimit-f4d2682804931e7aea02a869137344bb5452a3cd
BUILDSTDERR: 70 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64/usr/bin/cpulimit
extracting debug info from /builddir/build/BUILDROOT/cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64/usr/bin/cpulimit
original debug info size: 68kB, size after compression: 68kB
/usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
Processing files: cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jELatZ
+ umask 022
+ cd /builddir/build/BUILD
+ cd cpulimit-f4d2682804931e7aea02a869137344bb5452a3cd
+ DOCDIR=/builddir/build/BUILDROOT/cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64/usr/share/doc/cpulimit
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64/usr/share/doc/cpulimit
+ cp -pr README.md /builddir/build/BUILDROOT/cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64/usr/share/doc/cpulimit
+ RPM_EC=0
BUILDSTDERR: ++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.KxPqfX
+ umask 022
+ cd /builddir/build/BUILD
+ cd cpulimit-f4d2682804931e7aea02a869137344bb5452a3cd
+ LICENSEDIR=/builddir/build/BUILDROOT/cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64/usr/share/licenses/cpulimit
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64/usr/share/licenses/cpulimit
+ cp -pr LICENSE /builddir/build/BUILDROOT/cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64/usr/share/licenses/cpulimit
+ RPM_EC=0
BUILDSTDERR: ++ jobs -p
+ exit 0
Provides: cpulimit = 1:0.2-9.20151118gitf4d2682.fc31 cpulimit(riscv-64) = 1:0.2-9.20151118gitf4d2682.fc31
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH)
Processing files: cpulimit-debugsource-0.2-9.20151118gitf4d2682.fc31.riscv64
Provides: cpulimit-debugsource = 1:0.2-9.20151118gitf4d2682.fc31 cpulimit-debugsource(riscv-64) = 1:0.2-9.20151118gitf4d2682.fc31
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: cpulimit-debuginfo-0.2-9.20151118gitf4d2682.fc31.riscv64
Provides: cpulimit-debuginfo = 1:0.2-9.20151118gitf4d2682.fc31 cpulimit-debuginfo(riscv-64) = 1:0.2-9.20151118gitf4d2682.fc31 debuginfo(build-id) = bd5b608dc22009d569a59553c25ffaf83b439e12
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: cpulimit-debugsource(riscv-64) = 1:0.2-9.20151118gitf4d2682.fc31
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64
Wrote: /builddir/build/RPMS/cpulimit-debuginfo-0.2-9.20151118gitf4d2682.fc31.riscv64.rpm
Wrote: /builddir/build/RPMS/cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64.rpm
Wrote: /builddir/build/RPMS/cpulimit-debugsource-0.2-9.20151118gitf4d2682.fc31.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SepsqY
+ umask 022
+ cd /builddir/build/BUILD
+ cd cpulimit-f4d2682804931e7aea02a869137344bb5452a3cd
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/cpulimit-0.2-9.20151118gitf4d2682.fc31.riscv64
+ RPM_EC=0
BUILDSTDERR: ++ jobs -p
+ exit 0
Child return code was: 0