+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/crcimg.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.qUromD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf crcimg-1.1 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/crcimg-1.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd crcimg-1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.l4EmUI + umask 022 + cd /builddir/build/BUILD + cd crcimg-1.1 + make -f Makefile.build -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 ' 'LDFLAGS=-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 -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 -Wall -c -o crc32.o crc32.c 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 -O -Wall -c -o crcimg.o crcimg.c crcimg.c: In function 'main': crcimg.c:89:66: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] printf("Input file size is not a multiple of 0x%x - residue 0x%x\n", EBSIZE, bytes_read); ~^ %lx 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 -o crcimg crc32.o crcimg.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iWwS3h + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/crcimg-1.1-18.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/crcimg-1.1-18.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/crcimg-1.1-18.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/crcimg-1.1-18.fc28.riscv64 + cd crcimg-1.1 + make -f Makefile.build install DESTDIR=/builddir/build/BUILDROOT/crcimg-1.1-18.fc28.riscv64 install -D -m 755 crcimg /builddir/build/BUILDROOT/crcimg-1.1-18.fc28.riscv64/usr/bin/crcimg + /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: crcimg-1.1-18.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.deEz8j + umask 022 + cd /builddir/build/BUILD + cd crcimg-1.1 + DOCDIR=/builddir/build/BUILDROOT/crcimg-1.1-18.fc28.riscv64/usr/share/doc/crcimg + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/crcimg-1.1-18.fc28.riscv64/usr/share/doc/crcimg + cp -pr AUTHORS /builddir/build/BUILDROOT/crcimg-1.1-18.fc28.riscv64/usr/share/doc/crcimg + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.U4smAF + umask 022 + cd /builddir/build/BUILD + cd crcimg-1.1 + LICENSEDIR=/builddir/build/BUILDROOT/crcimg-1.1-18.fc28.riscv64/usr/share/licenses/crcimg + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/crcimg-1.1-18.fc28.riscv64/usr/share/licenses/crcimg + cp -pr COPYING /builddir/build/BUILDROOT/crcimg-1.1-18.fc28.riscv64/usr/share/licenses/crcimg + exit 0 Provides: crcimg = 1.1-18.fc28 crcimg(riscv-64) = 1.1-18.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/crcimg-1.1-18.fc28.riscv64 Wrote: /builddir/build/SRPMS/crcimg-1.1-18.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/crcimg-1.1-18.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MMsPxf + umask 022 + cd /builddir/build/BUILD + cd crcimg-1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/crcimg-1.1-18.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