Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/crash-trace-command.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-197086-60923/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/crash-trace-command-3.0-6.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/crash-trace-command.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-197086-60923/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CROSGa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf crash-trace-3.0 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/crash-trace-command-3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd crash-trace-3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-Makefile-set-DT_SONAME-to-trace.so.patch + /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 + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1000-support-loongarch64.patch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KVL7K6 + umask 022 + cd /builddir/build/BUILD + cd crash-trace-3.0 + /usr/bin/make -O -j4 gcc -O2 -g -Wall -I/usr/include/crash -nostartfiles -shared -rdynamic -Wl,-z,now -Wl,-soname,trace.so -o trace.so trace.c -fPIC -Dloongarch64 trace.c: In function 'populate_ftrace_dir_tree.part.8': trace.c:842: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:842:32: note: directive argument in the range [0, 2147483647] snprintf(path, sizeof(path), "%s/cpu%d", per_cpu_path, i); ^~~~~~~~~~ trace.c:842:3: note: 'snprintf' output between 6 and 4110 bytes into a destination of size 4096 snprintf(path, sizeof(path), "%s/cpu%d", per_cpu_path, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace.c:846: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:846:32: note: directive argument in the range [0, 2147483647] snprintf(path, sizeof(path), "%s/cpu%d/trace_pipe_raw", ^~~~~~~~~~~~~~~~~~~~~~~~~ trace.c:846:3: note: 'snprintf' output between 21 and 4125 bytes into a destination of size 4096 snprintf(path, sizeof(path), "%s/cpu%d/trace_pipe_raw", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ per_cpu_path, i); ~~~~~~~~~~~~~~~~ trace.c:1590:38: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(path, sizeof(path), "%s/%s", events_path, t->system); ^ trace.c:1590:3: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 snprintf(path, sizeof(path), "%s/%s", events_path, t->system); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace.c:1594: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, ^ trace.c:1594:3: note: 'snprintf' output 3 or more bytes (assuming 4098) into a destination of size 4096 snprintf(path, sizeof(path), "%s/%s/%s", events_path, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ t->system, t->name); ~~~~~~~~~~~~~~~~~~~ trace.c:1515: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); ^~~~~~~ trace.c:1515:2: note: 'snprintf' output between 8 and 4103 bytes into a destination of size 4096 snprintf(format_path, sizeof(format_path), "%s/format", path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4DkHeb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/crash-trace-command-3.0-6.0.1.an8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/crash-trace-command-3.0-6.0.1.an8.loongarch64 ++ dirname /builddir/build/BUILDROOT/crash-trace-command-3.0-6.0.1.an8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/crash-trace-command-3.0-6.0.1.an8.loongarch64 + cd crash-trace-3.0 + install -m 0755 -d /builddir/build/BUILDROOT/crash-trace-command-3.0-6.0.1.an8.loongarch64/usr/lib64/crash/extensions + install -m 0755 -t /builddir/build/BUILDROOT/crash-trace-command-3.0-6.0.1.an8.loongarch64/usr/lib64/crash/extensions /builddir/build/BUILD/crash-trace-3.0/trace.so + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.0-6.0.1.an8 --unique-debug-suffix -3.0-6.0.1.an8.loongarch64 --unique-debug-src-base crash-trace-command-3.0-6.0.1.an8.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/crash-trace-3.0 extracting debug info from /builddir/build/BUILDROOT/crash-trace-command-3.0-6.0.1.an8.loongarch64/usr/lib64/crash/extensions/trace.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 116 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-trace-command-3.0-6.0.1.an8.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XGbPA7 + umask 022 + cd /builddir/build/BUILD + cd crash-trace-3.0 + LICENSEDIR=/builddir/build/BUILDROOT/crash-trace-command-3.0-6.0.1.an8.loongarch64/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-6.0.1.an8.loongarch64/usr/share/licenses/crash-trace-command + cp -pr COPYING /builddir/build/BUILDROOT/crash-trace-command-3.0-6.0.1.an8.loongarch64/usr/share/licenses/crash-trace-command + exit 0 Provides: crash-trace-command = 3.0-6.0.1.an8 crash-trace-command(loongarch-64) = 3.0-6.0.1.an8 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.27)(64bit) Processing files: crash-trace-command-debugsource-3.0-6.0.1.an8.loongarch64 Provides: crash-trace-command-debugsource = 3.0-6.0.1.an8 crash-trace-command-debugsource(loongarch-64) = 3.0-6.0.1.an8 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-6.0.1.an8.loongarch64 Provides: crash-trace-command-debuginfo = 3.0-6.0.1.an8 crash-trace-command-debuginfo(loongarch-64) = 3.0-6.0.1.an8 debuginfo(build-id) = 3ce669e95d6b5f3a978054ac2ab4f2b1201f8f6f Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: crash-trace-command-debugsource(loongarch-64) = 3.0-6.0.1.an8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/crash-trace-command-3.0-6.0.1.an8.loongarch64 Wrote: /builddir/build/RPMS/crash-trace-command-3.0-6.0.1.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/crash-trace-command-debugsource-3.0-6.0.1.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/crash-trace-command-debuginfo-3.0-6.0.1.an8.loongarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9ZpXLX + umask 022 + cd /builddir/build/BUILD + cd crash-trace-3.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/crash-trace-command-3.0-6.0.1.an8.loongarch64 + exit 0 Child return code was: 0