Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opam fails to build on macOS 10.12 #2654

Closed
niieani opened this issue Sep 3, 2016 · 1 comment
Closed

opam fails to build on macOS 10.12 #2654

niieani opened this issue Sep 3, 2016 · 1 comment

Comments

@niieani
Copy link

niieani commented Sep 3, 2016

The build fails while compiling the dependency ocaml-extlib 1.5.3.
Seems to be macOS 10.12 Sierra specific, as it builds properly on 10.11.

Error

File "extlib/extString.ml", line 1:
Error: The implementation extlib/extString.ml
       does not match the interface extlib/extString.cmi:
       ...
       In module String:
       Values do not match:
         external unsafe_set : bytes -> int -> char -> unit
           = "%bytes_unsafe_set"
       is not included in
         external unsafe_set : string -> int -> char -> unit
           = "%string_unsafe_set"
make[4]: *** [extlib/extString.cmo] Error 2
make[3]: *** [byte-code-library] Error 2
make[2]: *** [subproj_extlib] Error 2
make[1]: *** [build] Error 2
make: *** [lib-ext] Error 2

Full gist-logs from brew:

Homebrew issue: Homebrew/homebrew-core#4483

@niieani
Copy link
Author

niieani commented Sep 3, 2016

Turns out it was a conflict with bs-platform.

@niieani niieani closed this as completed Sep 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant