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/ratpoints.spec'], chrootPath='/var/lib/mock/f31-build-76560-31411/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=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/ratpoints.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/ratpoints-2.1.3-20.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ratpoints.spec'], chrootPath='/var/lib/mock/f31-build-76560-31411/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=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/ratpoints.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LCKgUU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ratpoints-2.1.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/ratpoints-2.1.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ratpoints-2.1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/ratpoints-shared.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + sed -e 's|-Wall -O2 -fomit-frame-pointer|-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection |' -e 's|-shared|& -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld|' -i Makefile + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XyjVfS + umask 022 + cd /builddir/build/BUILD + cd ratpoints-2.1.3 + make -j4 BUILDSTDERR: sift.c: In function '_ratpoints_sift0': BUILDSTDERR: sift.c:258:21: warning: variable 'da' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 258 | { long a0, a, da, d; BUILDSTDERR: | ^~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 gcc sift.c -c -o sift.o -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DRATPOINTS_MAX_BITS_IN_PRIME=7 -fPIC -funroll-loops gcc gen_init_sieve_h.c -o gen_init_sieve_h -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DRATPOINTS_MAX_BITS_IN_PRIME=7 -fPIC -lgmp -lm gcc sturm.c -c -o sturm.o -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DRATPOINTS_MAX_BITS_IN_PRIME=7 -fPIC gcc gen_find_points_h.c -o gen_find_points_h -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DRATPOINTS_MAX_BITS_IN_PRIME=7 -fPIC -lgmp -lm ./gen_init_sieve_h > init_sieve.h gcc init.c -c -o init.o -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DRATPOINTS_MAX_BITS_IN_PRIME=7 -fPIC -funroll-loops -O3 ./gen_find_points_h > find_points.h gcc find_points.c -c -o find_points.o -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DRATPOINTS_MAX_BITS_IN_PRIME=7 -fPIC gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libratpoints.so.0 -Wl,-soname=libratpoints.so.0 sift.o init.o sturm.o find_points.o -lgmp -lm ln -s libratpoints.so.0 libratpoints.so gcc main.c -o ratpoints -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DRATPOINTS_MAX_BITS_IN_PRIME=7 -fPIC -lgmp -lm -L. -lratpoints Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5js6gU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64 + cd ratpoints-2.1.3 + make install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64 + install -p -D -m644 /builddir/build/SOURCES/ratpoints.1 /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64//usr/share/man/man1/ratpoints.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.1.3-20.fc31 --unique-debug-suffix -2.1.3-20.fc31.riscv64 --unique-debug-src-base ratpoints-2.1.3-20.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ratpoints-2.1.3 BUILDSTDERR: 389 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/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs install -D -m755 ratpoints /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64/usr/bin/ratpoints install -D -m644 ratpoints.h /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64/usr/include/ratpoints.h install -d /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64/usr/lib64 install -m755 libratpoints.so.0 /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64/usr/lib64 ln -s libratpoints.so.0 /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64/usr/lib64/libratpoints.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64/usr/lib64/libratpoints.so.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64/usr/bin/ratpoints extracting debug info from /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64/usr/bin/ratpoints extracting debug info from /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64/usr/lib64/libratpoints.so.0 original debug info size: 328kB, size after compression: 328kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.7DcezU + umask 022 + cd /builddir/build/BUILD + cd ratpoints-2.1.3 + LD_LIBRARY_PATH=/builddir/build/BUILD/ratpoints-2.1.3: + make test BUILDSTDERR: rptest.c: In function 'main': BUILDSTDERR: rptest.c:65:8: warning: variable 'total' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 65 | long total, n; BUILDSTDERR: | ^~~~~ BUILDSTDERR: real 2m54.487s BUILDSTDERR: user 2m52.654s BUILDSTDERR: sys 0m0.992s + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 gcc rptest.c -o rptest -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DRATPOINTS_MAX_BITS_IN_PRIME=7 -fPIC -lgmp -lm -L. -lratpoints time ./rptest > rptest.out cmp -s testbase rptest.out || echo "Test failed!" Processing files: ratpoints-2.1.3-20.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oQJwHU + umask 022 + cd /builddir/build/BUILD + cd ratpoints-2.1.3 + DOCDIR=/builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64/usr/share/doc/ratpoints + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64/usr/share/doc/ratpoints + cp -pr gpl-2.0.txt /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64/usr/share/doc/ratpoints + cp -pr ratpoints-doc.pdf /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64/usr/share/doc/ratpoints + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: libratpoints.so.0()(64bit) ratpoints = 2.1.3-20.fc31 ratpoints(riscv-64) = 2.1.3-20.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-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) libgmp.so.10()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libratpoints.so.0()(64bit) rtld(GNU_HASH) Processing files: ratpoints-devel-2.1.3-20.fc31.riscv64 Provides: ratpoints-devel = 2.1.3-20.fc31 ratpoints-devel(riscv-64) = 2.1.3-20.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libratpoints.so.0()(64bit) Processing files: ratpoints-debugsource-2.1.3-20.fc31.riscv64 Provides: ratpoints-debugsource = 2.1.3-20.fc31 ratpoints-debugsource(riscv-64) = 2.1.3-20.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ratpoints-debuginfo-2.1.3-20.fc31.riscv64 Provides: debuginfo(build-id) = 102d2453c4465343a232e204396779b5518fb899 debuginfo(build-id) = 2ec1964f5995e89e6542b09523317cabe87c33f1 ratpoints-debuginfo = 2.1.3-20.fc31 ratpoints-debuginfo(riscv-64) = 2.1.3-20.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ratpoints-debugsource(riscv-64) = 2.1.3-20.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64 Wrote: /builddir/build/RPMS/ratpoints-devel-2.1.3-20.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/ratpoints-2.1.3-20.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/ratpoints-debugsource-2.1.3-20.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/ratpoints-debuginfo-2.1.3-20.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RAJh0U + umask 022 + cd /builddir/build/BUILD + cd ratpoints-2.1.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ratpoints-2.1.3-20.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0