-
Notifications
You must be signed in to change notification settings - Fork 640
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
Coq's Homebrew source build can no longer find zarith #15891
Comments
I tried to build from source without
I also looked at the
From the log, we can see it does know the standard_library = "/opt/homebrew/lib/ocaml", zarith is installed there:
|
That seems like a bug in homebrew, in particular it seems |
I don't understand this: Shengyi:~$ ocamlfind list | grep zarith
zarith (version: 1.12)
zarith.top (version: 1.12) Does it find too many? |
ocamlfind needs to find zarith inside the homebrew sandbox. That should filter out installations from opam, and maybe more. @txyyss you'd have to try that inside the "homebrew environment" for interactive builds from source; if I get to a laptop and find time, I can turn this into a concrete brew command. And maybe try myself (unlikely, I don't believe in |
Seems like a homebrew problem, AFAICT everything is fine in the Coq side. |
Description of the problem
brew install --build-from-source coq
no longer works, complaining that zarith cannot be found. The Homebrew formula depends on a formula ocaml-zarith, which used to work but no longer does. I suspect this is not a bug in Coq per se (more likely something to do with one of the build tools), but hopefully a Coq developer could take a look.I did a bit of debugging with
brew install --build-from-source --debug coq
and the same issue appears with bothmake world
(as the formula does) anddune build
.This bug prevented me from bumping Coq to 8.15.1 in Homebrew.
Coq Version
Coq 8.15.0 (the version packaged by Homebrew) has this problem, as does 8.15.1.
The text was updated successfully, but these errors were encountered: