Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jhead.spec'], chrootPath='/var/lib/mock/f30-build-40345-22737/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jhead.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/jhead-3.00-12.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jhead.spec'], chrootPath='/var/lib/mock/f30-build-40345-22737/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jhead.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hRCQtp + 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 . Patch #0 (0008-heap-buffer-overflow.patch): + echo 'Patch #0 (0008-heap-buffer-overflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file exif.c Hunk #1 succeeded at 1019 (offset -1 lines). Patch #1 (31_CVE-2016-3822): + echo 'Patch #1 (31_CVE-2016-3822):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file exif.c + echo 'Patch #2 (32_crash_in_gpsinfo):' Patch #2 (32_crash_in_gpsinfo): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file gpsinfo.c + echo 'Patch #3 (33_fix_908176):' Patch #3 (33_fix_908176): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file gpsinfo.c + echo 'Patch #4 (34_buffer_overflow):' Patch #4 (34_buffer_overflow): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jhead.c + echo 'Patch #5 (35_compiler_warning_truncate):' Patch #5 (35_compiler_warning_truncate): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jhead.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XAVXjK + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c paths.c -o paths.o BUILDSTDERR: jpgfile.c: In function 'ReplaceThumbnail': BUILDSTDERR: jpgfile.c:487:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(ThumbnailPointer, ThumbLen, 1, ThumbnailFile); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: /usr/bin/ld: ./jhead.o: in function `DoCommand': BUILDSTDERR: /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.rYLkx1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jhead-3.00-12.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jhead-3.00-12.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/jhead-3.00-12.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jhead-3.00-12.fc30.riscv64 + cd jhead-3.00 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.00-12.fc30.riscv64//usr/bin + cp -p jhead /builddir/build/BUILDROOT/jhead-3.00-12.fc30.riscv64//usr/bin + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.00-12.fc30.riscv64//usr/share/man/man1/ + cp -p jhead.1 /builddir/build/BUILDROOT/jhead-3.00-12.fc30.riscv64//usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.00-12.fc30 --unique-debug-suffix -3.00-12.fc30.riscv64 --unique-debug-src-base jhead-3.00-12.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/jhead-3.00 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/jhead-3.00-12.fc30.riscv64/usr/bin/jhead extracting debug info from /builddir/build/BUILDROOT/jhead-3.00-12.fc30.riscv64/usr/bin/jhead /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 376 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: jhead-3.00-12.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WIcgv4 + umask 022 + cd /builddir/build/BUILD + cd jhead-3.00 + DOCDIR=/builddir/build/BUILDROOT/jhead-3.00-12.fc30.riscv64/usr/share/doc/jhead + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.00-12.fc30.riscv64/usr/share/doc/jhead + cp -pr readme.txt /builddir/build/BUILDROOT/jhead-3.00-12.fc30.riscv64/usr/share/doc/jhead + cp -pr usage.html /builddir/build/BUILDROOT/jhead-3.00-12.fc30.riscv64/usr/share/doc/jhead + cp -pr changes.txt /builddir/build/BUILDROOT/jhead-3.00-12.fc30.riscv64/usr/share/doc/jhead + exit 0 Provides: jhead = 3.00-12.fc30 jhead(riscv-64) = 3.00-12.fc30 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) Processing files: jhead-debugsource-3.00-12.fc30.riscv64 Provides: jhead-debugsource = 3.00-12.fc30 jhead-debugsource(riscv-64) = 3.00-12.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: jhead-debuginfo-3.00-12.fc30.riscv64 Provides: debuginfo(build-id) = 291811fa9f1197ea7c80c5481e85d64ec13a16d5 jhead-debuginfo = 3.00-12.fc30 jhead-debuginfo(riscv-64) = 3.00-12.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: jhead-debugsource(riscv-64) = 3.00-12.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jhead-3.00-12.fc30.riscv64 Wrote: /builddir/build/RPMS/jhead-3.00-12.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/jhead-debugsource-3.00-12.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/jhead-debuginfo-3.00-12.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Bn9Bo6 + umask 022 + cd /builddir/build/BUILD + cd jhead-3.00 + /usr/bin/rm -rf /builddir/build/BUILDROOT/jhead-3.00-12.fc30.riscv64 + exit 0 Child return code was: 0