Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/crash-ptdump-command.spec'], chrootPath='/var/lib/mock/dist-oc8-build-32609-9797/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/crash-ptdump-command.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/crash-ptdump-command-1.0.7-2.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/crash-ptdump-command.spec'], chrootPath='/var/lib/mock/dist-oc8-build-32609-9797/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/crash-ptdump-command.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xQcKpm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ptdump-1.0.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/ptdump-1.0.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ptdump-1.0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (rhel8_build.patch):' Patch #0 (rhel8_build.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix rhel8_build.patch --fuzz=0 patching file ptdump.mk Patch #1 (0001-Fix-for-the-topa_entry-issue.patch): + echo 'Patch #1 (0001-Fix-for-the-topa_entry-issue.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ptdump.c Patch #2 (0002-Fix-for-the-invalid-ring_buffer-issue.patch): + echo 'Patch #2 (0002-Fix-for-the-invalid-ring_buffer-issue.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ptdump.c Patch #3 (0003-Do-not-dump-on-the-Single-Range-Output-mode.patch): + echo 'Patch #3 (0003-Do-not-dump-on-the-Single-Range-Output-mode.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ptdump.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KCt3tl + umask 022 + cd /builddir/build/BUILD + cd ptdump-1.0.7 + make -f ptdump.mk gcc -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -I/usr/include/crash -fPIC -DX86_64 -nostartfiles -shared -rdynamic -o ptdump.so ptdump/fastdecode.c ptdump/map.c ptdump.c -Wl,-z,now ptdump.c: In function 'cmd_ptdump': ptdump.c:606:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(".."); ^~~~~~~~~~~ ptdump.c:597:31: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(decodefile, "decode.%d", i); ^~ ptdump.c:597:23: note: directive argument in the range [0, 2147483647] sprintf(decodefile, "decode.%d", i); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/crash/defs.h:21, from ptdump.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 18 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.z0hepm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/crash-ptdump-command-1.0.7-2.oc8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/crash-ptdump-command-1.0.7-2.oc8.x86_64 ++ dirname /builddir/build/BUILDROOT/crash-ptdump-command-1.0.7-2.oc8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/crash-ptdump-command-1.0.7-2.oc8.x86_64 + cd ptdump-1.0.7 + rm -Rf /builddir/build/BUILDROOT/crash-ptdump-command-1.0.7-2.oc8.x86_64 + mkdir -p /builddir/build/BUILDROOT/crash-ptdump-command-1.0.7-2.oc8.x86_64/usr/lib64/crash/extensions/ + cp /builddir/build/BUILD/ptdump-1.0.7/ptdump.so /builddir/build/BUILDROOT/crash-ptdump-command-1.0.7-2.oc8.x86_64/usr/lib64/crash/extensions/ + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 1.0.7-2.oc8 --unique-debug-suffix -1.0.7-2.oc8.x86_64 --unique-debug-src-base crash-ptdump-command-1.0.7-2.oc8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/ptdump-1.0.7 extracting debug info from /builddir/build/BUILDROOT/crash-ptdump-command-1.0.7-2.oc8.x86_64/usr/lib64/crash/extensions/ptdump.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 48 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: crash-ptdump-command-1.0.7-2.oc8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OJS1yK + umask 022 + cd /builddir/build/BUILD + cd ptdump-1.0.7 + DOCDIR=/builddir/build/BUILDROOT/crash-ptdump-command-1.0.7-2.oc8.x86_64/usr/share/doc/crash-ptdump-command + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/crash-ptdump-command-1.0.7-2.oc8.x86_64/usr/share/doc/crash-ptdump-command + cp -pr COPYING /builddir/build/BUILDROOT/crash-ptdump-command-1.0.7-2.oc8.x86_64/usr/share/doc/crash-ptdump-command + exit 0 Provides: crash-ptdump-command = 1.0.7-2.oc8 crash-ptdump-command(x86-64) = 1.0.7-2.oc8 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.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: crash-ptdump-command-debugsource-1.0.7-2.oc8.x86_64 Provides: crash-ptdump-command-debugsource = 1.0.7-2.oc8 crash-ptdump-command-debugsource(x86-64) = 1.0.7-2.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: crash-ptdump-command-debuginfo-1.0.7-2.oc8.x86_64 Provides: crash-ptdump-command-debuginfo = 1.0.7-2.oc8 crash-ptdump-command-debuginfo(x86-64) = 1.0.7-2.oc8 debuginfo(build-id) = 4350cc44feab6ed86a95eb66557310c767a9dac6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: crash-ptdump-command-debugsource(x86-64) = 1.0.7-2.oc8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/crash-ptdump-command-1.0.7-2.oc8.x86_64 Wrote: /builddir/build/RPMS/crash-ptdump-command-1.0.7-2.oc8.x86_64.rpm Wrote: /builddir/build/RPMS/crash-ptdump-command-debugsource-1.0.7-2.oc8.x86_64.rpm Wrote: /builddir/build/RPMS/crash-ptdump-command-debuginfo-1.0.7-2.oc8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yLJHiD + umask 022 + cd /builddir/build/BUILD + cd ptdump-1.0.7 + rm -rf /builddir/build/BUILDROOT/crash-ptdump-command-1.0.7-2.oc8.x86_64 + rm -Rf /builddir/build/BUILDROOT/crash-ptdump-command-1.0.7-2.oc8.x86_64 + exit 0 Child return code was: 0