Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/crash-gcore-command.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-189988-12842/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/crash-gcore-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-gcore-command-1.6.4-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/crash-gcore-command.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-189988-12842/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/crash-gcore-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.30cSxj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf crash-gcore-1.6.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/crash-gcore-command-1.6.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd crash-gcore-1.6.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/crash-gcore-1.6.4-coredump-fix-building-failure-due-to-undefined-macro.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/crash-gcore-command-1.6.4-add-support-for-loongarch64.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.loIW3q + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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-gcore-1.6.4 + /usr/bin/make -O -j32 V=1 VERBOSE=1 -C src -f gcore.mk make: Entering directory '/builddir/build/BUILD/crash-gcore-1.6.4/src' make[1]: Entering directory '/builddir/build/BUILD/crash-gcore-1.6.4/src' 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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/crash -I./libgcore -fPIC -Dloongarch64 -DVERSION='"1.6.4"' -DRELEASE_DATE='"28 Feb 2023"' -DPERIOD='"2010-2023"' -c -o libgcore/gcore_global_data.o libgcore/gcore_global_data.c make[1]: Leaving directory '/builddir/build/BUILD/crash-gcore-1.6.4/src' make[1]: Entering directory '/builddir/build/BUILD/crash-gcore-1.6.4/src' 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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/crash -I./libgcore -fPIC -Dloongarch64 -DVERSION='"1.6.4"' -DRELEASE_DATE='"28 Feb 2023"' -DPERIOD='"2010-2023"' -c -o libgcore/gcore_regset.o libgcore/gcore_regset.c make[1]: Leaving directory '/builddir/build/BUILD/crash-gcore-1.6.4/src' make[1]: Entering directory '/builddir/build/BUILD/crash-gcore-1.6.4/src' 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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/crash -I./libgcore -fPIC -Dloongarch64 -DVERSION='"1.6.4"' -DRELEASE_DATE='"28 Feb 2023"' -DPERIOD='"2010-2023"' -c -o libgcore/gcore_verbose.o libgcore/gcore_verbose.c make[1]: Leaving directory '/builddir/build/BUILD/crash-gcore-1.6.4/src' make[1]: Entering directory '/builddir/build/BUILD/crash-gcore-1.6.4/src' 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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/crash -I./libgcore -fPIC -Dloongarch64 -DVERSION='"1.6.4"' -DRELEASE_DATE='"28 Feb 2023"' -DPERIOD='"2010-2023"' -c -o libgcore/gcore_dumpfilter.o libgcore/gcore_dumpfilter.c make[1]: Leaving directory '/builddir/build/BUILD/crash-gcore-1.6.4/src' make[1]: Entering directory '/builddir/build/BUILD/crash-gcore-1.6.4/src' 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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/crash -I./libgcore -fPIC -Dloongarch64 -DVERSION='"1.6.4"' -DRELEASE_DATE='"28 Feb 2023"' -DPERIOD='"2010-2023"' -c -o libgcore/gcore_elf_struct.o libgcore/gcore_elf_struct.c make[1]: Leaving directory '/builddir/build/BUILD/crash-gcore-1.6.4/src' make[1]: Entering directory '/builddir/build/BUILD/crash-gcore-1.6.4/src' 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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/crash -I./libgcore -fPIC -Dloongarch64 -DVERSION='"1.6.4"' -DRELEASE_DATE='"28 Feb 2023"' -DPERIOD='"2010-2023"' -c -o libgcore/gcore_coredump_table.o libgcore/gcore_coredump_table.c make[1]: Leaving directory '/builddir/build/BUILD/crash-gcore-1.6.4/src' make[1]: Entering directory '/builddir/build/BUILD/crash-gcore-1.6.4/src' 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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/crash -I./libgcore -fPIC -Dloongarch64 -DVERSION='"1.6.4"' -DRELEASE_DATE='"28 Feb 2023"' -DPERIOD='"2010-2023"' -c -o libgcore/gcore_coredump.o libgcore/gcore_coredump.c make[1]: Leaving directory '/builddir/build/BUILD/crash-gcore-1.6.4/src' make: Leaving directory '/builddir/build/BUILD/crash-gcore-1.6.4/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.v6svD1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/crash-gcore-command-1.6.4-3.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/crash-gcore-command-1.6.4-3.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/crash-gcore-command-1.6.4-3.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/crash-gcore-command-1.6.4-3.ocs23.loongarch64 + cd crash-gcore-1.6.4 + install -Dm 0755 /builddir/build/BUILD/crash-gcore-1.6.4/src/gcore.so /builddir/build/BUILDROOT/crash-gcore-command-1.6.4-3.ocs23.loongarch64/usr/lib64/crash/extensions/gcore.so + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.6.4-3.ocs23 --unique-debug-suffix -1.6.4-3.ocs23.loongarch64 --unique-debug-src-base crash-gcore-command-1.6.4-3.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/crash-gcore-1.6.4 extracting debug info from /builddir/build/BUILDROOT/crash-gcore-command-1.6.4-3.ocs23.loongarch64/usr/lib64/crash/extensions/gcore.so 257 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-gcore-command-1.6.4-3.ocs23.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.zbmyYD + umask 022 + cd /builddir/build/BUILD + cd crash-gcore-1.6.4 + LICENSEDIR=/builddir/build/BUILDROOT/crash-gcore-command-1.6.4-3.ocs23.loongarch64/usr/share/licenses/crash-gcore-command + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/crash-gcore-command-1.6.4-3.ocs23.loongarch64/usr/share/licenses/crash-gcore-command + cp -pr COPYING /builddir/build/BUILDROOT/crash-gcore-command-1.6.4-3.ocs23.loongarch64/usr/share/licenses/crash-gcore-command + RPM_EC=0 ++ jobs -p + exit 0 Provides: crash-gcore-command = 1.6.4-3.ocs23 crash-gcore-command(loongarch-64) = 1.6.4-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) rtld(GNU_HASH) Processing files: crash-gcore-command-debugsource-1.6.4-3.ocs23.loongarch64 Provides: crash-gcore-command-debugsource = 1.6.4-3.ocs23 crash-gcore-command-debugsource(loongarch-64) = 1.6.4-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: crash-gcore-command-debuginfo-1.6.4-3.ocs23.loongarch64 Provides: crash-gcore-command-debuginfo = 1.6.4-3.ocs23 crash-gcore-command-debuginfo(loongarch-64) = 1.6.4-3.ocs23 debuginfo(build-id) = 049e194aa5d7066cf582a72bbdea57e6f750782d Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: crash-gcore-command-debugsource(loongarch-64) = 1.6.4-3.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/crash-gcore-command-1.6.4-3.ocs23.loongarch64 Wrote: /builddir/build/RPMS/crash-gcore-command-1.6.4-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/crash-gcore-command-debugsource-1.6.4-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/crash-gcore-command-debuginfo-1.6.4-3.ocs23.loongarch64.rpm Child return code was: 0