Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ratpoints.spec'], chrootPath='/var/lib/mock/f33-build-135619-41750/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=432000uid=987gid=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=1580342400 Wrote: /builddir/build/SRPMS/ratpoints-2.1.3-21.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ratpoints.spec'], chrootPath='/var/lib/mock/f33-build-135619-41750/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=432000uid=987gid=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=1580342400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7IAQoo + 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 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.P5lhIp + umask 022 + cd /builddir/build/BUILD + cd ratpoints-2.1.3 + make -j4 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 sift.c: In function '_ratpoints_sift0': sift.c:258:21: warning: variable 'da' set but not used [-Wunused-but-set-variable] 258 | { long a0, a, da, d; | ^~ ./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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.58yZ6o + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.riscv64 + cd ratpoints-2.1.3 + make install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.riscv64 install -D -m755 ratpoints /builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.riscv64/usr/bin/ratpoints install -D -m644 ratpoints.h /builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.riscv64/usr/include/ratpoints.h install -d /builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.riscv64/usr/lib64 install -m755 libratpoints.so.0 /builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.riscv64/usr/lib64 ln -s libratpoints.so.0 /builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.riscv64/usr/lib64/libratpoints.so + install -p -D -m644 /builddir/build/SOURCES/ratpoints.1 /builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.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-21.fc33 --unique-debug-suffix -2.1.3-21.fc33.riscv64 --unique-debug-src-base ratpoints-2.1.3-21.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ratpoints-2.1.3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.riscv64/usr/bin/ratpoints explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.riscv64/usr/lib64/libratpoints.so.0 extracting debug info from /builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.riscv64/usr/lib64/libratpoints.so.0 extracting debug info from /builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.riscv64/usr/bin/ratpoints original debug info size: 328kB, size after compression: 328kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 389 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.MbQAfo + umask 022 + cd /builddir/build/BUILD + cd ratpoints-2.1.3 + LD_LIBRARY_PATH=/builddir/build/BUILD/ratpoints-2.1.3: + make test 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 rptest.c: In function 'main': rptest.c:65:8: warning: variable 'total' set but not used [-Wunused-but-set-variable] 65 | long total, n; | ^~~~~ time ./rptest > rptest.out real 1m14.980s user 1m14.740s sys 0m0.096s cmp -s testbase rptest.out || echo "Test failed!" + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ratpoints-2.1.3-21.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3E73sp + umask 022 + cd /builddir/build/BUILD + cd ratpoints-2.1.3 + DOCDIR=/builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.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-21.fc33.riscv64/usr/share/doc/ratpoints + cp -pr gpl-2.0.txt /builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.riscv64/usr/share/doc/ratpoints + cp -pr ratpoints-doc.pdf /builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.riscv64/usr/share/doc/ratpoints + RPM_EC=0 ++ jobs -p + exit 0 Provides: libratpoints.so.0()(64bit) ratpoints = 2.1.3-21.fc33 ratpoints(riscv-64) = 2.1.3-21.fc33 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-21.fc33.riscv64 Provides: ratpoints-devel = 2.1.3-21.fc33 ratpoints-devel(riscv-64) = 2.1.3-21.fc33 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-21.fc33.riscv64 Provides: ratpoints-debugsource = 2.1.3-21.fc33 ratpoints-debugsource(riscv-64) = 2.1.3-21.fc33 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-21.fc33.riscv64 Provides: debuginfo(build-id) = 16f3883ebe4d7878cb85e8928ed9af0a9f439eb8 debuginfo(build-id) = bf98e20d7e28fa682b45f2e3e3d6c8fd9509a983 ratpoints-debuginfo = 2.1.3-21.fc33 ratpoints-debuginfo(riscv-64) = 2.1.3-21.fc33 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-21.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.riscv64 Wrote: /builddir/build/RPMS/ratpoints-devel-2.1.3-21.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ratpoints-2.1.3-21.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ratpoints-debugsource-2.1.3-21.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ratpoints-debuginfo-2.1.3-21.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4g4mNp + umask 022 + cd /builddir/build/BUILD + cd ratpoints-2.1.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ratpoints-2.1.3-21.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0