Skip to content

macOS troubleshooting

Anton Trunov edited this page Jun 1, 2021 · 6 revisions

macOS troubleshooting

VERSION issue, see here

If you are experiencing build failures on macOS with error messages like the following ones

path to file 'VERSION'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#    include version
             ^~~~~~~~~
             VERSION

Then removing VERSION files from your opam switches should help:

find $(opam var --safe --strict root) -type f -name VERSION -exec rm {} \;

Update: looks like this issue is fixed since OCaml 4.12.

Clone this wiki locally