+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/jhead.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.Xg9pR5
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf jhead-3.00
+ /usr/bin/gzip -dc /builddir/build/SOURCES/jhead-3.00.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd jhead-3.00
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Joc0PC
+ umask 022
+ cd /builddir/build/BUILD
+ cd jhead-3.00
+ 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 '
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 jhead.c -o jhead.o
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 jpgfile.c -o jpgfile.o
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 jpgqguess.c -o jpgqguess.o
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 paths.c -o paths.o
jpgfile.c: In function 'ReplaceThumbnail':
jpgfile.c:487:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
         fread(ThumbnailPointer, ThumbLen, 1, ThumbnailFile);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 exif.c -o exif.o
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 iptc.c -o iptc.o
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 gpsinfo.c -o gpsinfo.o
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 makernote.c -o makernote.o
cc -o jhead ./jhead.o ./jpgfile.o ./jpgqguess.o ./paths.o ./exif.o ./iptc.o ./gpsinfo.o ./makernote.o  -lm
./jhead.o: In function `DoCommand':
/builddir/build/BUILD/jhead-3.00/jhead.c:378: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.j01ACw
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/jhead-3.00-6.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/jhead-3.00-6.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/jhead-3.00-6.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/jhead-3.00-6.fc28.riscv64
+ cd jhead-3.00
+ rm -rf /builddir/build/BUILDROOT/jhead-3.00-6.fc28.riscv64
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.00-6.fc28.riscv64//usr/bin
+ cp -p jhead /builddir/build/BUILDROOT/jhead-3.00-6.fc28.riscv64//usr/bin
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.00-6.fc28.riscv64//usr/share/man/man1/
+ cp -p jhead.1 /builddir/build/BUILDROOT/jhead-3.00-6.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: jhead-3.00-6.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fSQmpB
+ umask 022
+ cd /builddir/build/BUILD
+ cd jhead-3.00
+ DOCDIR=/builddir/build/BUILDROOT/jhead-3.00-6.fc28.riscv64/usr/share/doc/jhead
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.00-6.fc28.riscv64/usr/share/doc/jhead
+ cp -pr readme.txt /builddir/build/BUILDROOT/jhead-3.00-6.fc28.riscv64/usr/share/doc/jhead
+ cp -pr usage.html /builddir/build/BUILDROOT/jhead-3.00-6.fc28.riscv64/usr/share/doc/jhead
+ cp -pr changes.txt /builddir/build/BUILDROOT/jhead-3.00-6.fc28.riscv64/usr/share/doc/jhead
+ exit 0
Provides: jhead = 3.00-6.fc28 jhead(riscv-64) = 3.00-6.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) 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/jhead-3.00-6.fc28.riscv64
Wrote: /builddir/build/SRPMS/jhead-3.00-6.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/jhead-3.00-6.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0UnXSu
+ umask 022
+ cd /builddir/build/BUILD
+ cd jhead-3.00
+ rm -rf /builddir/build/BUILDROOT/jhead-3.00-6.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