+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/rhash.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.m0hsJE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf RHash-1.3.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/rhash-1.3.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd RHash-1.3.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e '/^INSTALL_SHARED/s/644/755/' librhash/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6UeTOI + umask 022 + cd /builddir/build/BUILD + cd RHash-1.3.5 + /usr/bin/make -O -j4 'OPTFLAGS=-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 ' 'OPTLDFLAGS=-g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' build-shared cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations hash_update.c -o hash_update.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations file_mask.c -o file_mask.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations common_func.c -o common_func.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations calc_sums.c -o calc_sums.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations hash_print.c -o hash_print.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations file_set.c -o file_set.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations find_file.c -o find_file.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations output.c -o output.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations win_utils.c -o win_utils.o /usr/bin/make -C librhash lib-shared cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations rhash_main.c -o rhash_main.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations hash_check.c -o hash_check.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations parse_cmdline.c -o parse_cmdline.o make[1]: Entering directory '/builddir/build/BUILD/RHash-1.3.5/librhash' sed -n '1s/.*/{ global:/p; s/^RHASH_API.* \([a-z0-9_]\+\)(.*/ \1;/p; $s/.*/local: *; };/p' rhash.h rhash_torrent.h rhash_timing.h > exports.sym cc -fpic -pipe -DIN_RHASH -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -shared algorithms.c byte_order.c plug_openssl.c rhash.c rhash_timing.c rhash_torrent.c aich.c crc32.c ed2k.c edonr.c hex.c md4.c md5.c sha1.c sha256.c sha512.c sha3.c ripemd-160.c gost.c has160.c snefru.c tiger.c tiger_sbox.c tth.c torrent.c whirlpool.c whirlpool_sbox.c -Wl,--version-script,exports.sym,-soname,librhash.so.0 -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o librhash.so.0 rm -f librhash.so ln -s librhash.so.0 librhash.so make[1]: Leaving directory '/builddir/build/BUILD/RHash-1.3.5/librhash' cc calc_sums.o hash_print.o common_func.o hash_update.o file_mask.o file_set.o find_file.o hash_check.o output.o parse_cmdline.o rhash_main.o win_utils.o -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o rhash_shared librhash/librhash.so.0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7YmCBm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64 + cd RHash-1.3.5 + make DESTDIR=/builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64 PREFIX=/usr LIBDIR=/usr/lib64 install-shared install-lib-shared make install-shared-binary make[1]: Entering directory '/builddir/build/BUILD/RHash-1.3.5' install -d /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/bin install -m 755 rhash_shared /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/bin/rhash make[1]: Leaving directory '/builddir/build/BUILD/RHash-1.3.5' install -d /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/share/man/man1 install -m 644 dist/rhash.1 /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/share/man/man1/rhash.1 install -d /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/etc tr -d \\r < dist/rhashrc.sample > rc.tmp && install -m 644 rc.tmp /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/etc/rhashrc rm -f rc.tmp install -d /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/bin for f in sfv-hash tiger-hash tth-hash whirlpool-hash has160-hash gost-hash ed2k-link magnet-link; do ln -fs rhash /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/bin/$f; done cd /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/share/man/man1 && for f in sfv-hash tiger-hash tth-hash whirlpool-hash has160-hash gost-hash ed2k-link magnet-link; do ln -fs rhash.1* $f.1; done make -C librhash install-lib-shared make[1]: Entering directory '/builddir/build/BUILD/RHash-1.3.5/librhash' install -d /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/lib64 install -m 755 librhash.so.0 /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/lib64/ make[1]: Leaving directory '/builddir/build/BUILD/RHash-1.3.5/librhash' + make DESTDIR=/builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64 PREFIX=/usr LIBDIR=/usr/lib64 -C librhash install-so-link install-headers make: Entering directory '/builddir/build/BUILD/RHash-1.3.5/librhash' install -d /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/lib64 ln -s librhash.so.0 /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/lib64/librhash.so install -d /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/include install -m 644 rhash.h rhash_torrent.h /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/include/ make: Leaving directory '/builddir/build/BUILD/RHash-1.3.5/librhash' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/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: rhash-1.3.5-1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2NjTjs + umask 022 + cd /builddir/build/BUILD + cd RHash-1.3.5 + DOCDIR=/builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/share/doc/rhash + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/share/doc/rhash + cp -pr README /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/share/doc/rhash + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HmcayO + umask 022 + cd /builddir/build/BUILD + cd RHash-1.3.5 + LICENSEDIR=/builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/share/licenses/rhash + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/share/licenses/rhash + cp -pr COPYING /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/share/licenses/rhash + exit 0 Provides: config(rhash) = 1.3.5-1.fc28 librhash.so.0()(64bit) rhash = 1.3.5-1.fc28 rhash(riscv-64) = 1.3.5-1.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) librhash.so.0()(64bit) rtld(GNU_HASH) Processing files: rhash-devel-1.3.5-1.fc28.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.YtgAwB + umask 022 + cd /builddir/build/BUILD + cd RHash-1.3.5 + LICENSEDIR=/builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/share/licenses/rhash-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/share/licenses/rhash-devel + cp -pr COPYING /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64/usr/share/licenses/rhash-devel + exit 0 Provides: rhash-devel = 1.3.5-1.fc28 rhash-devel(riscv-64) = 1.3.5-1.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: librhash.so.0()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64 Wrote: /builddir/build/SRPMS/rhash-1.3.5-1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/rhash-1.3.5-1.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/rhash-devel-1.3.5-1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yG84Br + umask 022 + cd /builddir/build/BUILD + cd RHash-1.3.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rhash-1.3.5-1.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff