Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jhead.spec'], chrootPath='/var/lib/mock/f31-build-112546-34278/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=432000uid=986gid=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 setting SOURCE_DATE_EPOCH=1564963200 Wrote: /builddir/build/SRPMS/jhead-3.03-4.fc31.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/f31-build-112546-34278/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=432000uid=986gid=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 setting SOURCE_DATE_EPOCH=1564963200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hhCC78 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jhead-3.03 + /usr/bin/gzip -dc /builddir/build/SOURCES/jhead-3.03.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jhead-3.03 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (32_crash_in_gpsinfo):' Patch #0 (32_crash_in_gpsinfo): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file gpsinfo.c + echo 'Patch #1 (33_fix_908176):' Patch #1 (33_fix_908176): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file gpsinfo.c Patch #2 (34_buffer_overflow): + echo 'Patch #2 (34_buffer_overflow):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jhead.c Hunk #1 succeeded at 677 (offset 7 lines). Patch #3 (35_compiler_warning_truncate): + echo 'Patch #3 (35_compiler_warning_truncate):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jhead.c Hunk #1 succeeded at 657 (offset 7 lines). Patch #4 (36_CVE-2019-1010301): + echo 'Patch #4 (36_CVE-2019-1010301):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file gpsinfo.c Patch #5 (37_CVE-2019-1010302): + echo 'Patch #5 (37_CVE-2019-1010302):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file iptc.c + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Udwnmc + umask 022 + cd /builddir/build/BUILD + cd jhead-3.03 + 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 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 BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from jhead.h:11, BUILDSTDERR: from gpsinfo.c:6: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'ProcessGpsInfo' at gpsinfo.c:156:21: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 29 bytes from a string of length 49 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'ProcessGpsInfo' at gpsinfo.c:154:21: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 29 bytes from a string of length 49 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.03/jhead.c:379: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wCKPQ8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jhead-3.03-4.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jhead-3.03-4.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/jhead-3.03-4.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jhead-3.03-4.fc31.riscv64 + cd jhead-3.03 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.03-4.fc31.riscv64//usr/bin + cp -p jhead /builddir/build/BUILDROOT/jhead-3.03-4.fc31.riscv64//usr/bin + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.03-4.fc31.riscv64//usr/share/man/man1/ + cp -p jhead.1 /builddir/build/BUILDROOT/jhead-3.03-4.fc31.riscv64//usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.03-4.fc31 --unique-debug-suffix -3.03-4.fc31.riscv64 --unique-debug-src-base jhead-3.03-4.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/jhead-3.03 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/jhead-3.03-4.fc31.riscv64/usr/bin/jhead extracting debug info from /builddir/build/BUILDROOT/jhead-3.03-4.fc31.riscv64/usr/bin/jhead original debug info size: 260kB, size after compression: 240kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 380 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/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.03-4.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6sqIA8 + umask 022 + cd /builddir/build/BUILD + cd jhead-3.03 + DOCDIR=/builddir/build/BUILDROOT/jhead-3.03-4.fc31.riscv64/usr/share/doc/jhead + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.03-4.fc31.riscv64/usr/share/doc/jhead + cp -pr readme.txt /builddir/build/BUILDROOT/jhead-3.03-4.fc31.riscv64/usr/share/doc/jhead + cp -pr usage.html /builddir/build/BUILDROOT/jhead-3.03-4.fc31.riscv64/usr/share/doc/jhead + cp -pr changes.txt /builddir/build/BUILDROOT/jhead-3.03-4.fc31.riscv64/usr/share/doc/jhead + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: jhead = 3.03-4.fc31 jhead(riscv-64) = 3.03-4.fc31 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.03-4.fc31.riscv64 Provides: jhead-debugsource = 3.03-4.fc31 jhead-debugsource(riscv-64) = 3.03-4.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: jhead-debuginfo-3.03-4.fc31.riscv64 Provides: debuginfo(build-id) = 7c52cc778e9961308143e1aa7c81ef3f6b29dc53 jhead-debuginfo = 3.03-4.fc31 jhead-debuginfo(riscv-64) = 3.03-4.fc31 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.03-4.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jhead-3.03-4.fc31.riscv64 Wrote: /builddir/build/RPMS/jhead-3.03-4.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/jhead-debuginfo-3.03-4.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/jhead-debugsource-3.03-4.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Enqis9 + umask 022 + cd /builddir/build/BUILD + cd jhead-3.03 + /usr/bin/rm -rf /builddir/build/BUILDROOT/jhead-3.03-4.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0