lpers.objs/byte -no-alias-deps -o src/cinaps_helpers/.cinaps_helpers.objs/byte/cinaps_helpers.cmo -c -impl src/cinaps_helpers/cinaps_helpers.ml) Running[9]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -49 -nopervasives -nostdlib -g -bin-annot -I tools/.pp.eobjs/byte -no-alias-deps -o tools/.pp.eobjs/byte/dune__exe.cmo -c -impl tools/.pp.eobjs/dune__exe.ml-gen) File "src/dune", line 7, characters 0-93: 7 | (rule 8 | (targets ast-version) 9 | (action (run %{ocaml} %{dep:config/gen.ml} %{ocaml_version}))) Command [5] exited with code 1: $ (cd _build/default/src && /usr/bin/ocaml config/gen.ml 5.1.0) Unknown OCaml version 5.1.0 Running[10]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf tools/pp.mli) > _build/default/tools/.pp.eobjs/dune__exe__Pp.intf.d Running[11]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I src/cinaps_helpers/.cinaps_helpers.objs/byte -I src/cinaps_helpers/.cinaps_helpers.objs/native -intf-suffix .ml -no-alias-deps -o src/cinaps_helpers/.cinaps_helpers.objs/native/cinaps_helpers.cmx -c -impl src/cinaps_helpers/cinaps_helpers.ml) Running[12]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -a -o src/cinaps_helpers/cinaps_helpers.cma src/cinaps_helpers/.cinaps_helpers.objs/byte/cinaps_helpers.cmo) Running[13]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -49 -nopervasives -nostdlib -g -I tools/.pp.eobjs/byte -I tools/.pp.eobjs/native -intf-suffix .ml-gen -no-alias-deps -o tools/.pp.eobjs/native/dune__exe.cmx -c -impl tools/.pp.eobjs/dune__exe.ml-gen) Running[14]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -3 -g -bin-annot -I tools/.pp.eobjs/byte -no-alias-deps -open Dune__exe -o tools/.pp.eobjs/byte/dune__exe__Pp_rewrite.cmi -c -intf tools/pp_rewrite.mli) Running[15]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -3 -g -bin-annot -I tools/.pp.eobjs/byte -no-alias-deps -open Dune__exe -o tools/.pp.eobjs/byte/dune__exe__Pp.cmi -c -intf tools/pp.mli) Running[16]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -3 -g -I tools/.pp.eobjs/byte -I tools/.pp.eobjs/native -intf-suffix .ml -no-alias-deps -open Dune__exe -o tools/.pp.eobjs/native/dune__exe__Pp_rewrite.cmx -c -impl tools/pp_rewrite.ml) Running[17]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -a -o src/cinaps_helpers/cinaps_helpers.cmxa src/cinaps_helpers/.cinaps_helpers.objs/native/cinaps_helpers.cmx) Running[18]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -shared -linkall -I src/cinaps_helpers -o src/cinaps_helpers/cinaps_helpers.cmxs src/cinaps_helpers/cinaps_helpers.cmxa) Running[19]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -3 -g -o tools/add_special_comments.exe /usr/lib64/ocaml/compiler-libs/ocamlcommon.cmxa /usr/lib64/ocaml/compiler-libs/ocamlbytecomp.cmxa tools/.add_special_comments.eobjs/native/dune__exe__Add_special_comments.cmx) Running[20]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -3 -g -I tools/.pp.eobjs/byte -I tools/.pp.eobjs/native -intf-suffix .ml -no-alias-deps -open Dune__exe -o tools/.pp.eobjs/native/dune__exe__Pp.cmx -c -impl tools/pp.ml) Running[21]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -3 -g -o tools/pp.exe tools/.pp.eobjs/native/dune__exe.cmx tools/.pp.eobjs/native/dune__exe__Pp_rewrite.cmx tools/.pp.eobjs/native/dune__exe__Pp.cmx) error: Bad exit status from /var/tmp/rpm-tmp.Bmf8lz (%build) Bad exit status from /var/tmp/rpm-tmp.Bmf8lz (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 riscv64 --nodeps /builddir/build/SPECS/ocaml-migrate-parsetree.spec