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

homebrew install instructions don't work any more? #1938

Closed
sourcefrog opened this issue Mar 12, 2020 · 9 comments
Closed

homebrew install instructions don't work any more? #1938

sourcefrog opened this issue Mar 12, 2020 · 9 comments

Comments

@sourcefrog
Copy link

I'm trying to follow instructions from https://github.com/FStarLang/FStar/blob/master/INSTALL.md#homebrew-formula-for-mac-os-x

> brew update
> brew --version
Homebrew 2.2.10
Homebrew/homebrew-core (git revision 516c4; last commit 2020-03-12)
Homebrew/homebrew-cask (git revision 84a32; last commit 2020-03-12)
> brew install fstar
Error: No available formula with the name "fstar"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
@YumaVlaicu
Copy link

YumaVlaicu commented May 21, 2020

It happened to me, too.
I installed instead by opam

$ brew install fstar
Error: No available formula with the name "fstar"
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
$ opam switch create 4.07.1 # fstar needs ocaml whose version is less than 4.08.0
$ opam pin add fstar --dev-repo # Automatically installed

@momohatt
Copy link

I ran into the same problem. Seems that they deleted the formula recently:
Homebrew/homebrew-core#49745

@catalin-hritcu
Copy link
Member

catalin-hritcu commented Jun 20, 2020

I've removed the broken reference to the Homebrew formula from the documentation. This is not the perfect fix for this issue, but a better fix would require a brave volunteer to bring the Homebrew formula back to life and keep maintaining it.

@catalin-hritcu
Copy link
Member

FWIW London Fuller (@landonf) has been keeping the MacPorts for F*/KreMLin up-to-date:
https://ports.macports.org/port/fstar-devel/summary
https://ports.macports.org/port/kremlin-devel/summary

@catalin-hritcu
Copy link
Member

Looking at the link that @momohatt sent above (Homebrew/homebrew-core#49745), the reason they deleted our Homebrew formula is our dependency on camlp4/ulex (#1792), which is not easy to fix, but we'll eventually have to do it or be stuck with OCaml 4.09 forever.

@catalin-hritcu
Copy link
Member

Don't expect any miracles, but still pinging @beurdouche who's been the original maintainer of the Homebrew formula.

@beurdouche
Copy link
Member

beurdouche commented Jun 28, 2020 via email

@catalin-hritcu
Copy link
Member

catalin-hritcu commented Jun 28, 2020

"Having our own tap" would indeed be cool, if possible :)

@jasonhemann
Copy link

@beurdouche Did you at one point have a separate tap for fstar ? What happened to it / why did you move away from that model before?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants