+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ratpoints.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.D5ASBo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ratpoints-2.1.3 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/ratpoints-2.1.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ratpoints-2.1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ratpoints-shared.patch):' Patch #0 (ratpoints-shared.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + 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 |' -e 's|-shared|& -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lgmp -lm|' -i Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZB0WTz + 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 -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 -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 -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 -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] { 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 -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 -DRATPOINTS_MAX_BITS_IN_PRIME=7 -fPIC gcc -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lgmp -lm -o libratpoints.so.0 -Wl,-soname=libratpoints.so.0 sift.o init.o sturm.o find_points.o 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 -DRATPOINTS_MAX_BITS_IN_PRIME=7 -fPIC -lgmp -lm -L. -lratpoints + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KrkF1A + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ratpoints-2.1.3-14.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ratpoints-2.1.3-14.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ratpoints-2.1.3-14.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ratpoints-2.1.3-14.fc28.riscv64 + cd ratpoints-2.1.3 + make install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/ratpoints-2.1.3-14.fc28.riscv64 install -D -m755 ratpoints /builddir/build/BUILDROOT/ratpoints-2.1.3-14.fc28.riscv64/usr/bin/ratpoints install -D -m644 ratpoints.h /builddir/build/BUILDROOT/ratpoints-2.1.3-14.fc28.riscv64/usr/include/ratpoints.h install -d /builddir/build/BUILDROOT/ratpoints-2.1.3-14.fc28.riscv64/usr/lib64 install -m755 libratpoints.so.0 /builddir/build/BUILDROOT/ratpoints-2.1.3-14.fc28.riscv64/usr/lib64 ln -s libratpoints.so.0 /builddir/build/BUILDROOT/ratpoints-2.1.3-14.fc28.riscv64/usr/lib64/libratpoints.so + install -p -D -m644 /builddir/build/SOURCES/ratpoints.1 /builddir/build/BUILDROOT/ratpoints-2.1.3-14.fc28.riscv64//usr/share/man/man1/ratpoints.1 + /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 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ratpoints-2.1.3-14.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nF0QnV + umask 022 + cd /builddir/build/BUILD + cd ratpoints-2.1.3 + DOCDIR=/builddir/build/BUILDROOT/ratpoints-2.1.3-14.fc28.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-14.fc28.riscv64/usr/share/doc/ratpoints + cp -pr gpl-2.0.txt /builddir/build/BUILDROOT/ratpoints-2.1.3-14.fc28.riscv64/usr/share/doc/ratpoints + cp -pr ratpoints-doc.pdf /builddir/build/BUILDROOT/ratpoints-2.1.3-14.fc28.riscv64/usr/share/doc/ratpoints + exit 0 Provides: libratpoints.so.0()(64bit) ratpoints = 2.1.3-14.fc28 ratpoints(riscv-64) = 2.1.3-14.fc28 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: 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-14.fc28.riscv64 Provides: ratpoints-devel = 2.1.3-14.fc28 ratpoints-devel(riscv-64) = 2.1.3-14.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libratpoints.so.0()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ratpoints-2.1.3-14.fc28.riscv64 Wrote: /builddir/build/SRPMS/ratpoints-2.1.3-14.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ratpoints-2.1.3-14.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/ratpoints-devel-2.1.3-14.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.arNvq9 + umask 022 + cd /builddir/build/BUILD + cd ratpoints-2.1.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ratpoints-2.1.3-14.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