+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/stud.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.6n6f3c + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bumptech-stud-0b88039 + /usr/bin/gzip -dc /builddir/build/SOURCES/bumptech-stud-0.3-51-g0b88039.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bumptech-stud-0b88039 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (stud-0.3-fix-libev-include-path.patch):' Patch #0 (stud-0.3-fix-libev-include-path.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nZJcyg + umask 022 + cd /builddir/build/BUILD + cd bumptech-stud-0b88039 + make -j4 cc -O2 -g -std=c99 -fno-strict-aliasing -Wall -W -D_GNU_SOURCE -I/usr/include/libev -c -o stud.o stud.c cc -O2 -g -std=c99 -fno-strict-aliasing -Wall -W -D_GNU_SOURCE -I/usr/include/libev -c -o ringbuffer.o ringbuffer.c cc -O2 -g -std=c99 -fno-strict-aliasing -Wall -W -D_GNU_SOURCE -I/usr/include/libev -c -o configuration.o configuration.c stud.c: In function 'daemonize': stud.c:184:7: warning: argument 1 null where non-null expected [-Wnonnull] fprintf(stderr, __VA_ARGS__); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ stud.c:1772:9: note: in expansion of macro 'ERR' ERR("Unable to reopen stderr to %s: %s\n", NULL_DEV, strerror(errno)); ^~~ In file included from stud.c:39:0: /usr/include/stdio.h:314:12: note: in a call to function 'fprintf' declared here extern int fprintf (FILE *__restrict __stream, ^~~~~~~ cc -o stud stud.o ringbuffer.o configuration.o -lssl -lcrypto -lev -L/usr/local/lib + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VGc7Vw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64 + cd bumptech-stud-0b88039 + rm -rf /builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64 PREFIX=/usr BINDIR=/usr/sbin install -d /builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64/usr/sbin install stud /builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64/usr/sbin install -d /builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64/usr/share/man/man8 install -m 644 stud.8 /builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64/usr/share/man/man8 + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/stud.service /builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64/usr/lib/systemd/system/stud.service + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/stud.cfg /builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64/etc/stud/stud.cfg + /usr/bin/install -d -m 0755 /builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64/var/lib/stud + /usr/bin/install -d -m 0755 /builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64/usr/share/stud + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/stud-0.3-12.20120814git.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: stud-0.3-12.20120814git.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.B30xU6 + umask 022 + cd /builddir/build/BUILD + cd bumptech-stud-0b88039 + DOCDIR=/builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64/usr/share/doc/stud + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64/usr/share/doc/stud + cp -pr LICENSE /builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64/usr/share/doc/stud + cp -pr README.md /builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64/usr/share/doc/stud + exit 0 Provides: config(stud) = 0.3-12.20120814git.fc28 stud = 0.3-12.20120814git.fc28 stud(riscv-64) = 0.3-12.20120814git.fc28 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) libcrypto.so.10(OPENSSL_1.0.2)(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libev.so.4()(64bit) libssl.so.10()(64bit) libssl.so.10(libssl.so.10)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/stud-0.3-12.20120814git.fc28.riscv64 Wrote: /builddir/build/SRPMS/stud-0.3-12.20120814git.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/stud-0.3-12.20120814git.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4XjhkV + umask 022 + cd /builddir/build/BUILD + cd bumptech-stud-0b88039 + rm -rf /builddir/build/BUILDROOT/stud-0.3-12.20120814git.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