+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/odt2txt.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.1SDBig
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf odt2txt-0.4
+ /usr/bin/gzip -dc /builddir/build/SOURCES/odt2txt-0.4.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd odt2txt-0.4
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (odt2txt-makefile.patch):'
Patch #0 (odt2txt-makefile.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .makefile --fuzz=0
patching file Makefile
Hunk #1 succeeded at 90 (offset 8 lines).
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tZ50WO
+ umask 022
+ cd /builddir/build/BUILD
+ cd odt2txt-0.4
+ make -j2 '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 '
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    -c -o odt2txt.o odt2txt.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    -c -o regex.o regex.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    -c -o mem.o mem.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    -c -o strbuf.o strbuf.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    -c -o kunzip/fileio.o kunzip/fileio.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    -c -o kunzip/zipfile.o kunzip/zipfile.c
kunzip/zipfile.c: In function 'kunzip_file_tobuf':
kunzip/zipfile.c:144:6: warning: variable 'ret_code' set but not used [-Wunused-but-set-variable]
  int ret_code;
      ^~~~~~~~
kunzip/zipfile.c: In function 'kunzip_next_tobuf':
kunzip/zipfile.c:210:7: warning: variable 'marker' set but not used [-Wunused-but-set-variable]
  long marker;
       ^~~~~~
cc -o odt2txt  odt2txt.o regex.o mem.o strbuf.o kunzip/fileio.o kunzip/zipfile.o -lz
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IQUg8H
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/odt2txt-0.4-12.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/odt2txt-0.4-12.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/odt2txt-0.4-12.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/odt2txt-0.4-12.fc28.riscv64
+ cd odt2txt-0.4
+ rm -rf /builddir/build/BUILDROOT/odt2txt-0.4-12.fc28.riscv64
+ make install DESTDIR=/builddir/build/BUILDROOT/odt2txt-0.4-12.fc28.riscv64 PREFIX=/usr
install -d -m755 /builddir/build/BUILDROOT/odt2txt-0.4-12.fc28.riscv64/usr/bin
install odt2txt /builddir/build/BUILDROOT/odt2txt-0.4-12.fc28.riscv64/usr/bin
install -d -m755 /builddir/build/BUILDROOT/odt2txt-0.4-12.fc28.riscv64/usr/share/man/man1
install -p -m644 odt2txt.1 /builddir/build/BUILDROOT/odt2txt-0.4-12.fc28.riscv64/usr/share/man/man1
+ /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: odt2txt-0.4-12.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VaufoG
+ umask 022
+ cd /builddir/build/BUILD
+ cd odt2txt-0.4
+ DOCDIR=/builddir/build/BUILDROOT/odt2txt-0.4-12.fc28.riscv64/usr/share/doc/odt2txt
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/odt2txt-0.4-12.fc28.riscv64/usr/share/doc/odt2txt
+ cp -pr GPL-2 /builddir/build/BUILDROOT/odt2txt-0.4-12.fc28.riscv64/usr/share/doc/odt2txt
+ exit 0
Provides: odt2txt = 0.4-12.fc28 odt2txt(riscv-64) = 0.4-12.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) libz.so.1()(64bit) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/odt2txt-0.4-12.fc28.riscv64
Wrote: /builddir/build/SRPMS/odt2txt-0.4-12.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/odt2txt-0.4-12.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ok95BA
+ umask 022
+ cd /builddir/build/BUILD
+ cd odt2txt-0.4
+ rm -rf /builddir/build/BUILDROOT/odt2txt-0.4-12.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