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/ocaml.spec'], chrootPath='/var/lib/mock/dist-an23-loongarch-build-309538-66339/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kiol9umg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.kiol9umg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '3831381d26cc479dbf8b47d9fd3245a1', '-D', '/var/lib/mock/dist-an23-loongarch-build-309538-66339/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kiol9umg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '--console=pipe', '--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 --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1679270400 Wrote: /builddir/build/SRPMS/ocaml-4.14.0-1.an23.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/ocaml.spec'], chrootPath='/var/lib/mock/dist-an23-loongarch-build-309538-66339/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kiol9umg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.kiol9umg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '1a63d02ae0ea4719a105f817d1c0c497', '-D', '/var/lib/mock/dist-an23-loongarch-build-309538-66339/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kiol9umg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '--console=pipe', '--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 --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1679270400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XLkXsP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocaml-4.14.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/4.14.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-4.14.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'ocaml-4.14.0 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Do-not-trigger-warning-when-calling-virtual-methods-.patch + /usr/bin/git apply --index --reject - Checking patch Changes... Checking patch testsuite/tests/typing-objects/Tests.ml... Checking patch typing/typeclass.ml... Applied patch Changes cleanly. Applied patch testsuite/tests/typing-objects/Tests.ml cleanly. Applied patch typing/typeclass.ml cleanly. + /usr/bin/git commit -q -m 0001-Do-not-trigger-warning-when-calling-virtual-methods-.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Merge-pull-request-11236-from-Nymphium-missing-since.patch + /usr/bin/git apply --index --reject - Checking patch stdlib/gc.mli... Applied patch stdlib/gc.mli cleanly. + /usr/bin/git commit -q -m 0002-Merge-pull-request-11236-from-Nymphium-missing-since.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-misc.h-fix-preprocessor-conditional-on-_MSC_VER.patch + /usr/bin/git apply --index --reject - Checking patch runtime/caml/misc.h... Applied patch runtime/caml/misc.h cleanly. + /usr/bin/git commit -q -m 0003-misc.h-fix-preprocessor-conditional-on-_MSC_VER.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-Changes.patch + /usr/bin/git apply --index --reject - Checking patch Changes... Applied patch Changes cleanly. + /usr/bin/git commit -q -m 0004-Changes.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0005-Guard-more-instances-of-undefined-_MSC_VER.patch + /usr/bin/git apply --index --reject - Checking patch Changes... Checking patch runtime/caml/memory.h... Checking patch runtime/caml/misc.h... Applied patch Changes cleanly. Applied patch runtime/caml/memory.h cleanly. Applied patch runtime/caml/misc.h cleanly. + /usr/bin/git commit -q -m 0005-Guard-more-instances-of-undefined-_MSC_VER.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0006-Better-documentation-for-string_of_float-.-11353.patch + /usr/bin/git apply --index --reject - Checking patch stdlib/float.mli... Checking patch stdlib/stdlib.mli... Checking patch stdlib/templates/float.template.mli... Applied patch stdlib/float.mli cleanly. Applied patch stdlib/stdlib.mli cleanly. Applied patch stdlib/templates/float.template.mli cleanly. + /usr/bin/git commit -q -m 0006-Better-documentation-for-string_of_float-.-11353.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0007-Merge-pull-request-11380-from-damiendoligez-fix-fort.patch + /usr/bin/git apply --index --reject - Checking patch testsuite/tests/lib-bigarray-2/has-gfortran.sh... Applied patch testsuite/tests/lib-bigarray-2/has-gfortran.sh cleanly. + /usr/bin/git commit -q -m 0007-Merge-pull-request-11380-from-damiendoligez-fix-fort.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0008-Refactor-the-initialization-of-bytecode-threading-11.patch + /usr/bin/git apply --index --reject - Checking patch Changes... Checking patch runtime/caml/fix_code.h... Checking patch runtime/fix_code.c... Checking patch runtime/interp.c... Applied patch Changes cleanly. Applied patch runtime/caml/fix_code.h cleanly. Applied patch runtime/fix_code.c cleanly. Applied patch runtime/interp.c cleanly. + /usr/bin/git commit -q -m 0008-Refactor-the-initialization-of-bytecode-threading-11.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0009-Merge-pull-request-11397-from-Octachron-tast_mapper_.patch + /usr/bin/git apply --index --reject - Checking patch Changes... Checking patch typing/tast_mapper.ml... Applied patch Changes cleanly. Applied patch typing/tast_mapper.ml cleanly. + /usr/bin/git commit -q -m 0009-Merge-pull-request-11397-from-Octachron-tast_mapper_.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0010-Merge-pull-request-11396-from-gasche-fix11392.patch + /usr/bin/git apply --index --reject - Checking patch Changes... Checking patch testsuite/tests/typing-external/pr11392.ml... Checking patch typing/typedecl.ml... Applied patch Changes cleanly. Applied patch testsuite/tests/typing-external/pr11392.ml cleanly. Applied patch typing/typedecl.ml cleanly. + /usr/bin/git commit -q -m 0010-Merge-pull-request-11396-from-gasche-fix11392.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0011-Document-limitation-on-caml_callbackN-11409.patch + /usr/bin/git apply --index --reject - Checking patch Changes... Checking patch manual/src/cmds/intf-c.etex... Applied patch Changes cleanly. Applied patch manual/src/cmds/intf-c.etex cleanly. + /usr/bin/git commit -q -m 0011-Document-limitation-on-caml_callbackN-11409.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0012-Stop-calling-ranlib-on-created-installed-libraries-1.patch + /usr/bin/git apply --index --reject - Checking patch Changes... Checking patch INSTALL.adoc... Checking patch Makefile... Checking patch Makefile.build_config.in... Checking patch Makefile.config.in... Checking patch configure... Checking patch configure.ac... Checking patch otherlibs/Makefile.otherlibs.common... Checking patch otherlibs/dynlink/Makefile... Checking patch otherlibs/systhreads/Makefile... Checking patch stdlib/Makefile... Checking patch tools/ocamlmklib.ml... Checking patch utils/Makefile... Checking patch utils/ccomp.ml... Checking patch utils/config.mli... Checking patch utils/config.mlp... Applied patch Changes cleanly. Applied patch INSTALL.adoc cleanly. Applied patch Makefile cleanly. Applied patch Makefile.build_config.in cleanly. Applied patch Makefile.config.in cleanly. Applied patch configure cleanly. Applied patch configure.ac cleanly. Applied patch otherlibs/Makefile.otherlibs.common cleanly. Applied patch otherlibs/dynlink/Makefile cleanly. Applied patch otherlibs/systhreads/Makefile cleanly. Applied patch stdlib/Makefile cleanly. Applied patch tools/ocamlmklib.ml cleanly. Applied patch utils/Makefile cleanly. Applied patch utils/ccomp.ml cleanly. Applied patch utils/config.mli cleanly. Applied patch utils/config.mlp cleanly. + /usr/bin/git commit -q -m 0012-Stop-calling-ranlib-on-created-installed-libraries-1.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0013-tests-lib-bigarray-2-has-gfortran.sh-don-t-print-any.patch + /usr/bin/git apply --index --reject - Checking patch testsuite/tests/lib-bigarray-2/has-gfortran.sh... Applied patch testsuite/tests/lib-bigarray-2/has-gfortran.sh cleanly. + /usr/bin/git commit -q -m 0013-tests-lib-bigarray-2-has-gfortran.sh-don-t-print-any.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0014-Merge-pull-request-11417-from-lpw25-fix-virtual-clas.patch + /usr/bin/git apply --index --reject - Checking patch Changes... Checking patch testsuite/tests/typing-objects/Tests.ml... Checking patch typing/typeclass.ml... Applied patch Changes cleanly. Applied patch testsuite/tests/typing-objects/Tests.ml cleanly. Applied patch typing/typeclass.ml cleanly. + /usr/bin/git commit -q -m 0014-Merge-pull-request-11417-from-lpw25-fix-virtual-clas.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0015-Do-not-elide-the-whole-module-type-error-message-114.patch + /usr/bin/git apply --index --reject - Checking patch Changes... Checking patch testsuite/tests/typing-modules/inclusion_errors_elision.ml... Checking patch typing/includemod_errorprinter.ml... Applied patch Changes cleanly. Applied patch testsuite/tests/typing-modules/inclusion_errors_elision.ml cleanly. Applied patch typing/includemod_errorprinter.ml cleanly. + /usr/bin/git commit -q -m 0015-Do-not-elide-the-whole-module-type-error-message-114.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0016-Merge-pull-request-11373-from-dra27-flexlink-detect.patch + /usr/bin/git apply --index --reject - Checking patch Changes... Checking patch aclocal.m4... Checking patch configure... Applied patch Changes cleanly. Applied patch aclocal.m4 cleanly. Applied patch configure cleanly. + /usr/bin/git commit -q -m 0016-Merge-pull-request-11373-from-dra27-flexlink-detect.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0017-Merge-pull-request-11468-from-dra27-i686-mingw-ipv6.patch + /usr/bin/git apply --index --reject - Checking patch Changes... Checking patch configure... Checking patch configure.ac... Applied patch Changes cleanly. Applied patch configure cleanly. Applied patch configure.ac cleanly. + /usr/bin/git commit -q -m 0017-Merge-pull-request-11468-from-dra27-i686-mingw-ipv6.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0018-More-prudent-deallocation-of-alternate-signal-stack-.patch + /usr/bin/git apply --index --reject - Checking patch Changes... Checking patch otherlibs/systhreads/st_stubs.c... Checking patch runtime/caml/signals.h... Checking patch runtime/signals_byt.c... Checking patch runtime/signals_nat.c... Applied patch Changes cleanly. Applied patch otherlibs/systhreads/st_stubs.c cleanly. Applied patch runtime/caml/signals.h cleanly. Applied patch runtime/signals_byt.c cleanly. Applied patch runtime/signals_nat.c cleanly. + /usr/bin/git commit -q -m 0018-More-prudent-deallocation-of-alternate-signal-stack-.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0019-Merge-pull-request-11487-from-purplearmadillo77-fma_.patch + /usr/bin/git apply --index --reject - Checking patch Changes... Checking patch aclocal.m4... Checking patch configure... Applied patch Changes cleanly. Applied patch aclocal.m4 cleanly. Applied patch configure cleanly. + /usr/bin/git commit -q -m 0019-Merge-pull-request-11487-from-purplearmadillo77-fma_.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0020-Fixup-Changes.patch + /usr/bin/git apply --index --reject - Checking patch Changes... Applied patch Changes cleanly. + /usr/bin/git commit -q -m 0020-Fixup-Changes.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0021-Fix-deprecated_mutable-which-couldn-t-be-triggered.-.patch + /usr/bin/git apply --index --reject - Checking patch Changes... Checking patch testsuite/tests/warnings/deprecated_mutable.compilers.reference... Checking patch testsuite/tests/warnings/deprecated_mutable.ml... Checking patch typing/env.ml... Applied patch Changes cleanly. Applied patch testsuite/tests/warnings/deprecated_mutable.compilers.reference cleanly. Applied patch testsuite/tests/warnings/deprecated_mutable.ml cleanly. Applied patch typing/env.ml cleanly. + /usr/bin/git commit -q -m 0021-Fix-deprecated_mutable-which-couldn-t-be-triggered.-.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0022-Don-t-add-rpaths-to-libraries.patch + /usr/bin/git apply --index --reject - Checking patch utils/config.mlp... Applied patch utils/config.mlp cleanly. + /usr/bin/git commit -q -m 0022-Don-t-add-rpaths-to-libraries.patch --author 'rpm-build ' + autoconf --force configure.ac:1793: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... build-aux/ax_pthread.m4:89: AX_PTHREAD is expanded from... lib/m4sugar/m4sh.m4:594: AS_CASE is expanded from... lib/m4sugar/m4sh.m4:594: AS_CASE is expanded from... configure.ac:1793: the top level + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3aU474 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 ocaml-4.14.0 + make='/usr/bin/make -O -j32 V=1 VERBOSE=1' + ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --libdir=/usr/lib64/ocaml 'OC_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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'OC_LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' configure: Configuring OCaml version 4.14.0 checking build system type... ./build-aux/config.guess: unable to guess system type This script (version 2020-07-12), has failed to recognize the operating system you are using. If your script is old, overwrite *all* copies of config.guess and config.sub with the latest versions from: https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess and https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub configure: error: cannot guess build type; you must specify one error: Bad exit status from /var/tmp/rpm-tmp.3aU474 (%build) Bad exit status from /var/tmp/rpm-tmp.3aU474 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 1a63d02ae0ea4719a105f817d1c0c497 -D /var/lib/mock/dist-an23-loongarch-build-309538-66339/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.kiol9umg:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/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 --console=pipe --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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ocaml.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: # /usr/bin/systemd-nspawn -q -M 1a63d02ae0ea4719a105f817d1c0c497 -D /var/lib/mock/dist-an23-loongarch-build-309538-66339/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.kiol9umg:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/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 --console=pipe --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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ocaml.spec