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/mvapich2.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-57127-28567/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.52zxj091:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.52zxj091:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4dbad83e739645ddabe0b1729d10de58', '-D', '/var/lib/mock/dist-an8-loongarch64-build-57127-28567/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.52zxj091:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/mvapich2.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/mvapich2-2.3.5-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/mvapich2.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-57127-28567/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.52zxj091:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.52zxj091:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '35de0db2d1594197aa7060e7a70c14c5', '-D', '/var/lib/mock/dist-an8-loongarch64-build-57127-28567/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.52zxj091:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/mvapich2.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oBXO53 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mvapich2-2.3.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/mvapich2-2.3.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mvapich2-2.3.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-mvapich23-unbundle-contrib-hwloc.patch):' Patch #1 (0001-mvapich23-unbundle-contrib-hwloc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.in + echo 'Patch #2 (0002-mvapich23-unbundle-osu_benchmarks.patch):' Patch #2 (0002-mvapich23-unbundle-osu_benchmarks.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.in + rm -r contrib/ + rm -r limic2-0.5.6/ + rm -r osu_benchmarks/ + find . -name configure -exec sed -i -r 's/(hardcode_into_libs)=.*$/\1=no/' '{}' ';' + mkdir .default + mv CHANGELOG CHANGES COPYRIGHT Makefile.am Makefile.in README README.envvar README.vin RELEASE_NOTES aclocal.m4 autogen.sh confdb configure configure.ac doc examples maint man mpi.def mpich-doxygen.in mpich.def src subsys_include.m4 test www .default + mv .default default + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vmXUn6 + umask 022 + cd /builddir/build/BUILD + cd mvapich2-2.3.5 + CFLAGS='-O2 -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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + export AR=ar + AR=ar + cd default + cp -fv /usr/lib/rpm/config.sub confdb/ '/usr/lib/rpm/config.sub' -> 'confdb/config.sub' + cp -fv /usr/lib/rpm/config.guess confdb/ '/usr/lib/rpm/config.guess' -> 'confdb/config.guess' + uname -m loongarch64 + uname -r 4.19.190-1.lns8.loongarch64 + uname -s Linux + uname -v #1 SMP Tue Jul 13 17:53:26 CST 2021 + ./configure --prefix=/usr/lib64/mvapich2 --exec-prefix=/usr/lib64/mvapich2 --bindir=/usr/lib64/mvapich2/bin --sbindir=/usr/lib64/mvapich2/bin --libdir=/usr/lib64/mvapich2/lib --mandir=/usr/share/man/mvapich2-loongarch64 --includedir=/usr/include/mvapich2-loongarch64 --sysconfdir=/etc/mvapich2-loongarch64 --datarootdir=/usr/share/mvapich2 --docdir=/usr/share/doc/mvapich2 --enable-error-checking=runtime --enable-timing=none --enable-g=mem,dbg,meminit --enable-fast=all --enable-shared --enable-static --enable-fortran=all --enable-cxx --disable-silent-rules --disable-wrapper-rpath --build=loongarch64 --with-hwloc=v2 Configuring MVAPICH2 version 2.3.5 with '--prefix=/usr/lib64/mvapich2' '--exec-prefix=/usr/lib64/mvapich2' '--bindir=/usr/lib64/mvapich2/bin' '--sbindir=/usr/lib64/mvapich2/bin' '--libdir=/usr/lib64/mvapich2/lib' '--mandir=/usr/share/man/mvapich2-loongarch64' '--includedir=/usr/include/mvapich2-loongarch64' '--sysconfdir=/etc/mvapich2-loongarch64' '--datarootdir=/usr/share/mvapich2' '--docdir=/usr/share/doc/mvapich2' '--enable-error-checking=runtime' '--enable-timing=none' '--enable-g=mem,dbg,meminit' '--enable-fast=all' '--enable-shared' '--enable-static' '--enable-fortran=all' '--enable-cxx' '--disable-silent-rules' '--disable-wrapper-rpath' '--build=loongarch64' '--with-hwloc=v2' 'build_alias=loongarch64' 'CFLAGS=-O2 -g' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'CXXFLAGS=-O2 -g' 'FCFLAGS=-O2 -g -I/usr/lib64/gfortran/modules' 'FFLAGS=-O2 -g -I/usr/lib64/gfortran/modules' Running on system: Linux 35de0db2d1594197aa7060e7a70c14c5 4.19.190-1.lns8.loongarch64 #1 SMP Tue Jul 13 17:53:26 CST 2021 loongarch64 loongarch64 loongarch64 GNU/Linux checking whether to enable header caching... yes 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 how to run the C preprocessor... gcc -E 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 for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking whether to enable maintainer-specific portions of Makefiles... yes checking the archiver (ar) interface... ar checking build system type... loongarch64-unknown-none checking host system type... loongarch64-unknown-none checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert loongarch64-unknown-none file names to loongarch64-unknown-none format... func_convert_file_noop checking how to convert loongarch64-unknown-none file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... unknown checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... no checking whether to build shared libraries... no checking whether to build static libraries... yes checking whether make supports nested variables... (cached) yes 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++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... no checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... no checking dynamic linker characteristics... no checking how to hardcode library paths into programs... immediate checking for gfortran... gfortran checking whether we are using the GNU Fortran compiler... yes checking whether gfortran accepts -g... yes checking if libtool supports shared libraries... no checking whether to build shared libraries... no checking whether to build static libraries... yes checking for gfortran option to produce PIC... -fPIC checking if gfortran PIC flag -fPIC works... yes checking if gfortran static flag -static works... no checking if gfortran supports -c -o file.o... yes checking if gfortran supports -c -o file.o... (cached) yes checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... no checking how to hardcode library paths into programs... immediate checking whether we are using the GNU Fortran 77 compiler... yes checking whether gfortran accepts -g... yes checking if libtool supports shared libraries... no checking whether to build shared libraries... no checking whether to build static libraries... yes checking for gfortran option to produce PIC... -fPIC checking if gfortran PIC flag -fPIC works... yes checking if gfortran static flag -static works... no checking if gfortran supports -c -o file.o... yes checking if gfortran supports -c -o file.o... (cached) yes checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... no checking how to hardcode library paths into programs... immediate checking hcoll/api/hcoll_api.h usability... no checking hcoll/api/hcoll_api.h presence... no checking for hcoll/api/hcoll_api.h... no checking for hcoll_init in -lhcoll... no configure: RUNNING PREREQ FOR ch3:mrail configure: ===== configuring src/mpl ===== configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/lib64/mvapich2' --disable-versioning '--exec-prefix=/usr/lib64/mvapich2' '--bindir=/usr/lib64/mvapich2/bin' '--sbindir=/usr/lib64/mvapich2/bin' '--libdir=/usr/lib64/mvapich2/lib' '--mandir=/usr/share/man/mvapich2-loongarch64' '--includedir=/usr/include/mvapich2-loongarch64' '--sysconfdir=/etc/mvapich2-loongarch64' '--datarootdir=/usr/share/mvapich2' '--docdir=/usr/share/doc/mvapich2' '--enable-error-checking=runtime' '--enable-timing=none' '--enable-g=mem,dbg,meminit' '--enable-fast=all' '--enable-shared' '--enable-static' '--enable-fortran=all' '--enable-cxx' '--disable-silent-rules' '--disable-wrapper-rpath' '--build=loongarch64' '--with-hwloc=v2' 'build_alias=loongarch64' 'CFLAGS=-O2 -g -DNDEBUG -DNVALGRIND' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'CXXFLAGS=-O2 -g -DNDEBUG -DNVALGRIND' 'FCFLAGS=-O2 -g -I/usr/lib64/gfortran/modules ' 'FFLAGS=-O2 -g -I/usr/lib64/gfortran/modules ' --cache-file=/dev/null --srcdir=. 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 for style of include used by make... GNU 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 dependency style of gcc... gcc3 checking the archiver (ar) interface... ar checking build system type... Invalid configuration `loongarch64': machine `loongarch64' not recognized configure: error: /bin/sh confdb/config.sub loongarch64 failed configure: error: MPL configure failed error: Bad exit status from /var/tmp/rpm-tmp.vmXUn6 (%build) Bad exit status from /var/tmp/rpm-tmp.vmXUn6 (%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: # /usr/bin/systemd-nspawn -q -M 35de0db2d1594197aa7060e7a70c14c5 -D /var/lib/mock/dist-an8-loongarch64-build-57127-28567/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.52zxj091:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/mvapich2.spec