Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml.spec'], chrootPath='/var/lib/mock/dist-an23.3-build-415533-72844/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gcsusl_f:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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.gcsusl_f:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '2aa91c69b199424a9f034aa8e96a9ad5', '-D', '/var/lib/mock/dist-an23.3-build-415533-72844/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gcsusl_f:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1740009600 Wrote: /builddir/build/SRPMS/ocaml-4.14.0-3.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml.spec'], chrootPath='/var/lib/mock/dist-an23.3-build-415533-72844/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gcsusl_f:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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.gcsusl_f:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'ab58cd0cfc8646c39d851f1eb5125b53', '-D', '/var/lib/mock/dist-an23.3-build-415533-72844/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gcsusl_f:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1740009600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gNBSPd + 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 ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0023-add-loongarch64-native-support.patch + /usr/bin/git apply --index --reject - Checking patch Makefile... Checking patch asmcomp/dune... Checking patch asmcomp/loongarch64/CSE.ml... Checking patch asmcomp/loongarch64/NOTES.md... Checking patch asmcomp/loongarch64/arch.ml... Checking patch asmcomp/loongarch64/emit.mlp... Checking patch asmcomp/loongarch64/proc.ml... Checking patch asmcomp/loongarch64/reload.ml... Checking patch asmcomp/loongarch64/scheduling.ml... Checking patch asmcomp/loongarch64/selection.ml... Checking patch build-aux/config.guess... Checking patch build-aux/config.sub... Checking patch configure.ac... Hunk #1 succeeded at 1024 (offset -3 lines). Hunk #2 succeeded at 1142 (offset -3 lines). Hunk #3 succeeded at 1229 (offset -13 lines). Checking patch runtime/caml/stack.h... Checking patch runtime/loongarch64.S... Checking patch testsuite/tools/asmgen_loongarch64.S... Applied patch Makefile cleanly. Applied patch asmcomp/dune cleanly. Applied patch asmcomp/loongarch64/CSE.ml cleanly. Applied patch asmcomp/loongarch64/NOTES.md cleanly. Applied patch asmcomp/loongarch64/arch.ml cleanly. Applied patch asmcomp/loongarch64/emit.mlp cleanly. Applied patch asmcomp/loongarch64/proc.ml cleanly. Applied patch asmcomp/loongarch64/reload.ml cleanly. Applied patch asmcomp/loongarch64/scheduling.ml cleanly. Applied patch asmcomp/loongarch64/selection.ml cleanly. Applied patch build-aux/config.guess cleanly. Applied patch build-aux/config.sub cleanly. Applied patch configure.ac cleanly. Applied patch runtime/caml/stack.h cleanly. Applied patch runtime/loongarch64.S cleanly. Applied patch testsuite/tools/asmgen_loongarch64.S cleanly. + /usr/bin/git commit -q -m 0023-add-loongarch64-native-support.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0024-Add-support-for-SW64.patch + /usr/bin/git apply --index --reject - :78: trailing whitespace. :206: trailing whitespace. let is_immediate n = :240: trailing whitespace. fprintf ppf "%a%s" printreg arg.(0) idx :315: trailing whitespace. | Incoming n -> :317: trailing whitespace. | Outgoing n -> Checking patch Makefile... error: while searching for: CAMLC=$(BOOT_OCAMLC) -g -nostdlib -I boot -use-prims runtime/primitives CAMLOPT=$(OCAMLRUN) ./ocamlopt$(EXE) -g -nostdlib -I stdlib -I otherlibs/dynlink ARCHES=amd64 i386 arm arm64 power s390x riscv INCLUDES=-I utils -I parsing -I typing -I bytecomp -I file_formats \ -I lambda -I middle_end -I middle_end/closure \ -I middle_end/flambda -I middle_end/flambda/base_types \ error: patch failed: Makefile:39 Checking patch README-sw_64.md... Checking patch VERSION... Checking patch asmcomp/cmm_helpers.ml... Checking patch asmcomp/sw_64/CSE.ml... Checking patch asmcomp/sw_64/NOTES.md... Checking patch asmcomp/sw_64/arch.ml... Checking patch asmcomp/sw_64/emit.mlp... Checking patch asmcomp/sw_64/proc.ml... Checking patch asmcomp/sw_64/reload.ml... Checking patch asmcomp/sw_64/scheduling.ml... Checking patch asmcomp/sw_64/selection.ml... Checking patch build-aux/config.guess... error: while searching for: mips:OSF1:*.*) echo mips-dec-osf1 exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) error: patch failed: build-aux/config.guess:285 error: while searching for: UNAME_MACHINE=aarch64_be echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' /proc/cpuinfo 2>/dev/null` in EV5) UNAME_MACHINE=alphaev5 ;; error: patch failed: build-aux/config.guess:925 Checking patch build-aux/config.sub... error: while searching for: xscale-* | xscalee[bl]-*) cpu=`echo "$cpu" | sed 's/^xscale/arm/'` ;; arm64-*) cpu=aarch64 ;; error: patch failed: build-aux/config.sub:1104 error: while searching for: | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] \ | alphapca5[67] | alpha64pca5[67] \ | am33_2.0 \ | amdgcn \ | arc | arceb \ error: patch failed: build-aux/config.sub:1163 Checking patch build-aux/ocaml_version.m4... Checking patch configure... error: the patch applies to 'configure' (1a1dd61863e0435952ba6d6baf8131e68f070b3d), which does not match the current contents. error: configure: patch does not apply Checking patch configure.ac... error: while searching for: [aarch64-*-linux*], [natdynlink=true], [aarch64-*-freebsd*], [natdynlink=true], [aarch64-*-openbsd*], [natdynlink=true], [riscv*-*-linux*], [natdynlink=true])]) AS_CASE([$enable_native_toplevel,$natdynlink], error: patch failed: configure.ac:1034 error: while searching for: [arch=arm64; system=openbsd], [x86_64-*-cygwin*], [arch=amd64; system=cygwin], [riscv64-*-linux*], [arch=riscv; model=riscv64; system=linux] ) error: patch failed: configure.ac:1150 Hunk #3 succeeded at 1165 (offset -10 lines). error: while searching for: AS_CASE([$as_target,$ocaml_cv_cc_vendor], [*-*-linux*,gcc-*], [AS_CASE([$as_cpu], [x86_64|arm*|aarch64*|i[[3-6]]86|riscv*], [default_as="${toolpref}as"])], [i686-pc-windows,*], [default_as="ml -nologo -coff -Cp -c -Fo" error: patch failed: configure.ac:1236 Hunk #5 succeeded at 1787 (offset -10 lines). Hunk #6 succeeded at 1859 (offset -10 lines). Hunk #7 succeeded at 1926 (offset -10 lines). Checking patch runtime/caml/stack.h... Hunk #1 succeeded at 80 (offset 5 lines). Checking patch runtime/interp.c... Checking patch runtime/ints.c... Checking patch runtime/signals_osdep.h... Checking patch runtime/sw_64.S... Checking patch testsuite/tests/basic/boxedints.ml... Checking patch testsuite/tests/no-alias-deps/b.cmi... error: testsuite/tests/no-alias-deps/b.cmi: already exists in index Checking patch testsuite/tools/asmgen_sw_64.S... Applying patch Makefile with 1 reject... Rejected hunk #1. Applied patch README-sw_64.md cleanly. Applied patch VERSION cleanly. Applied patch asmcomp/cmm_helpers.ml cleanly. Applied patch asmcomp/sw_64/CSE.ml cleanly. Applied patch asmcomp/sw_64/NOTES.md cleanly. Applied patch asmcomp/sw_64/arch.ml cleanly. Applied patch asmcomp/sw_64/emit.mlp cleanly. Applied patch asmcomp/sw_64/proc.ml cleanly. Applied patch asmcomp/sw_64/reload.ml cleanly. Applied patch asmcomp/sw_64/scheduling.ml cleanly. Applied patch asmcomp/sw_64/selection.ml cleanly. Applying patch build-aux/config.guess with 2 rejects... Rejected hunk #1. Rejected hunk #2. Applying patch build-aux/config.sub with 2 rejects... Rejected hunk #1. Rejected hunk #2. Applied patch build-aux/ocaml_version.m4 cleanly. Applying patch configure.ac with 3 rejects... Rejected hunk #1. Rejected hunk #2. Hunk #3 applied cleanly. Rejected hunk #4. Hunk #5 applied cleanly. Hunk #6 applied cleanly. Hunk #7 applied cleanly. Applied patch runtime/caml/stack.h cleanly. Applied patch runtime/interp.c cleanly. Applied patch runtime/ints.c cleanly. Applied patch runtime/signals_osdep.h cleanly. Applied patch runtime/sw_64.S cleanly. Applied patch testsuite/tests/basic/boxedints.ml cleanly. Applied patch testsuite/tools/asmgen_sw_64.S cleanly. error: Bad exit status from /var/tmp/rpm-tmp.gNBSPd (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.gNBSPd (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M ab58cd0cfc8646c39d851f1eb5125b53 -D /var/lib/mock/dist-an23.3-build-415533-72844/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.gcsusl_f:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml.spec\'\n', 1)] 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 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M ab58cd0cfc8646c39d851f1eb5125b53 -D /var/lib/mock/dist-an23.3-build-415533-72844/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.gcsusl_f:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml.spec'