Open tmcgilchrist opened 1 year ago
Running this locally give more clues, even though it is on macOS.
$ ocamlobjinfo _opam/share/dkml-component-staging-ocamlrun/staging-files/darwin_x86_64/lib/ocaml/unix.cma
File _opam/share/dkml-component-staging-ocamlrun/staging-files/darwin_x86_64/lib/ocaml/unix.cma
Wrong magic number:
this tool only supports object files produced by compiler version
5.1.0
This seems to be a bytecode library (cma) for an older version of OCaml.
$ echo $?
2
The return code of 2 suggests it is the same issue, basically the unix.cma
file doesn't match the OCaml compiler used.
Log error (https://staging.docs.ci.ocamllabs.io/job/2023-10-12/081042-voodoo-prep-468802):
The obuilder spec that produced this error