[MacPorts] #59785: llvm ports opportunistically build ocaml binding even when +ocaml variant is not selected; leads to conflicts between them
MacPorts
noreply at macports.org
Wed Mar 24 00:12:31 UTC 2021
#59785: llvm ports opportunistically build ocaml binding even when +ocaml variant
is not selected; leads to conflicts between them
--------------------------------+----------------------
Reporter: cooljeanius | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: llvm-7.0 llvm-9.0 |
--------------------------------+----------------------
Comment (by cooljeanius):
Note that this is now causing llvm-11 to fail to build for me with this
error:
{{{
File "llvm_executionengine.mli", line 1:
Error: /opt/local/lib/ocaml/site-lib/ctypes/ctypes.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-11/llvm-11/work/build'
/Library/Developer/CommandLineTools/usr/bin/make -f
lib/Target/WebAssembly/AsmParser/CMakeFiles/LLVMWebAssemblyAsmParser.dir/build.make
lib/Target/WebAssembly/AsmParser/CMakeFiles/LLVMWebAssemblyAsmParser.dir/build
make[2]: *** [bindings/ocaml/executionengine/llvm_executionengine.cma]
Error 2
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-11/llvm-11/work/build'
make[1]: ***
[bindings/ocaml/executionengine/CMakeFiles/ocaml_llvm_executionengine.dir/all]
Error 2
make[1]: *** Waiting for unfinished jobs....
}}}
`port provides` says `/opt/local/lib/ocaml/site-lib/ctypes/ctypes.cmi` is
from ocaml-ctypes. Maybe a conflicts-build line needs to be added?
--
Ticket URL: <https://trac.macports.org/ticket/59785#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list