+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/libkeepalive.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.wLXMai + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libkeepalive-0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/libkeepalive-0.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libkeepalive-0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-Add-vim-modelines-to-source-files.patch + /usr/bin/cat /builddir/build/SOURCES/0002-test-test.c-Whitespace-cleanup.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-test-Implement-self-test-functionality.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0004-Makefile-Make-self-test-accessible-by-make-test.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0005-Makefile-Allow-setting-custom-compiler-flags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZoP7Dy + umask 022 + cd /builddir/build/BUILD + cd libkeepalive-0.3 + export 'CFLAGS=-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 ' + CFLAGS='-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 ' + export 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/make -O -j4 make -C src/ make[1]: Entering directory '/builddir/build/BUILD/libkeepalive-0.3/src' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/builddir/build/BUILD/libkeepalive-0.3/src' make[1]: Entering directory '/builddir/build/BUILD/libkeepalive-0.3/src' gcc -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 -fPIC -ansi -pedantic -Wall -c -o libkeepalive.o libkeepalive.c gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libkeepalive.so -o libkeepalive.so libkeepalive.o -ldl rm libkeepalive.o make[1]: Leaving directory '/builddir/build/BUILD/libkeepalive-0.3/src' make -C test/ make[1]: Entering directory '/builddir/build/BUILD/libkeepalive-0.3/test' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/builddir/build/BUILD/libkeepalive-0.3/test' make[1]: Entering directory '/builddir/build/BUILD/libkeepalive-0.3/test' gcc -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld test.c -o test make[1]: Leaving directory '/builddir/build/BUILD/libkeepalive-0.3/test' cp src/libkeepalive.so libkeepalive.so strip -s libkeepalive.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gr002l + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libkeepalive-0.3-6.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libkeepalive-0.3-6.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/libkeepalive-0.3-6.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libkeepalive-0.3-6.fc28.riscv64 + cd libkeepalive-0.3 + install -p -m 0755 -D src/libkeepalive.so /builddir/build/BUILDROOT/libkeepalive-0.3-6.fc28.riscv64/usr/lib64/libkeepalive.so + /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: libkeepalive-0.3-6.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uCjobr + umask 022 + cd /builddir/build/BUILD + cd libkeepalive-0.3 + DOCDIR=/builddir/build/BUILDROOT/libkeepalive-0.3-6.fc28.riscv64/usr/share/doc/libkeepalive + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libkeepalive-0.3-6.fc28.riscv64/usr/share/doc/libkeepalive + cp -pr README /builddir/build/BUILDROOT/libkeepalive-0.3-6.fc28.riscv64/usr/share/doc/libkeepalive + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xaYYUI + umask 022 + cd /builddir/build/BUILD + cd libkeepalive-0.3 + LICENSEDIR=/builddir/build/BUILDROOT/libkeepalive-0.3-6.fc28.riscv64/usr/share/licenses/libkeepalive + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libkeepalive-0.3-6.fc28.riscv64/usr/share/licenses/libkeepalive + cp -pr LICENSE /builddir/build/BUILDROOT/libkeepalive-0.3-6.fc28.riscv64/usr/share/licenses/libkeepalive + exit 0 Provides: libkeepalive = 0.3-6.fc28 libkeepalive(riscv-64) = 0.3-6.fc28 libkeepalive.so()(64bit) 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) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libkeepalive-0.3-6.fc28.riscv64 Wrote: /builddir/build/SRPMS/libkeepalive-0.3-6.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/libkeepalive-0.3-6.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wP3ruS + umask 022 + cd /builddir/build/BUILD + cd libkeepalive-0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libkeepalive-0.3-6.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