Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/crash-trace-command.spec'], chrootPath='/var/lib/mock/dist-circle8-build-30699-5213/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=992gid=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-trace-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 warning: bogus date in %changelog: Tue Apr 28 2019 Dave Anderson - 2.0-16 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/crash-trace-command-2.0-17.el8.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-trace-command.spec'], chrootPath='/var/lib/mock/dist-circle8-build-30699-5213/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=992gid=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-trace-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 warning: bogus date in %changelog: Tue Apr 28 2019 Dave Anderson - 2.0-16 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Hx67b1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf crash-trace-command-2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/crash-trace-command-2.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd crash-trace-command-2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (trace_compiler_warnings.patch):' Patch #0 (trace_compiler_warnings.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix trace_compiler_warnings.patch --fuzz=0 patching file trace.c Patch #1 (replace_obsolete_init_and_fini.patch): + echo 'Patch #1 (replace_obsolete_init_and_fini.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix replace_obsolete_init_and_fini.patch --fuzz=0 patching file trace.c Patch #2 (sigsegv_on_calloc_failure.patch): + echo 'Patch #2 (sigsegv_on_calloc_failure.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix sigsegv_on_calloc_failure.patch --fuzz=0 patching file trace.c Patch #3 (initialize_trace_dat.patch): + echo 'Patch #3 (initialize_trace_dat.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix initialize_trace_dat.patch --fuzz=0 patching file trace.c Patch #4 (ARM64.patch): + echo 'Patch #4 (ARM64.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix ARM64.patch --fuzz=0 patching file Makefile Patch #5 (linux_3.10_support.patch): + echo 'Patch #5 (linux_3.10_support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix linux_3.10_support.patch --fuzz=0 patching file trace.c Patch #6 (ppc64le.patch): + echo 'Patch #6 (ppc64le.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix ppc64le.patch --fuzz=0 patching file Makefile Patch #7 (linux_4.2_support.patch): + echo 'Patch #7 (linux_4.2_support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix linux_4.2_support.patch --fuzz=0 patching file trace.c Patch #8 (TRACE_EVENT_FL_TRACEPOINT_flag.patch): + echo 'Patch #8 (TRACE_EVENT_FL_TRACEPOINT_flag.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix TRACE_EVENT_FL_TRACEPOINT_flag.patch --fuzz=0 patching file trace.c Patch #9 (big_endian_nr_pages.patch): + echo 'Patch #9 (big_endian_nr_pages.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix big_endian_nr_pages.patch --fuzz=0 patching file trace.c Patch #10 (ppc64_ring_buffer_read.patch): + echo 'Patch #10 (ppc64_ring_buffer_read.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix ppc64_ring_buffer_read.patch --fuzz=0 patching file trace.c Patch #11 (rhel8_build.patch): + echo 'Patch #11 (rhel8_build.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix rhel8_build.patch --fuzz=0 patching file Makefile Patch #12 (ftrace_event_call_rh_data.patch): + echo 'Patch #12 (ftrace_event_call_rh_data.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix ftrace_event_call_rh_data.patch --fuzz=0 patching file trace.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KvtSLB + umask 022 + cd /builddir/build/BUILD + cd crash-trace-command-2.0 + make 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 -nostartfiles -shared -rdynamic -o trace.so trace.c -fPIC -DX86_64 -Wl,-z,now trace.c: In function 'populate_ftrace_dir_tree.part.8': trace.c:792:35: warning: '/cpu' directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(path, sizeof(path), "%s/cpu%d", per_cpu_path, i); ^~~~ trace.c:792:32: note: directive argument in the range [0, 2147483647] snprintf(path, sizeof(path), "%s/cpu%d", per_cpu_path, i); ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/crash/defs.h:21, from trace.c:14: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 4110 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace.c:796:35: warning: '/cpu' directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(path, sizeof(path), "%s/cpu%d/trace_pipe_raw", ^~~~ trace.c:796:32: note: directive argument in the range [0, 2147483647] snprintf(path, sizeof(path), "%s/cpu%d/trace_pipe_raw", ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/crash/defs.h:21, from trace.c:14: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 21 and 4125 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace.c:1540:38: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(path, sizeof(path), "%s/%s", events_path, t->system); ^ In file included from /usr/include/stdio.h:873, from /usr/include/crash/defs.h:21, from trace.c:14: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace.c:1544:38: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(path, sizeof(path), "%s/%s/%s", events_path, ^ In file included from /usr/include/stdio.h:873, from /usr/include/crash/defs.h:21, from trace.c:14: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 3 or more bytes (assuming 4098) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace.c:1465:48: warning: '/format' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(format_path, sizeof(format_path), "%s/format", path); ^~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/crash/defs.h:21, from trace.c:14: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tQ7lNe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/crash-trace-command-2.0-17.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/crash-trace-command-2.0-17.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/crash-trace-command-2.0-17.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/crash-trace-command-2.0-17.el8.x86_64 + cd crash-trace-command-2.0 + mkdir -p /builddir/build/BUILDROOT/crash-trace-command-2.0-17.el8.x86_64/usr/lib64/crash/extensions/ + cp /builddir/build/BUILD/crash-trace-command-2.0/trace.so /builddir/build/BUILDROOT/crash-trace-command-2.0-17.el8.x86_64/usr/lib64/crash/extensions/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 2.0-17.el8 --unique-debug-suffix -2.0-17.el8.x86_64 --unique-debug-src-base crash-trace-command-2.0-17.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/crash-trace-command-2.0 extracting debug info from /builddir/build/BUILDROOT/crash-trace-command-2.0-17.el8.x86_64/usr/lib64/crash/extensions/trace.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 113 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 *** WARNING: ./usr/src/debug/crash-trace-command-2.0-17.el8.x86_64/trace.c is executable but has no shebang, removing executable bit Processing files: crash-trace-command-2.0-17.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sSZxtS + umask 022 + cd /builddir/build/BUILD + cd crash-trace-command-2.0 + DOCDIR=/builddir/build/BUILDROOT/crash-trace-command-2.0-17.el8.x86_64/usr/share/doc/crash-trace-command + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/crash-trace-command-2.0-17.el8.x86_64/usr/share/doc/crash-trace-command + cp -pr COPYING /builddir/build/BUILDROOT/crash-trace-command-2.0-17.el8.x86_64/usr/share/doc/crash-trace-command + exit 0 warning: Ignoring invalid regex ^%{_scl_prefix}/.*|%{_root_sysconfdir}/rpm/macros.gcc-toolset-10-config$ warning: Ignoring invalid regex ^%{_root_sysconfdir}/rpm/macros.gcc-toolset-10-config$ Provides: crash-trace-command = 2.0-17.el8 crash-trace-command(x86-64) = 2.0-17.el8 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.14)(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-trace-command-debugsource-2.0-17.el8.x86_64 warning: Ignoring invalid regex ^%{_scl_prefix}/.*|%{_root_sysconfdir}/rpm/macros.gcc-toolset-10-config$ warning: Ignoring invalid regex ^%{_root_sysconfdir}/rpm/macros.gcc-toolset-10-config$ Provides: crash-trace-command-debugsource = 2.0-17.el8 crash-trace-command-debugsource(x86-64) = 2.0-17.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: crash-trace-command-debuginfo-2.0-17.el8.x86_64 warning: Ignoring invalid regex ^%{_scl_prefix}/.*|%{_root_sysconfdir}/rpm/macros.gcc-toolset-10-config$ warning: Ignoring invalid regex ^%{_root_sysconfdir}/rpm/macros.gcc-toolset-10-config$ Provides: crash-trace-command-debuginfo = 2.0-17.el8 crash-trace-command-debuginfo(x86-64) = 2.0-17.el8 debuginfo(build-id) = 23072e6dec0c235f9a3421aafa780ad1d1af9bdd Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: crash-trace-command-debugsource(x86-64) = 2.0-17.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/crash-trace-command-2.0-17.el8.x86_64 Wrote: /builddir/build/RPMS/crash-trace-command-2.0-17.el8.x86_64.rpm Wrote: /builddir/build/RPMS/crash-trace-command-debugsource-2.0-17.el8.x86_64.rpm Wrote: /builddir/build/RPMS/crash-trace-command-debuginfo-2.0-17.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xPVWpw + umask 022 + cd /builddir/build/BUILD + cd crash-trace-command-2.0 + rm -rf /builddir/build/BUILDROOT/crash-trace-command-2.0-17.el8.x86_64 + exit 0 Child return code was: 0