-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
fstar fails to build #5123
Comments
anybody? thanks |
Sorry for the late reply! I can reproduce this, but I've tried a few different things and haven't figured out a fix yet. |
thanks for the reply dunn, i am happy others can reproduce the issue, hopefully there will be a fix soon. I really need FStar soon, but am very new to homebrew, i wouldn't know where to start to fix the build. |
It looks like there is a conflict with the dependancies of the packages being installed. To fix this, we need to make the install sandbox use an earlier version of diff --git a/Formula/fstar.rb b/Formula/fstar.rb
index 15c471c..ee55892 100644
--- a/Formula/fstar.rb
+++ b/Formula/fstar.rb
@@ -56,6 +56,7 @@ class Fstar < Formula
modules << "#{r.name}=#{r.version}"
end
+ system "opam", "switch", "4.02.3"
system "opam", "install", *modules
system "opam", "config", "exec", "--",
"make", "-C", "src/ocaml-output/" I ran a fresh install with the patch and it worked, but someone else should test it. However, the correct solution to this problem is to configure the sandbox to have the right version from the start, rather than switching. Even better would be if we could fix this dependency hell, but I'm not very familiar with opam, so I'm not the right person to ask. |
Note that the fstar-on-10.12 failure has already been noted here #5488. |
thanks. isn't this an obvious issue for the package manager to fix? why are they not taking it up? is there an "official" way to ask? thank you |
@vmrsss I'll probably tweak it further, but just for you:
|
thank you! |
link to output of brew gist-logs fstar
https://gist.github.com/a8e9609be396dedffa516036005b0532
The build breaks at
opam install ocamlfind=1.5.5 batteries=2.5.2 zarith=1.3 yojson=1.1.6
it manages to download the package batteries-2.5.2, but then crashes with
"Your request can't be satisfied:
No solution found, exiting"
The text was updated successfully, but these errors were encountered: