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/ocaml.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-57580-28964/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/ocaml.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: Macro expanded in comment on line 26: %global no_parallel_build_arches aarch64 warning: Macro expanded in comment on line 284: %{_bindir}/ocamlplugininfo warning: Macro expanded in comment on line 328: %{_libdir}/ocaml/addlabels warning: Macro expanded in comment on line 329: %{_libdir}/ocaml/scrapelabels Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/ocaml-4.07.0-3.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/ocaml.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-57580-28964/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/ocaml.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: Macro expanded in comment on line 26: %global no_parallel_build_arches aarch64 warning: Macro expanded in comment on line 284: %{_bindir}/ocamlplugininfo warning: Macro expanded in comment on line 328: %{_libdir}/ocaml/addlabels warning: Macro expanded in comment on line 329: %{_libdir}/ocaml/scrapelabels Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gUn69w + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocaml-4.07.0 + /usr/bin/xz -dc /builddir/build/SOURCES/ocaml-4.07.0.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-4.07.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Don-t-add-rpaths-to-libraries.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-ocamlbyteinfo-ocamlplugininfo-Useful-utilities-from-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-configure-Allow-user-defined-C-compiler-flags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0004-Add-RISC-V-backend.patch + /usr/bin/cat /builddir/build/SOURCES/0005-Copyright-untabify.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0006-fix-caml_c_call-reload-caml_young_limit.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0007-Adapt-to-4.07.patch + /usr/bin/cat /builddir/build/SOURCES/0008-riscv-Emit-debug-info.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0vBg1I + umask 022 + cd /builddir/build/BUILD + cd ocaml-4.07.0 + make='make -j4' + CFLAGS='-O2 -g -fno-strict-aliasing' + ./configure -bindir /usr/bin -libdir /usr/lib64/ocaml -x11lib /usr/lib64 -x11include /usr/include -mandir /usr/share/man/man1 -no-curses Configuring OCaml version 4.07.0 ../gnu/config.guess: unable to guess system type This script, last modified 2016-10-23, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD and http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD If the version you run (../gnu/config.guess) is already up to date, please send the following data and any information you think might be pertinent to in order to provide the needed information to handle your system. config.guess timestamp = 2016-10-23 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 /usr/bin/uname -p = loongarch64 /bin/uname -X = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = loongarch64 /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = loongarch64 UNAME_RELEASE = 4.19.190-1.lns8.loongarch64 UNAME_SYSTEM = Linux UNAME_VERSION = #1 SMP Tue Jul 13 17:53:26 CST 2021 [ERROR!] Cannot guess host type. You must specify one with the -host option. error: Bad exit status from /var/tmp/rpm-tmp.0vBg1I (%build) RPM build errors: Macro expanded in comment on line 26: %global no_parallel_build_arches aarch64 Macro expanded in comment on line 284: %{_bindir}/ocamlplugininfo Macro expanded in comment on line 328: %{_libdir}/ocaml/addlabels Macro expanded in comment on line 329: %{_libdir}/ocaml/scrapelabels Bad exit status from /var/tmp/rpm-tmp.0vBg1I (%build) 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/ocaml.spec