directory '/builddir/build/BUILD/ocaml-4.14.0/ocamldoc' make[2]: *** [Makefile:216: odoc_config.cmx] Segmentation fault (core dumped) make[1]: *** [Makefile:930: ocamldoc.opt] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/ocaml-4.14.0' ./boot/ocamlrun ./ocamlopt -g -nostdlib -I stdlib -I otherlibs/dynlink -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66-70 -warn-error +a -bin-annot -safe-string -strict-formats -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 -I asmcomp -I driver -I toplevel -c toplevel/genprintval.ml -I toplevel make[1]: Leaving directory '/builddir/build/BUILD/ocaml-4.14.0' make[2]: Entering directory '/builddir/build/BUILD/ocaml-4.14.0/lex' ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -absname -w +a-4-9-41-42-44-45-48-70 -warn-error +A -safe-string -strict-sequence -strict-formats -bin-annot lexer.ml make[2]: Leaving directory '/builddir/build/BUILD/ocaml-4.14.0/lex' make[2]: Entering directory '/builddir/build/BUILD/ocaml-4.14.0/lex' ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -absname -w +a-4-9-41-42-44-45-48-70 -warn-error +A -safe-string -strict-sequence -strict-formats -bin-annot lexgen.ml make[2]: Leaving directory '/builddir/build/BUILD/ocaml-4.14.0/lex' make[2]: Entering directory '/builddir/build/BUILD/ocaml-4.14.0/lex' ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -absname -w +a-4-9-41-42-44-45-48-70 -warn-error +A -safe-string -strict-sequence -strict-formats -bin-annot common.ml make[2]: Leaving directory '/builddir/build/BUILD/ocaml-4.14.0/lex' make[2]: Entering directory '/builddir/build/BUILD/ocaml-4.14.0/lex' ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -absname -w +a-4-9-41-42-44-45-48-70 -warn-error +A -safe-string -strict-sequence -strict-formats -bin-annot compact.ml make[2]: Leaving directory '/builddir/build/BUILD/ocaml-4.14.0/lex' make[2]: Entering directory '/builddir/build/BUILD/ocaml-4.14.0/lex' ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -absname -w +a-4-9-41-42-44-45-48-70 -warn-error +A -safe-string -strict-sequence -strict-formats -bin-annot output.ml make[2]: Leaving directory '/builddir/build/BUILD/ocaml-4.14.0/lex' make[2]: Entering directory '/builddir/build/BUILD/ocaml-4.14.0/lex' ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -absname -w +a-4-9-41-42-44-45-48-70 -warn-error +A -safe-string -strict-sequence -strict-formats -bin-annot outputbis.ml make[2]: Leaving directory '/builddir/build/BUILD/ocaml-4.14.0/lex' make[2]: Entering directory '/builddir/build/BUILD/ocaml-4.14.0/lex' ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -absname -w +a-4-9-41-42-44-45-48-70 -warn-error +A -safe-string -strict-sequence -strict-formats -bin-annot main.ml make[2]: Leaving directory '/builddir/build/BUILD/ocaml-4.14.0/lex' make[2]: Entering directory '/builddir/build/BUILD/ocaml-4.14.0/lex' ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -o ocamllex.opt cset.cmx syntax.cmx parser.cmx lexer.cmx table.cmx lexgen.cmx compact.cmx common.cmx output.cmx outputbis.cmx main.cmx make[2]: Leaving directory '/builddir/build/BUILD/ocaml-4.14.0/lex' make: *** [Makefile:254: opt.opt] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.arbxXs (%build) Bad exit status from /var/tmp/rpm-tmp.arbxXs (%build) 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.spec