Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jhead.spec'], chrootPath='/var/lib/mock/f29-build-21922-11430/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/jhead-3.00-11.fc29.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/f29-build-21922-11430/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QesNAZ + 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 . + echo 'Patch #0 (0008-heap-buffer-overflow.patch):' 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). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RSRXzx + 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 BUILDSTDERR: jhead.c: In function 'ProcessFile': BUILDSTDERR: jhead.c:673:27: warning: '%s' directive writing up to 8191 bytes into a region of size 4106 [-Wformat-overflow=] BUILDSTDERR: sprintf(NewName, "%s%s.jpg", NewBaseName, NameExtra); BUILDSTDERR: ^~ ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from jhead.h:9, BUILDSTDERR: from jhead.c:18: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 8198 bytes into a destination of size 4106 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); 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 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.WkP0FD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jhead-3.00-11.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jhead-3.00-11.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/jhead-3.00-11.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jhead-3.00-11.fc29.riscv64 + cd jhead-3.00 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.00-11.fc29.riscv64//usr/bin + cp -p jhead /builddir/build/BUILDROOT/jhead-3.00-11.fc29.riscv64//usr/bin + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.00-11.fc29.riscv64//usr/share/man/man1/ + cp -p jhead.1 /builddir/build/BUILDROOT/jhead-3.00-11.fc29.riscv64//usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.00-11.fc29 --unique-debug-suffix -3.00-11.fc29.riscv64 --unique-debug-src-base jhead-3.00-11.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/jhead-3.00 extracting debug info from /builddir/build/BUILDROOT/jhead-3.00-11.fc29.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 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: jhead-3.00-11.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DPkhWz + umask 022 + cd /builddir/build/BUILD + cd jhead-3.00 + DOCDIR=/builddir/build/BUILDROOT/jhead-3.00-11.fc29.riscv64/usr/share/doc/jhead + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.00-11.fc29.riscv64/usr/share/doc/jhead + cp -pr readme.txt /builddir/build/BUILDROOT/jhead-3.00-11.fc29.riscv64/usr/share/doc/jhead + cp -pr usage.html /builddir/build/BUILDROOT/jhead-3.00-11.fc29.riscv64/usr/share/doc/jhead + cp -pr changes.txt /builddir/build/BUILDROOT/jhead-3.00-11.fc29.riscv64/usr/share/doc/jhead + exit 0 Provides: jhead = 3.00-11.fc29 jhead(riscv-64) = 3.00-11.fc29 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-11.fc29.riscv64 Provides: jhead-debugsource = 3.00-11.fc29 jhead-debugsource(riscv-64) = 3.00-11.fc29 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-11.fc29.riscv64 Provides: debuginfo(build-id) = 2a4a7ed5ab81eed89453628615a24e709ef712df jhead-debuginfo = 3.00-11.fc29 jhead-debuginfo(riscv-64) = 3.00-11.fc29 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-11.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jhead-3.00-11.fc29.riscv64 Wrote: /builddir/build/RPMS/jhead-3.00-11.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/jhead-debugsource-3.00-11.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/jhead-debuginfo-3.00-11.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ujYl4u + umask 022 + cd /builddir/build/BUILD + cd jhead-3.00 + /usr/bin/rm -rf /builddir/build/BUILDROOT/jhead-3.00-11.fc29.riscv64 + exit 0 Child return code was: 0