Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/crash-trace-command.spec'], chrootPath='/var/lib/mock/dist-oc9-build-49875-14595/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 --noclean --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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/crash-trace-command-3.0-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/crash-trace-command.spec'], chrootPath='/var/lib/mock/dist-oc9-build-49875-14595/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 --noclean --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 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fJRh5n + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf crash-trace-3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/crash-trace-command-3.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd crash-trace-3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Makefile-set-DT_SONAME-to-trace.so.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/0002-Makefile-fix-build-failure-on-aarch64-and-ppc64le.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jRTNGD + umask 022 + cd /builddir/build/BUILD + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd crash-trace-3.0 + /usr/bin/make -O -j32 V=1 VERBOSE=1 gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -I/usr/include/crash -nostartfiles -shared -rdynamic -Wl,-soname,trace.so -o trace.so trace.c -fPIC -DX86_64 trace.c: In function 'populate_ftrace_dir_tree': trace.c:842:49: warning: '/cpu' directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 842 | snprintf(path, sizeof(path), "%s/cpu%d", per_cpu_path, i); | ^~~~ In function 'ftrace_dump_buffers', inlined from 'populate_ftrace_dir_tree' at trace.c:1684:6: trace.c:842:46: note: directive argument in the range [0, 2147483646] 842 | snprintf(path, sizeof(path), "%s/cpu%d", per_cpu_path, i); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:894, from /usr/include/crash/defs.h:22, from trace.c:14: In function 'snprintf', inlined from 'ftrace_dump_buffers' at trace.c:842:3, inlined from 'populate_ftrace_dir_tree' at trace.c:1684:6: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 6 and 4110 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ trace.c: In function 'populate_ftrace_dir_tree': trace.c:846:49: warning: '/cpu' directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 846 | snprintf(path, sizeof(path), "%s/cpu%d/trace_pipe_raw", | ^~~~ In function 'ftrace_dump_buffers', inlined from 'populate_ftrace_dir_tree' at trace.c:1684:6: trace.c:846:46: note: directive argument in the range [0, 2147483646] 846 | snprintf(path, sizeof(path), "%s/cpu%d/trace_pipe_raw", | ^~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ftrace_dump_buffers' at trace.c:846:3, inlined from 'populate_ftrace_dir_tree' at trace.c:1684:6: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 21 and 4125 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ trace.c: In function 'populate_ftrace_dir_tree': trace.c:1590:52: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1590 | snprintf(path, sizeof(path), "%s/%s", events_path, t->system); | ^ In function 'snprintf', inlined from 'ftrace_dump_event_types' at trace.c:1590:3, inlined from 'populate_ftrace_dir_tree' at trace.c:1693:7: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ trace.c: In function 'populate_ftrace_dir_tree': trace.c:1594:52: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 1594 | snprintf(path, sizeof(path), "%s/%s/%s", events_path, | ^ In function 'snprintf', inlined from 'ftrace_dump_event_types' at trace.c:1594:3, inlined from 'populate_ftrace_dir_tree' at trace.c:1693:7: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output 3 or more bytes (assuming 4098) into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ trace.c: In function 'populate_ftrace_dir_tree': trace.c:1515:55: warning: '/format' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 1515 | snprintf(format_path, sizeof(format_path), "%s/format", path); | ^~~~~~~ In function 'snprintf', inlined from 'ftrace_dump_event_type' at trace.c:1515:2, inlined from 'ftrace_dump_event_types' at trace.c:1599:7, inlined from 'populate_ftrace_dir_tree' at trace.c:1693:7: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 8 and 4103 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ + RPM_EC=0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.96yLAx ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/crash-trace-command-3.0-3.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/crash-trace-command-3.0-3.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/crash-trace-command-3.0-3.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/crash-trace-command-3.0-3.oc9.x86_64 + cd crash-trace-3.0 + install -Dm 0755 /builddir/build/BUILD/crash-trace-3.0/trace.so /builddir/build/BUILDROOT/crash-trace-command-3.0-3.oc9.x86_64/usr/lib64/crash/extensions/trace.so + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.0-3.oc9 --unique-debug-suffix -3.0-3.oc9.x86_64 --unique-debug-src-base crash-trace-command-3.0-3.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/crash-trace-3.0 extracting debug info from /builddir/build/BUILDROOT/crash-trace-command-3.0-3.oc9.x86_64/usr/lib64/crash/extensions/trace.so Support for debuginfod is not compiled into GDB. 116 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: crash-trace-command-3.0-3.oc9.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.GQD2Gu + umask 022 + cd /builddir/build/BUILD + cd crash-trace-3.0 + LICENSEDIR=/builddir/build/BUILDROOT/crash-trace-command-3.0-3.oc9.x86_64/usr/share/licenses/crash-trace-command + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/crash-trace-command-3.0-3.oc9.x86_64/usr/share/licenses/crash-trace-command + cp -pr COPYING /builddir/build/BUILDROOT/crash-trace-command-3.0-3.oc9.x86_64/usr/share/licenses/crash-trace-command + RPM_EC=0 ++ jobs -p + exit 0 Provides: crash-trace-command = 3.0-3.oc9 crash-trace-command(x86-64) = 3.0-3.oc9 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-trace-command-debugsource-3.0-3.oc9.x86_64 Provides: crash-trace-command-debugsource = 3.0-3.oc9 crash-trace-command-debugsource(x86-64) = 3.0-3.oc9 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-3.0-3.oc9.x86_64 Provides: crash-trace-command-debuginfo = 3.0-3.oc9 crash-trace-command-debuginfo(x86-64) = 3.0-3.oc9 debuginfo(build-id) = 397aaec52c5cbe43ebe62dcc36ea61f8324b991b 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) = 3.0-3.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/crash-trace-command-3.0-3.oc9.x86_64 Wrote: /builddir/build/RPMS/crash-trace-command-debugsource-3.0-3.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/crash-trace-command-3.0-3.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/crash-trace-command-debuginfo-3.0-3.oc9.x86_64.rpm Child return code was: 0