-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
OCaml 4.06.0 build failure #5270
Labels
Comments
This was referenced Nov 5, 2017
I started looking into fixing the safe-string warnings, which look like they'll be pretty extensive, so those fixes will take a while, across multiple commits. the override looks like the way for homebrew to go for now. will try to get some time to dig into the |
Thanks @mroch! |
@mroch you're awesome. Backporting done: https://github.com/Homebrew/homebrew-core/pull/20427/files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CC @gabelevi @mroch
Testing with flow 0.58.0 with Homebrew and OCaml 4.06.0 (See Homebrew/homebrew-core#20239)
The build fails while install
gen
with the following error:See https://jenkins.brew.sh/job/Homebrew%20Testing/333/version=sierra/testReport/junit/brew-test-bot/sierra/install_flow/
(duplicate since that log will eventually expire https://gist.github.com/ilovezfs/dbf31ea424ed3392da3aff497aeda207)
I can workaround that by setting -unsafe-string via the `OCAMLPARAM environment variable:
This is a typical issue with 4.06.0 since the default has switched from unsafe-string to safe-string. (See Homebrew/homebrew-core#20277)
Once that's set the OPAM dependencies all install fine. However, the build of
flow
itself then fails:Full log here: https://gist.github.com/ilovezfs/05d070b5c347a585a378a20107733fc3
It would be great if we could get a patch for that build failure so that we don't have to resort to
opam switch 4.05.0
via Homebrew/homebrew-core#20298.The text was updated successfully, but these errors were encountered: