Opened 16 months ago
Last modified 16 months ago
#67699 new defect
llvm-16 @16.0.6: ctypes.cmi is not a compiled interface for this version of OCaml
Reported by: | opendragon (Norman Jaffe) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | landonf (Landon Fuller) | |
Port: | llvm-16, ocaml-ctypes |
Description
IN the process of building Qt6, LLVM-16 is built; however, it fails with what appears to be a link issue.
Attachments (1)
Change History (4)
Changed 16 months ago by opendragon (Norman Jaffe)
comment:1 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | llvm-16 qt6 removed |
---|---|
Port: | llvm-16 added |
Summary: | LLVM-16 fails to build on Ventura 13.4 → llvm-16 @16.0.6: ctypes.cmi is not a compiled interface for this version of OCaml |
Version: | → 2.8.1 |
The error is:
:info:build File "llvm_executionengine.mli", line 1: :info:build Error: /opt/local/lib/ocaml/site-lib/ctypes/ctypes.cmi :info:build is not a compiled interface for this version of OCaml. :info:build It seems to be for an older version of OCaml. :info:build make[2]: *** [bindings/ocaml/executionengine/llvm_executionengine.cma] Error 2 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work/build' :info:build make[1]: *** [bindings/ocaml/executionengine/CMakeFiles/ocaml_llvm_executionengine.dir/all] Error 2 :info:build make[1]: *** Waiting for unfinished jobs....
comment:2 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | landonf added |
---|---|
Port: | ocaml-ctypes added |
So this may be a bug in ocaml-ctypes, the port that provides /opt/local/lib/ocaml/site-lib/ctypes/ctypes.cmi. A new version of ocaml-ctypes is available; maybe updating the port would help.
comment:3 Changed 16 months ago by opendragon (Norman Jaffe)
Reinstalling ocaml-ctypes, ocaml-bigarray-compat and ocaml-integers, along with packages that depended on them, appears to have cleared up the problem. However, the fact that LLVM-16 has hidden dependencies on OCaml packages and those packages don't appear to track changes... is problematic. Also, LLVM-16 references an ocamldoc directory which does not exist: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work/build/docs/ocamldoc/html/.
The build log for llvm-16