Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/jhead.spec'], chrootPath='/var/lib/mock/epel9-build-56126035-6540850/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u5jhz38e:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --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'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1666051200 Wrote: /builddir/build/SRPMS/jhead-3.06.0.1-5.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/jhead.spec'], chrootPath='/var/lib/mock/epel9-build-56126035-6540850/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u5jhz38e:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --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'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1666051200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IQLGJy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jhead-3.06.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/jhead-3.06.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jhead-3.06.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (almost-57.patch): + echo 'Patch #0 (almost-57.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jhead.c patching file jhead.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gfvEzo + umask 022 + cd /builddir/build/BUILD + cd jhead-3.06.0.1 + make -j8 '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 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' make: dpkg-buildflags: No such file or directory make: dpkg-buildflags: No such file or directory 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 -m64 -mcpu=power9 -mtune=power9 -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 -m64 -mcpu=power9 -mtune=power9 -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 -m64 -mcpu=power9 -mtune=power9 -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 -m64 -mcpu=power9 -mtune=power9 -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 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c exif.c -o obj/exif.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 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c iptc.c -o obj/iptc.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 -m64 -mcpu=power9 -mtune=power9 -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 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c makernote.c -o obj/makernote.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; | ^~~~~~~~~~~~~ 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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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/ccGULBwt.ltrans0.ltrans.o: in function `DoCommand': /builddir/build/BUILD/jhead-3.06.0.1/jhead.c:380: 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.tayd9q + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jhead-3.06.0.1-5.el9.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jhead-3.06.0.1-5.el9.ppc64le ++ dirname /builddir/build/BUILDROOT/jhead-3.06.0.1-5.el9.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jhead-3.06.0.1-5.el9.ppc64le + cd jhead-3.06.0.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.06.0.1-5.el9.ppc64le//usr/bin + cp -p jhead /builddir/build/BUILDROOT/jhead-3.06.0.1-5.el9.ppc64le//usr/bin + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.06.0.1-5.el9.ppc64le//usr/share/man/man1/ + cp -p jhead.1 /builddir/build/BUILDROOT/jhead-3.06.0.1-5.el9.ppc64le//usr/share/man/man1/ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 3.06.0.1-5.el9 --unique-debug-suffix -3.06.0.1-5.el9.ppc64le --unique-debug-src-base jhead-3.06.0.1-5.el9.ppc64le --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.06.0.1 extracting debug info from /builddir/build/BUILDROOT/jhead-3.06.0.1-5.el9.ppc64le/usr/bin/jhead original debug info size: 200kB, size after compression: 184kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 387 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 *** WARNING: ./usr/src/debug/jhead-3.06.0.1-5.el9.ppc64le/exif.c is executable but has no shebang, removing executable bit Processing files: jhead-3.06.0.1-5.el9.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iJjou2 + umask 022 + cd /builddir/build/BUILD + cd jhead-3.06.0.1 + DOCDIR=/builddir/build/BUILDROOT/jhead-3.06.0.1-5.el9.ppc64le/usr/share/doc/jhead + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.06.0.1-5.el9.ppc64le/usr/share/doc/jhead + cp -pr readme.txt /builddir/build/BUILDROOT/jhead-3.06.0.1-5.el9.ppc64le/usr/share/doc/jhead + cp -pr usage.html /builddir/build/BUILDROOT/jhead-3.06.0.1-5.el9.ppc64le/usr/share/doc/jhead + cp -pr changes.txt /builddir/build/BUILDROOT/jhead-3.06.0.1-5.el9.ppc64le/usr/share/doc/jhead + RPM_EC=0 ++ jobs -p + exit 0 Provides: jhead = 3.06.0.1-5.el9 jhead(ppc-64) = 3.06.0.1-5.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: 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.06.0.1-5.el9.ppc64le Provides: jhead-debugsource = 3.06.0.1-5.el9 jhead-debugsource(ppc-64) = 3.06.0.1-5.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: jhead-debuginfo-3.06.0.1-5.el9.ppc64le Provides: debuginfo(build-id) = e1ac804f6e5268a55a81adee001f2c3e299c38a4 jhead-debuginfo = 3.06.0.1-5.el9 jhead-debuginfo(ppc-64) = 3.06.0.1-5.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: jhead-debugsource(ppc-64) = 3.06.0.1-5.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jhead-3.06.0.1-5.el9.ppc64le Wrote: /builddir/build/RPMS/jhead-3.06.0.1-5.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/jhead-debuginfo-3.06.0.1-5.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/jhead-debugsource-3.06.0.1-5.el9.ppc64le.rpm Child return code was: 0