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/gcc.spec'], chrootPath='/var/lib/mock/dist-an23-build-357571-71155/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=988gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/gcc.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: line 157: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap libmudflap-devel libmudflap-static warning: %patchN is deprecated (15 usages found), use %patch N (or %patch -P N) Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1709769600 Wrote: /builddir/build/SRPMS/gcc-12.3.0-1.an23.src.rpm RPM build warnings: line 157: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap libmudflap-devel libmudflap-static %patchN is deprecated (15 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/gcc.spec'], chrootPath='/var/lib/mock/dist-an23-build-357571-71155/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=988gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/gcc.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: line 157: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap libmudflap-devel libmudflap-static warning: %patchN is deprecated (15 usages found), use %patch N (or %patch -P N) Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1709769600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VWTd3m + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gcc-releases-gcc-12.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gcc-12.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gcc-releases-gcc-12.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nvptx-tools-472b6e78b3ba918d727698f79911360b7c808247.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/newlib-cygwin-a8526cb52bedabd4d6ba4b227a5185627f871aa1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/isl-0.24.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (gcc12-hack.patch):' Patch #0 (gcc12-hack.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file libada/Makefile.in Hunk #1 succeeded at 73 (offset 2 lines). Hunk #2 succeeded at 118 (offset 3 lines). patching file config-ml.in Hunk #1 succeeded at 522 (offset 11 lines). patching file libcpp/macro.cc Hunk #1 succeeded at 3572 (offset 316 lines). Hunk #2 succeeded at 3699 (offset 319 lines). Hunk #3 succeeded at 3716 (offset 319 lines). patching file libcpp/expr.cc Hunk #1 succeeded at 799 (offset -4 lines). Patch #1 (gcc12-libtool-no-rpath.patch): + echo 'Patch #1 (gcc12-libtool-no-rpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file ltmain.sh Hunk #1 succeeded at 7103 (offset 1709 lines). Hunk #2 succeeded at 7799 (offset 1727 lines). Hunk #3 succeeded at 7851 (offset 1729 lines). Patch #4 (gcc12-libstdc++-docs.patch): + echo 'Patch #4 (gcc12-libstdc++-docs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file libstdc++-v3/doc/html/index.html Hunk #1 succeeded at 4 (offset -1 lines). patching file libstdc++-v3/doc/html/api.html Patch #5 (gcc12-no-add-needed.patch): + echo 'Patch #5 (gcc12-no-add-needed.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file gcc/config/alpha/elf.h Hunk #1 succeeded at 142 (offset -26 lines). patching file gcc/config/ia64/linux.h Hunk #1 succeeded at 74 (offset -2 lines). patching file gcc/config/gnu-user.h Patch #6 (gcc12-Wno-format-security.patch): + echo 'Patch #6 (gcc12-Wno-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file gcc/configure.ac patching file gcc/configure Hunk #1 succeeded at 7080 (offset 3 lines). patching file Makefile.tpl patching file Makefile.in Patch #7 (gcc12-rh1574936.patch): + echo 'Patch #7 (gcc12-rh1574936.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file libgcc/Makefile.in Hunk #1 succeeded at 247 (offset 1 line). Hunk #2 succeeded at 303 (offset 1 line). Patch #8 (gcc12-d-shared-libphobos.patch): + echo 'Patch #8 (gcc12-d-shared-libphobos.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file gcc/d/d-spec.cc Hunk #1 succeeded at 426 (offset 18 lines). Patch #100 (gcc12-fortran-fdec-duplicates.patch): + echo 'Patch #100 (gcc12-fortran-fdec-duplicates.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gcc/fortran/lang.opt Hunk #1 succeeded at 482 (offset 13 lines). patching file gcc/fortran/options.cc patching file gcc/fortran/symbol.cc Hunk #1 succeeded at 2002 (offset 7 lines). Hunk #2 succeeded at 2016 (offset 7 lines). Hunk #3 succeeded at 2046 (offset 7 lines). patching file gcc/testsuite/gfortran.dg/duplicate_type_4.f90 patching file gcc/testsuite/gfortran.dg/duplicate_type_5.f90 patching file gcc/testsuite/gfortran.dg/duplicate_type_6.f90 patching file gcc/testsuite/gfortran.dg/duplicate_type_7.f90 patching file gcc/testsuite/gfortran.dg/duplicate_type_8.f90 patching file gcc/testsuite/gfortran.dg/duplicate_type_9.f90 Patch #101 (gcc12-fortran-flogical-as-integer.patch): + echo 'Patch #101 (gcc12-fortran-flogical-as-integer.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gcc/fortran/lang.opt Hunk #1 succeeded at 510 (offset 13 lines). patching file gcc/fortran/resolve.cc Hunk #1 succeeded at 4000 (offset 85 lines). Hunk #2 succeeded at 4059 (offset 85 lines). Hunk #3 succeeded at 4087 (offset 85 lines). Hunk #4 succeeded at 4194 (offset 91 lines). Hunk #5 succeeded at 4236 (offset 91 lines). Hunk #6 succeeded at 4294 (offset 92 lines). Hunk #7 succeeded at 4337 (offset 92 lines). patching file gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_1.f patching file gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_2.f patching file gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_3.f patching file gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_4.f Patch #102 (gcc12-fortran-fdec-override-kind.patch): + echo 'Patch #102 (gcc12-fortran-fdec-override-kind.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gcc/fortran/decl.cc Hunk #1 succeeded at 1216 (offset 3 lines). Hunk #2 succeeded at 2614 (offset 123 lines). Hunk #3 succeeded at 2653 (offset 123 lines). Hunk #4 succeeded at 2662 (offset 123 lines). Hunk #5 succeeded at 2723 (offset 123 lines). Hunk #6 succeeded at 2905 (offset 135 lines). Hunk #7 succeeded at 3012 (offset 135 lines). patching file gcc/fortran/lang.opt patching file gcc/fortran/options.cc patching file gcc/testsuite/gfortran.dg/dec_mixed_char_array_declaration_1.f patching file gcc/testsuite/gfortran.dg/dec_mixed_char_array_declaration_2.f patching file gcc/testsuite/gfortran.dg/dec_mixed_char_array_declaration_3.f patching file gcc/testsuite/gfortran.dg/dec_spec_in_variable_1.f patching file gcc/testsuite/gfortran.dg/dec_spec_in_variable_2.f patching file gcc/testsuite/gfortran.dg/dec_spec_in_variable_3.f patching file gcc/testsuite/gfortran.dg/dec_spec_in_variable_4.f patching file gcc/testsuite/gfortran.dg/dec_spec_in_variable_5.f patching file gcc/testsuite/gfortran.dg/dec_spec_in_variable_6.f patching file gcc/testsuite/gfortran.dg/dec_spec_in_variable_7.f patching file gcc/testsuite/gfortran.dg/dec_spec_in_variable_8.f Patch #103 (gcc12-fortran-fdec-non-logical-if.patch): + echo 'Patch #103 (gcc12-fortran-fdec-non-logical-if.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gcc/fortran/lang.opt patching file gcc/fortran/options.cc patching file gcc/fortran/resolve.cc Hunk #1 succeeded at 10919 (offset 130 lines). Hunk #2 succeeded at 12279 (offset 165 lines). patching file gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_1.f patching file gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_2.f patching file gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_3.f patching file gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_4.f patching file gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_5.f patching file gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_6.f Patch #104 (0001-LoongArch-backports-from-upstream.patch): + echo 'Patch #104 (0001-LoongArch-backports-from-upstream.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gcc/common/config/loongarch/loongarch-common.cc patching file gcc/config.gcc Hunk #1 FAILED at 4971. Hunk #2 FAILED at 5005. Hunk #3 FAILED at 5078. 3 out of 3 hunks FAILED -- saving rejects to file gcc/config.gcc.rej patching file gcc/config/host-linux.cc patching file gcc/config/loongarch/constraints.md patching file gcc/config/loongarch/genopts/loongarch-strings patching file gcc/config/loongarch/genopts/loongarch.opt.in patching file gcc/config/loongarch/gnu-user.h patching file gcc/config/loongarch/linux.h patching file gcc/config/loongarch/loongarch-def.c patching file gcc/config/loongarch/loongarch-def.h patching file gcc/config/loongarch/loongarch-opts.cc patching file gcc/config/loongarch/loongarch-opts.h patching file gcc/config/loongarch/loongarch-protos.h patching file gcc/config/loongarch/loongarch-str.h patching file gcc/config/loongarch/loongarch-tune.h patching file gcc/config/loongarch/loongarch.cc patching file gcc/config/loongarch/loongarch.h Hunk #2 FAILED at 687. Hunk #7 FAILED at 1163. 2 out of 7 hunks FAILED -- saving rejects to file gcc/config/loongarch/loongarch.h.rej patching file gcc/config/loongarch/loongarch.md patching file gcc/config/loongarch/loongarch.opt patching file gcc/config/loongarch/predicates.md patching file gcc/config/loongarch/t-linux Hunk #1 FAILED at 40. 1 out of 1 hunk FAILED -- saving rejects to file gcc/config/loongarch/t-linux.rej patching file gcc/configure Hunk #1 succeeded at 26298 (offset -5 lines). patching file gcc/configure.ac Hunk #1 succeeded at 4448 (offset -5 lines). patching file gcc/doc/extend.texi patching file gcc/doc/invoke.texi Hunk #2 succeeded at 24582 (offset 7 lines). patching file gcc/testsuite/g++.target/loongarch/bytepick.C patching file gcc/testsuite/g++.target/loongarch/pr106828.C patching file gcc/testsuite/gcc.target/loongarch/add-const.c patching file gcc/testsuite/gcc.target/loongarch/attr-model-1.c patching file gcc/testsuite/gcc.target/loongarch/attr-model-2.c patching file gcc/testsuite/gcc.target/loongarch/attr-model-diag.c patching file gcc/testsuite/gcc.target/loongarch/attr-model-test.c patching file gcc/testsuite/gcc.target/loongarch/direct-extern-1.c patching file gcc/testsuite/gcc.target/loongarch/direct-extern-2.c patching file gcc/testsuite/gcc.target/loongarch/div-1.c patching file gcc/testsuite/gcc.target/loongarch/div-2.c patching file gcc/testsuite/gcc.target/loongarch/div-3.c patching file gcc/testsuite/gcc.target/loongarch/div-4.c patching file gcc/testsuite/gcc.target/loongarch/fcopysign.c patching file gcc/testsuite/gcc.target/loongarch/flogb.c The next patch would create the file gcc/testsuite/gcc.target/loongarch/flt-abi-isa-1.c, which already exists! Applying it anyway. patching file gcc/testsuite/gcc.target/loongarch/flt-abi-isa-1.c Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file gcc/testsuite/gcc.target/loongarch/flt-abi-isa-1.c.rej The next patch would create the file gcc/testsuite/gcc.target/loongarch/flt-abi-isa-2.c, which already exists! Applying it anyway. patching file gcc/testsuite/gcc.target/loongarch/flt-abi-isa-2.c Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file gcc/testsuite/gcc.target/loongarch/flt-abi-isa-2.c.rej The next patch would create the file gcc/testsuite/gcc.target/loongarch/flt-abi-isa-3.c, which already exists! Applying it anyway. patching file gcc/testsuite/gcc.target/loongarch/flt-abi-isa-3.c Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file gcc/testsuite/gcc.target/loongarch/flt-abi-isa-3.c.rej The next patch would create the file gcc/testsuite/gcc.target/loongarch/flt-abi-isa-4.c, which already exists! Applying it anyway. patching file gcc/testsuite/gcc.target/loongarch/flt-abi-isa-4.c Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file gcc/testsuite/gcc.target/loongarch/flt-abi-isa-4.c.rej patching file gcc/testsuite/gcc.target/loongarch/fmax-fmin.c patching file gcc/testsuite/gcc.target/loongarch/frint.c patching file gcc/testsuite/gcc.target/loongarch/fscaleb.c patching file gcc/testsuite/gcc.target/loongarch/ftint-no-inexact.c patching file gcc/testsuite/gcc.target/loongarch/ftint.c patching file gcc/testsuite/gcc.target/loongarch/func-call-1.c patching file gcc/testsuite/gcc.target/loongarch/func-call-2.c patching file gcc/testsuite/gcc.target/loongarch/func-call-3.c patching file gcc/testsuite/gcc.target/loongarch/func-call-4.c patching file gcc/testsuite/gcc.target/loongarch/func-call-5.c patching file gcc/testsuite/gcc.target/loongarch/func-call-6.c patching file gcc/testsuite/gcc.target/loongarch/func-call-7.c patching file gcc/testsuite/gcc.target/loongarch/func-call-8.c patching file gcc/testsuite/gcc.target/loongarch/func-call-extreme-1.c patching file gcc/testsuite/gcc.target/loongarch/func-call-extreme-2.c patching file gcc/testsuite/gcc.target/loongarch/func-call-medium-1.c patching file gcc/testsuite/gcc.target/loongarch/func-call-medium-2.c patching file gcc/testsuite/gcc.target/loongarch/func-call-medium-3.c patching file gcc/testsuite/gcc.target/loongarch/func-call-medium-4.c patching file gcc/testsuite/gcc.target/loongarch/func-call-medium-5.c patching file gcc/testsuite/gcc.target/loongarch/func-call-medium-6.c patching file gcc/testsuite/gcc.target/loongarch/func-call-medium-7.c patching file gcc/testsuite/gcc.target/loongarch/func-call-medium-8.c patching file gcc/testsuite/gcc.target/loongarch/imm-load.c patching file gcc/testsuite/gcc.target/loongarch/imm-load1.c patching file gcc/testsuite/gcc.target/loongarch/pr107731.c (renamed from gcc/testsuite/gcc.target/loongarch/tst-asm-const.c) patching file gcc/testsuite/gcc.target/loongarch/pr109465-1.c patching file gcc/testsuite/gcc.target/loongarch/pr109465-2.c patching file gcc/testsuite/gcc.target/loongarch/pr109465-3.c patching file gcc/testsuite/gcc.target/loongarch/prolog-opt.c patching file gcc/testsuite/gcc.target/loongarch/relocs-symbol-noaddend.c patching file gcc/testsuite/gcc.target/loongarch/shrink-wrap.c patching file gcc/testsuite/gcc.target/loongarch/stack-check-alloca-1.c patching file gcc/testsuite/gcc.target/loongarch/stack-check-alloca-2.c patching file gcc/testsuite/gcc.target/loongarch/stack-check-alloca-3.c patching file gcc/testsuite/gcc.target/loongarch/stack-check-alloca-4.c patching file gcc/testsuite/gcc.target/loongarch/stack-check-alloca-5.c patching file gcc/testsuite/gcc.target/loongarch/stack-check-alloca-6.c patching file gcc/testsuite/gcc.target/loongarch/stack-check-alloca.h patching file gcc/testsuite/gcc.target/loongarch/stack-check-cfa-1.c patching file gcc/testsuite/gcc.target/loongarch/stack-check-cfa-2.c patching file gcc/testsuite/gcc.target/loongarch/stack-check-prologue-1.c patching file gcc/testsuite/gcc.target/loongarch/stack-check-prologue-2.c patching file gcc/testsuite/gcc.target/loongarch/stack-check-prologue-3.c patching file gcc/testsuite/gcc.target/loongarch/stack-check-prologue-4.c patching file gcc/testsuite/gcc.target/loongarch/stack-check-prologue-5.c patching file gcc/testsuite/gcc.target/loongarch/stack-check-prologue-6.c patching file gcc/testsuite/gcc.target/loongarch/stack-check-prologue-7.c patching file gcc/testsuite/gcc.target/loongarch/stack-check-prologue.h patching file gcc/testsuite/gcc.target/loongarch/tls-gd-noplt.c patching file gcc/testsuite/gcc.target/loongarch/va_arg.c patching file gcc/testsuite/lib/target-supports.exp Hunk #1 succeeded at 11292 (offset 3 lines). Hunk #2 succeeded at 11344 (offset 3 lines). patching file include/longlong.h patching file include/vtv-change-permission.h patching file libitm/config/loongarch/asm.h patching file libitm/config/loongarch/sjlj.S patching file libitm/config/loongarch/target.h patching file libitm/configure.tgt patching file libsanitizer/asan/asan_interceptors.h patching file libsanitizer/asan/asan_interceptors_vfork.S patching file libsanitizer/asan/asan_mapping.h patching file libsanitizer/configure.tgt patching file libsanitizer/lsan/lsan_common.cpp patching file libsanitizer/lsan/lsan_common.h patching file libsanitizer/sanitizer_common/sanitizer_common.h patching file libsanitizer/sanitizer_common/sanitizer_common_interceptors_vfork_loongarch64.inc.S patching file libsanitizer/sanitizer_common/sanitizer_common_syscalls.inc patching file libsanitizer/sanitizer_common/sanitizer_linux.cpp patching file libsanitizer/sanitizer_common/sanitizer_linux.h patching file libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cpp patching file libsanitizer/sanitizer_common/sanitizer_platform.h patching file libsanitizer/sanitizer_common/sanitizer_platform_interceptors.h patching file libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cpp patching file libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp patching file libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h patching file libsanitizer/sanitizer_common/sanitizer_stacktrace.cpp patching file libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp patching file libsanitizer/sanitizer_common/sanitizer_symbolizer_libcdep.cpp patching file libsanitizer/sanitizer_common/sanitizer_syscall_linux_loongarch64.inc patching file libsanitizer/tsan/tsan_interceptors_posix.cpp patching file libsanitizer/tsan/tsan_platform.h patching file libsanitizer/tsan/tsan_platform_linux.cpp patching file libsanitizer/tsan/tsan_rtl.h patching file libsanitizer/tsan/tsan_rtl_loongarch64.S patching file libvtv/configure.tgt RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.VWTd3m (%prep) line 157: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap libmudflap-devel libmudflap-static %patchN is deprecated (15 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.VWTd3m (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/gcc.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/gcc.spec