+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/audio-entropyd.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.sK5iua + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf audio-entropyd-2.0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/audio-entropyd-2.0.3.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd audio-entropyd-2.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (audio-entropyd-2.0.3-pulseaudio-fork.patch):' Patch #0 (audio-entropyd-2.0.3-pulseaudio-fork.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .pulseaudio --fuzz=0 patching file audio-entropyd.c + echo 'Patch #1 (audio-entropyd-2.0.3-fixargs.patch):' Patch #1 (audio-entropyd-2.0.3-fixargs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fixargs --fuzz=0 patching file audio-entropyd.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cmuuCg + umask 022 + cd /builddir/build/BUILD + cd audio-entropyd-2.0.3 + make 'OPT_FLAGS=-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 ' -j4 cc -Wall -Wno-conversion -Waggregate-return -Wstrict-prototypes -g -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 -DVERSION=\"2.0.3\" -c -o audio-entropyd.o audio-entropyd.c cc -Wall -Wno-conversion -Waggregate-return -Wstrict-prototypes -g -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 -DVERSION=\"2.0.3\" -c -o error.o error.c cc -Wall -Wno-conversion -Waggregate-return -Wstrict-prototypes -g -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 -DVERSION=\"2.0.3\" -c -o proc.o proc.c cc -Wall -Wno-conversion -Waggregate-return -Wstrict-prototypes -g -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 -DVERSION=\"2.0.3\" -c -o val.o val.c cc -Wall -Wno-conversion -Waggregate-return -Wstrict-prototypes -g -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 -DVERSION=\"2.0.3\" -c -o RNGTEST.o RNGTEST.c audio-entropyd.c: In function 'get_random_data': audio-entropyd.c:636:13: warning: unused variable 'wait_retval' [-Wunused-variable] int wait_retval = nanosleep (&time_to_wait, &time_left); // wait for that many nanoseconds ^~~~~~~~~~~ audio-entropyd.c: In function 'main_loop': audio-entropyd.c:452:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(poolsize_fh, "%d", &max_bits); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o audio-entropyd audio-entropyd.o error.o proc.o val.o RNGTEST.o -lm -lasound -g + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vzOrnY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/audio-entropyd-2.0.3-14.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/audio-entropyd-2.0.3-14.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/audio-entropyd-2.0.3-14.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/audio-entropyd-2.0.3-14.fc28.riscv64 + cd audio-entropyd-2.0.3 + mkdir -p /builddir/build/BUILDROOT/audio-entropyd-2.0.3-14.fc28.riscv64/usr/sbin + install -m0755 audio-entropyd /builddir/build/BUILDROOT/audio-entropyd-2.0.3-14.fc28.riscv64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/audio-entropyd-2.0.3-14.fc28.riscv64/usr/lib/systemd/system + install -m0755 /builddir/build/SOURCES/audio-entropyd.service /builddir/build/BUILDROOT/audio-entropyd-2.0.3-14.fc28.riscv64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/audio-entropyd-2.0.3-14.fc28.riscv64/etc/sysconfig + install -m0644 /builddir/build/SOURCES/audio-entropyd.conf /builddir/build/BUILDROOT/audio-entropyd-2.0.3-14.fc28.riscv64/etc/sysconfig/audio-entropyd + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/audio-entropyd-2.0.3-14.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 *** WARNING: ./usr/lib/systemd/system/audio-entropyd.service is executable but has empty or no shebang, removing executable bit Processing files: audio-entropyd-2.0.3-14.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LaIF5u + umask 022 + cd /builddir/build/BUILD + cd audio-entropyd-2.0.3 + DOCDIR=/builddir/build/BUILDROOT/audio-entropyd-2.0.3-14.fc28.riscv64/usr/share/doc/audio-entropyd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/audio-entropyd-2.0.3-14.fc28.riscv64/usr/share/doc/audio-entropyd + cp -pr COPYING /builddir/build/BUILDROOT/audio-entropyd-2.0.3-14.fc28.riscv64/usr/share/doc/audio-entropyd + cp -pr README /builddir/build/BUILDROOT/audio-entropyd-2.0.3-14.fc28.riscv64/usr/share/doc/audio-entropyd + cp -pr TODO /builddir/build/BUILDROOT/audio-entropyd-2.0.3-14.fc28.riscv64/usr/share/doc/audio-entropyd + exit 0 Provides: audio-entropyd = 2.0.3-14.fc28 audio-entropyd(riscv-64) = 2.0.3-14.fc28 config(audio-entropyd) = 2.0.3-14.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(post): /bin/sh systemd-sysv systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libasound.so.2()(64bit) libasound.so.2(ALSA_0.9)(64bit) libasound.so.2(ALSA_0.9.0rc4)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/audio-entropyd-2.0.3-14.fc28.riscv64 Wrote: /builddir/build/SRPMS/audio-entropyd-2.0.3-14.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/audio-entropyd-2.0.3-14.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.uGUuas + umask 022 + cd /builddir/build/BUILD + cd audio-entropyd-2.0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/audio-entropyd-2.0.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