+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/shortrpm.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.pwoaZN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf shortrpm-1.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/shortrpm-1.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd shortrpm-1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dlyV3v + umask 022 + cd /builddir/build/BUILD + cd shortrpm-1.4 + 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 ' PREFIX=/usr cc -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 -DRPMBUILD=\"/usr/bin/rpmbuild\" -DSPECMANGLE=\"/usr/libexec/shortrpm/specmangle.so\" -c -o shortrpm.o shortrpm.c cc -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 -DRPMBUILD=\"/usr/bin/rpmbuild\" -DSPECMANGLE=\"/usr/libexec/shortrpm/specmangle.so\" -c -o specmangle.o specmangle.c specmangle.c: In function 'fake_spec': specmangle.c:113:32: warning: format '%a' expects argument of type 'float *', but argument 3 has type 'char **' [-Wformat=] while ((rec = fscanf (real, "%a[^\n]", &line)) != -1) { ~^ ~~~~~ specmangle.c:123:23: warning: format '%a' expects argument of type 'float *', but argument 3 has type 'char **' [-Wformat=] if (fscanf (real, "%a[\n]", &line) != 1) ~^ ~~~~~ cc shortrpm.o -o shortrpm cc -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 -DRPMBUILD=\"/usr/bin/rpmbuild\" -DSPECMANGLE=\"/usr/libexec/shortrpm/specmangle.so\" -shared -ldl -o specmangle.so specmangle.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8JJB9l + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/shortrpm-1.4-1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/shortrpm-1.4-1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/shortrpm-1.4-1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/shortrpm-1.4-1.fc28.riscv64 + cd shortrpm-1.4 + make install DESTDIR=/builddir/build/BUILDROOT/shortrpm-1.4-1.fc28.riscv64 PREFIX=/usr install -d /builddir/build/BUILDROOT/shortrpm-1.4-1.fc28.riscv64/usr/bin /builddir/build/BUILDROOT/shortrpm-1.4-1.fc28.riscv64/usr/libexec/shortrpm \ /builddir/build/BUILDROOT/shortrpm-1.4-1.fc28.riscv64/usr/share/man/man1 install -p shortrpm /builddir/build/BUILDROOT/shortrpm-1.4-1.fc28.riscv64/usr/bin install -p specmangle.so /builddir/build/BUILDROOT/shortrpm-1.4-1.fc28.riscv64/usr/libexec/shortrpm install -pm 0644 shortrpm.1 /builddir/build/BUILDROOT/shortrpm-1.4-1.fc28.riscv64/usr/share/man/man1 + install -d /builddir/build/BUILDROOT/shortrpm-1.4-1.fc28.riscv64/etc/profile.d + install -pm 0644 shortrpm.sh shortrpm.csh /builddir/build/BUILDROOT/shortrpm-1.4-1.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/shortrpm-1.4-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: shortrpm-1.4-1.fc28.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.myBqmO + umask 022 + cd /builddir/build/BUILD + cd shortrpm-1.4 + LICENSEDIR=/builddir/build/BUILDROOT/shortrpm-1.4-1.fc28.riscv64/usr/share/licenses/shortrpm + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/shortrpm-1.4-1.fc28.riscv64/usr/share/licenses/shortrpm + cp -pr COPYING /builddir/build/BUILDROOT/shortrpm-1.4-1.fc28.riscv64/usr/share/licenses/shortrpm + exit 0 Provides: config(shortrpm) = 1.4-1.fc28 shortrpm = 1.4-1.fc28 shortrpm(riscv-64) = 1.4-1.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) 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/shortrpm-1.4-1.fc28.riscv64 Wrote: /builddir/build/SRPMS/shortrpm-1.4-1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/shortrpm-1.4-1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vtxKoV + umask 022 + cd /builddir/build/BUILD + cd shortrpm-1.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/shortrpm-1.4-1.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