-
Notifications
You must be signed in to change notification settings - Fork 58
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
Building from source fails on Fedora 36 - "error while fetching sources from..." #338
Comments
Interesting, don't know that I can be super helpful here since it seems a bit out of my control. The sources do seem available at those URLs, and I know someone built from source yesterday, and Fedora shouldn't matter in principle, so to help with this: First question: what version of Second question: I'm guessing you did try |
I'm using version 2.1.2 I tried using wget directly to fetch one of the packages and that did work, however with some more investigating it looks like this is a bug with 2.1.2 where env vars aren't being fetched properly. So I'm not sure there's much that can be done until 2.2.0 gets released (aside from building opam from HEAD) |
Describe the bug
I'm following the instructions here to build from source. Once I get to the step
opam install -t . --deps-only
and try to resolve the dependencies, several packages fail to fetch (all of them are from erratique.ch):As far as I can tell this is because the certificate has expired for the website. I'm new to opam/ocaml but my understanding is that the normal solution for this is to pass the --insecure flag to curl via $OPAMFETCH, but this has not worked for me (I tried
OPAMFETCH=curl --insecure %{out}% %{url}%
)Reproducing
Expected behavior
Dependencies to be resolved without error
Additional context
I'm running fedora 36 on a laptop with an intel chip.
The text was updated successfully, but these errors were encountered: