s.create instead. BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/unicode.ml", line 1816, characters 11-24: BUILDSTDERR: Warning 3: deprecated: String.create BUILDSTDERR: Use Bytes.create instead. ocamlopt -unsafe-string -g: bytearray.mli ---> bytearray.cmi ocamlopt -unsafe-string -g -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/bytearray.mli ocamlopt -unsafe-string -g: bytearray.ml ---> bytearray.cmx ocamlopt -unsafe-string -g -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/bytearray.ml BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/bytearray.ml", line 38, characters 0-118: BUILDSTDERR: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/bytearray.ml", line 41, characters 0-116: BUILDSTDERR: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/bytearray.ml", line 47, characters 10-23: BUILDSTDERR: Warning 3: deprecated: String.create BUILDSTDERR: Use Bytes.create instead. BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/bytearray.ml", line 63, characters 12-25: BUILDSTDERR: Warning 3: deprecated: String.create BUILDSTDERR: Use Bytes.create instead. ocamlopt -unsafe-string -g: system/system_generic.ml ---> system/system_generic.cmx ocamlopt -unsafe-string -g -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/system/system_generic.ml ocamlopt -unsafe-string -g: system/generic/system_impl.ml ---> system/generic/system_impl.cmx ocamlopt -unsafe-string -g -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/system/generic/system_impl.ml ocamlc: system/system_intf.ml ---> system/system_intf.cmo ocamlc -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/system/system_intf.ml ocamlopt -unsafe-string -g: system.mli ---> system.cmi ocamlopt -unsafe-string -g -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/system.mli ocamlopt -unsafe-string -g: system.ml ---> system.cmx ocamlopt -unsafe-string -g -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/system.ml BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/system.ml", line 1: BUILDSTDERR: Error: The implementation /builddir/build/BUILD/unison-2.40.128/system.ml BUILDSTDERR: does not match the interface system.cmi: BUILDSTDERR: Values do not match: BUILDSTDERR: val link : string -> string -> unit BUILDSTDERR: is not included in BUILDSTDERR: val link : ?follow:bool -> fspath -> fspath -> unit BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/system/system_intf.ml", line 70, characters 0-51: BUILDSTDERR: Expected declaration BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/system/system_generic.ml", line 50, characters 4-8: BUILDSTDERR: Actual declaration RPM build errors: BUILDSTDERR: make: *** [Makefile.OCaml:411: system.cmx] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.9MSaEH (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.9MSaEH (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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/unison240.spec