+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/beep.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.iByhqt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf beep-1.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/beep-1.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd beep-1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Fixed-Makefile.patch):' Patch #1 (0001-Fixed-Makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0001 --fuzz=0 patching file Makefile + echo 'Patch #2 (0002-Add-more-error-detection.patch):' Patch #2 (0002-Add-more-error-detection.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0002 --fuzz=0 patching file beep.c + echo 'Patch #4 (0004-also-catch-SIGTERM-for-stopping-the-beep.patch):' Patch #4 (0004-also-catch-SIGTERM-for-stopping-the-beep.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0004 --fuzz=0 patching file beep.c Hunk #1 succeeded at 130 (offset 3 lines). Hunk #2 succeeded at 325 (offset 3 lines). + echo 'Patch #5 (0005-Make-build-install-more-user-and-packaging-friendly.patch):' Patch #5 (0005-Make-build-install-more-user-and-packaging-friendly.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0005 --fuzz=0 patching file Makefile + echo 'Patch #6 (0006-Preserve-file-modification-time-on-install.patch):' Patch #6 (0006-Preserve-file-modification-time-on-install.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0006 --fuzz=0 patching file Makefile + cp -p /builddir/build/SOURCES/beep-README.fedora README.fedora + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.p44Rt1 + umask 022 + cd /builddir/build/BUILD + cd beep-1.3 + make -j4 '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 ' gcc -Wall -O2 -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 -o beep beep.c beep.c: In function 'parse_command_line': beep.c:197:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ beep.c:201:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' result->freq = argfreq; ^~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.h4gmX7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64 + cd beep-1.3 + rm -rf /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64 install -m 0755 -d /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64/usr/bin install -m 0755 -p beep /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64/usr/bin/ install -m 0755 -d /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64/usr/share/man/man1 install -m 0644 -p beep.1.gz /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64/usr/share/man/man1/ + install -d -m 0755 /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64//etc/modprobe.d/ + install -p -m 0644 /builddir/build/SOURCES/beep-modprobe.conf /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64//etc/modprobe.d/beep.conf + install -d -m 0700 /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64//etc/sudoers.d/ + install -p -m 0600 /builddir/build/SOURCES/beep.sudoers /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64//etc/sudoers.d/beep + install -d -m 0755 /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64//etc/profile.d/ + install -p -m 0644 /builddir/build/SOURCES/beep.csh /builddir/build/SOURCES/beep.sh /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64//etc/profile.d/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/beep-1.3-19.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: beep-1.3-19.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tPffUU + umask 022 + cd /builddir/build/BUILD + cd beep-1.3 + DOCDIR=/builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64/usr/share/doc/beep + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64/usr/share/doc/beep + cp -pr CHANGELOG /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64/usr/share/doc/beep + cp -pr COPYING /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64/usr/share/doc/beep + cp -pr CREDITS /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64/usr/share/doc/beep + cp -pr README /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64/usr/share/doc/beep + cp -pr README.fedora /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64/usr/share/doc/beep + exit 0 Provides: beep = 1.3-19.fc28 beep(riscv-64) = 1.3-19.fc28 config(beep) = 1.3-19.fc28 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) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/beep-1.3-19.fc28.riscv64 Wrote: /builddir/build/SRPMS/beep-1.3-19.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/beep-1.3-19.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.evMGna + umask 022 + cd /builddir/build/BUILD + cd beep-1.3 + rm -rf /builddir/build/BUILDROOT/beep-1.3-19.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