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/valgrind.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-154651-58310/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/valgrind.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/valgrind-3.18.1-7.0.2.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/valgrind.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-154651-58310/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/valgrind.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.toWlq9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf valgrind-3.18.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/valgrind-3.18.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd valgrind-3.18.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (valgrind-3.9.0-cachegrind-improvements.patch):' Patch #1 (valgrind-3.9.0-cachegrind-improvements.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file cachegrind/cg_sim.c Hunk #1 succeeded at 40 (offset -2 lines). Hunk #2 succeeded at 73 (offset -2 lines). Patch #3 (valgrind-3.9.0-ldso-supp.patch): + echo 'Patch #3 (valgrind-3.9.0-ldso-supp.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file glibc-2.X.supp.in + echo 'Patch #4 (valgrind-3.16.0-some-stack-protector.patch):' Patch #4 (valgrind-3.16.0-some-stack-protector.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file auxprogs/Makefile.am patching file cachegrind/Makefile.am patching file configure.ac Hunk #1 succeeded at 2530 (offset 178 lines). patching file coregrind/Makefile.am Hunk #1 succeeded at 60 (offset 5 lines). Hunk #2 succeeded at 105 (offset 11 lines). Patch #5 (valgrind-3.16.0-some-Wl-z-now.patch): + echo 'Patch #5 (valgrind-3.16.0-some-Wl-z-now.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file auxprogs/Makefile.am patching file cachegrind/Makefile.am patching file coregrind/Makefile.am Hunk #1 succeeded at 62 (offset 5 lines). Hunk #2 succeeded at 107 (offset 11 lines). Patch #6 (valgrind-3.18.1-dhat-tests-copy.patch): + echo 'Patch #6 (valgrind-3.18.1-dhat-tests-copy.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file dhat/tests/Makefile.am + echo 'Patch #7 (valgrind-3.18.1-s390x-EXRL.patch):' Patch #7 (valgrind-3.18.1-s390x-EXRL.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file VEX/priv/guest_s390_toIR.c patching file none/tests/s390x/exrl.c patching file none/tests/s390x/exrl.stdout.exp Patch #8 (valgrind-3.18.1-ppc64-lxsibzx-lxsihzx.patch): + echo 'Patch #8 (valgrind-3.18.1-ppc64-lxsibzx-lxsihzx.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file VEX/priv/guest_ppc_toIR.c + echo 'Patch #9 (valgrind-3.18.1-ppc-pstq.patch):' Patch #9 (valgrind-3.18.1-ppc-pstq.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file VEX/priv/guest_ppc_toIR.c Patch #10 (valgrind-3.18.1-ppc-pstq-tests.patch): + echo 'Patch #10 (valgrind-3.18.1-ppc-pstq-tests.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file none/tests/ppc64/Makefile.am patching file none/tests/ppc64/isa_3_1_helpers.h patching file none/tests/ppc64/test_isa_3_1_R1_RT.c patching file none/tests/ppc64/test_isa_3_1_R1_RT.stderr.exp patching file none/tests/ppc64/test_isa_3_1_R1_RT.stdout.exp patching file none/tests/ppc64/test_isa_3_1_R1_RT.vgtest patching file none/tests/ppc64/test_isa_3_1_R1_XT.c patching file none/tests/ppc64/test_isa_3_1_R1_XT.stderr.exp patching file none/tests/ppc64/test_isa_3_1_R1_XT.stdout.exp patching file none/tests/ppc64/test_isa_3_1_R1_XT.vgtest patching file none/tests/ppc64/test_isa_3_1_common.c + echo 'Patch #11 (valgrind-3.18.1-gdbserver_tests-hwcap.patch):' Patch #11 (valgrind-3.18.1-gdbserver_tests-hwcap.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file gdbserver_tests/filter_gdb.in Patch #12 (valgrind-3.18.1-rust-v0-demangle.patch): + echo 'Patch #12 (valgrind-3.18.1-rust-v0-demangle.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file coregrind/m_demangle/demangle.c patching file memcheck/tests/demangle-rust.c patching file memcheck/tests/demangle-rust.stderr.exp patching file memcheck/tests/demangle-rust.vgtest patching file memcheck/tests/Makefile.am patching file memcheck/tests/Makefile.am + echo 'Patch #13 (valgrind-3.18.1-arm64-doubleword-cas.patch):' Patch #13 (valgrind-3.18.1-arm64-doubleword-cas.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file VEX/priv/host_arm64_defs.c patching file VEX/priv/host_arm64_defs.h + echo 'Patch #14 (valgrind-3.18.1-arm64-ldaxp-stlxp.patch):' Patch #14 (valgrind-3.18.1-arm64-ldaxp-stlxp.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file VEX/priv/guest_arm64_toIR.c patching file VEX/priv/host_arm64_defs.c patching file VEX/priv/host_arm64_defs.h patching file VEX/priv/host_arm64_isel.c patching file VEX/priv/ir_defs.c patching file VEX/pub/libvex_guest_arm64.h patching file VEX/pub/libvex_ir.h patching file memcheck/mc_machine.c patching file memcheck/mc_translate.c patching file memcheck/tests/Makefile.am patching file memcheck/tests/atomic_incs.c patching file memcheck/tests/atomic_incs.stdout.exp-32bit patching file memcheck/tests/atomic_incs.stdout.exp-64bit patching file memcheck/tests/atomic_incs.stdout.exp-64bit-and-128bit patching file none/tests/arm64/Makefile.am patching file none/tests/arm64/ldxp_stxp.c patching file none/tests/arm64/ldxp_stxp_basisimpl.stderr.exp patching file none/tests/arm64/ldxp_stxp_basisimpl.stdout.exp patching file none/tests/arm64/ldxp_stxp_basisimpl.vgtest patching file none/tests/arm64/ldxp_stxp_fallbackimpl.stderr.exp patching file none/tests/arm64/ldxp_stxp_fallbackimpl.stdout.exp patching file none/tests/arm64/ldxp_stxp_fallbackimpl.vgtest patching file none/tests/arm64/Makefile.am Patch #15 (valgrind-3.18.1-arm64-atomic-align.patch): + echo 'Patch #15 (valgrind-3.18.1-arm64-atomic-align.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file VEX/priv/guest_arm64_toIR.c patching file VEX/priv/host_arm64_defs.c patching file VEX/priv/host_arm64_isel.c + echo 'Patch #16 (valgrind-3.18.1-amd64-more-spec-rules.patch):' Patch #16 (valgrind-3.18.1-amd64-more-spec-rules.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file VEX/priv/guest_amd64_helpers.c Patch #17 (valgrind-3.18.1-condvar.patch): + echo 'Patch #17 (valgrind-3.18.1-condvar.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac Hunk #1 succeeded at 1966 (offset -23 lines). patching file drd/drd_pthread_intercepts.c patching file drd/tests/Makefile.am patching file drd/tests/condvar.cpp patching file drd/tests/condvar.stderr.exp patching file drd/tests/condvar.vgtest patching file helgrind/hg_intercepts.c Patch #18 (valgrind-3.18.1-demangle-namespace.patch): + echo 'Patch #18 (valgrind-3.18.1-demangle-namespace.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file coregrind/m_debuginfo/readdwarf3.c Patch #19 (valgrind-3.18.1-arm64-atomics-rdm.patch): + echo 'Patch #19 (valgrind-3.18.1-arm64-atomics-rdm.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file VEX/priv/main_main.c Hunk #1 succeeded at 2162 (offset -1 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nAOisl + umask 022 + cd /builddir/build/BUILD + cd valgrind-3.18.1 + ./autogen.sh running: aclocal running: autoheader running: automake -a running: autoconf ++ echo ' -O2 -g ' ++ sed 's/ -fstack-protector\([-a-z]*\) / / g;s/ -O2 / /g;' + CFLAGS=' -g ' + export CFLAGS ++ echo ' -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' ++ sed 's/ -Wl,-z,now / / g;' + LDFLAGS=' -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + CFLAGS=' -g ' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS=' -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-mpicc=/bin/false '%{only_arch}' GDB=/usr/bin/gdb configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: %{only_arch} checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking for loongarch64-Anolis-linux-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for loongarch64-Anolis-linux-g++... no checking for loongarch64-Anolis-linux-c++... no checking for loongarch64-Anolis-linux-gpp... no checking for loongarch64-Anolis-linux-aCC... no checking for loongarch64-Anolis-linux-CC... no checking for loongarch64-Anolis-linux-cxx... no checking for loongarch64-Anolis-linux-cc++... no checking for loongarch64-Anolis-linux-cl.exe... no checking for loongarch64-Anolis-linux-FCC... no checking for loongarch64-Anolis-linux-KCC... no checking for loongarch64-Anolis-linux-RCC... no checking for loongarch64-Anolis-linux-xlC_r... no checking for loongarch64-Anolis-linux-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for loongarch64-Anolis-linux-ranlib... no checking for ranlib... ranlib checking for gcc-ranlib... /usr/bin/gcc-ranlib checking for a sed that does not truncate output... /usr/bin/sed checking for ar... /usr/bin/ar checking for gcc-ar... /usr/bin/gcc-ar checking for perl... /usr/bin/perl checking for gdb... /usr/bin/gdb checking dependency style of gcc... none checking for diff -u... yes checking for gcc option to accept ISO C99... none needed checking for a supported version of gcc... ok (8) checking build system type... loongarch64-Anolis-linux-gnu checking host system type... loongarch64-Anolis-linux-gnu checking for a supported CPU... no (loongarch64) configure: error: Unsupported host architecture. Sorry error: Bad exit status from /var/tmp/rpm-tmp.nAOisl (%build) Bad exit status from /var/tmp/rpm-tmp.nAOisl (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, 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 --target loongarch64 --nodeps /builddir/build/SPECS/valgrind.spec