-
Notifications
You must be signed in to change notification settings - Fork 18
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
Build broken on OS X #29
Comments
Uninstalling and reinstalling camlp4 did the trick. I have no idea what's going on. |
This happened before, true. I don't know the details, would be nice to investigate somehow, otherwise cannot fix |
I'd be happy to help you investigate, but I'm mostly in the dark about OCaml build systems... and OASIS and its codegen is pretty mystifying to me. So you might need to hold my hand a little in terms of what to try. I'm pretty surprised that uninstalling and reinstalling camlp4 solved the problem. I only tried it because camlp4 wasn't showing up in |
https://discuss.ocaml.org/t/i-cannot-install-extunix-anymore/3699/3?u=mgree seems to confirm my reading that this is an OPAM issue, where camlp4 was left in an indeterminate state. |
I see you found that it was camlp4 installed outside of opam. This explains then. I am not sure if extunix is the right place to prevent this, but then I don't know what would be a good solution. Maybe opam people come up with something.. |
I'll come back with whatever I discover, but I think you're right: it's not clear that ExtUnix can do much, though in principle you could write a script to detect the error. If I have the cycles/frustration tolerance, I'll try to see if forking the ocaml-ci-scripts can fix things. ocaml/opam#2451 seems related, too. The core idea I'm coming to is that after bootstrapping, one wants to signal to the parent package manager that things are installed, but not let it manage anything. |
The current thought is that this is ultimately an issue with |
On CI, see my answer here: camlp4/camlp4#150 (comment) Separately, I suspect the log in the OP can't be due to Homebrew, unlike on CI. camlp4 must be installed together with ocaml, and the
suggests (weakly) you're using OCaml |
ExtUnix doesn't build on my computer---nor in CI. I've been unsuccessful with both OPAM and manual builds. I'm running OCaml 4.0.7.
The problem seems to be one of how ocamlfind is invoked. Simply removing
-syntax camlp4o
doesn't seem to do anything.The text was updated successfully, but these errors were encountered: