Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/jhead.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1688560858.257989/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.epwzhxcs:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.epwzhxcs:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9ca000f8b6ce4a268ee009beb36e93f9', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1688560858.257989/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.epwzhxcs:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1688515200 Wrote: /builddir/build/SRPMS/jhead-3.08-0.el9.1sunshine.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/jhead.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1688560858.257989/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.epwzhxcs:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.epwzhxcs:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b0e5a64f1c1e478da35abd32275dc8a0', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1688560858.257989/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.epwzhxcs:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1688515200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kgalaH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jhead-3.08 + /usr/bin/gzip -dc /builddir/build/SOURCES/jhead-3.08.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jhead-3.08 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RSq7Tt + umask 022 + cd /builddir/build/BUILD + cd jhead-3.08 + make -j4 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c jhead.c -o obj/jhead.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c jpgfile.c -o obj/jpgfile.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c jpgqguess.c -o obj/jpgqguess.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c paths.c -o obj/paths.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c exif.c -o obj/exif.o jpgqguess.c: In function 'process_DHT': jpgqguess.c:173:9: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized] 173 | int a, i; | ^ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c iptc.c -o obj/iptc.o exif.c: In function 'PrintFormatNumber': exif.c:396:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 396 | f = *(float *)&tmp; | ^~~~~~~~~~~~~ exif.c: In function 'ConvertAnyFormat': exif.c:460:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 460 | Value = *(float *)&tmp; | ^~~~~~~~~~~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c gpsinfo.c -o obj/gpsinfo.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c makernote.c -o obj/makernote.o In file included from /usr/include/string.h:519, from jhead.h:11, from gpsinfo.c:6: In function 'strncpy', inlined from 'ProcessGpsInfo' at gpsinfo.c:163:21: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 29 bytes from a string of length 49 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'ProcessGpsInfo' at gpsinfo.c:161:21: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 29 bytes from a string of length 49 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o jhead obj/jhead.o obj/jpgfile.o obj/jpgqguess.o obj/paths.o obj/exif.o obj/iptc.o obj/gpsinfo.o obj/makernote.o -lm /usr/bin/ld: /tmp/ccRmAnww.ltrans0.ltrans.o: in function `DoCommand': /builddir/build/BUILD/jhead-3.08/jhead.c:393: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WSqNbQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jhead-3.08-0.el9.1sunshine.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jhead-3.08-0.el9.1sunshine.aarch64 ++ dirname /builddir/build/BUILDROOT/jhead-3.08-0.el9.1sunshine.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jhead-3.08-0.el9.1sunshine.aarch64 + cd jhead-3.08 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.08-0.el9.1sunshine.aarch64//usr/bin + cp -p jhead /builddir/build/BUILDROOT/jhead-3.08-0.el9.1sunshine.aarch64//usr/bin + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.08-0.el9.1sunshine.aarch64//usr/share/man/man1/ + cp -p jhead.1 /builddir/build/BUILDROOT/jhead-3.08-0.el9.1sunshine.aarch64//usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.08-0.el9.1sunshine --unique-debug-suffix -3.08-0.el9.1sunshine.aarch64 --unique-debug-src-base jhead-3.08-0.el9.1sunshine.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/jhead-3.08 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/jhead-3.08-0.el9.1sunshine.aarch64/usr/bin/jhead extracting debug info from /builddir/build/BUILDROOT/jhead-3.08-0.el9.1sunshine.aarch64/usr/bin/jhead original debug info size: 204kB, size after compression: 188kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 389 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: jhead-3.08-0.el9.1sunshine.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zGUF78 + umask 022 + cd /builddir/build/BUILD + cd jhead-3.08 + DOCDIR=/builddir/build/BUILDROOT/jhead-3.08-0.el9.1sunshine.aarch64/usr/share/doc/jhead + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.08-0.el9.1sunshine.aarch64/usr/share/doc/jhead + cp -pr readme.txt /builddir/build/BUILDROOT/jhead-3.08-0.el9.1sunshine.aarch64/usr/share/doc/jhead + cp -pr usage.html /builddir/build/BUILDROOT/jhead-3.08-0.el9.1sunshine.aarch64/usr/share/doc/jhead + cp -pr changes.txt /builddir/build/BUILDROOT/jhead-3.08-0.el9.1sunshine.aarch64/usr/share/doc/jhead + RPM_EC=0 ++ jobs -p + exit 0 Provides: jhead = 3.08-0.el9.1sunshine jhead(aarch-64) = 3.08-0.el9.1sunshine Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) rtld(GNU_HASH) Processing files: jhead-debugsource-3.08-0.el9.1sunshine.aarch64 Provides: jhead-debugsource = 3.08-0.el9.1sunshine jhead-debugsource(aarch-64) = 3.08-0.el9.1sunshine Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: jhead-debuginfo-3.08-0.el9.1sunshine.aarch64 Provides: debuginfo(build-id) = 00a0278607a93cefe45b2bf5d104b171586d390d jhead-debuginfo = 3.08-0.el9.1sunshine jhead-debuginfo(aarch-64) = 3.08-0.el9.1sunshine Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: jhead-debugsource(aarch-64) = 3.08-0.el9.1sunshine Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jhead-3.08-0.el9.1sunshine.aarch64 Wrote: /builddir/build/RPMS/jhead-3.08-0.el9.1sunshine.aarch64.rpm Wrote: /builddir/build/RPMS/jhead-debuginfo-3.08-0.el9.1sunshine.aarch64.rpm Wrote: /builddir/build/RPMS/jhead-debugsource-3.08-0.el9.1sunshine.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZL3iMF + umask 022 + cd /builddir/build/BUILD + cd jhead-3.08 + /usr/bin/rm -rf /builddir/build/BUILDROOT/jhead-3.08-0.el9.1sunshine.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0