-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Error during precompile stage of building v1.6.1 - GitError(Code:ERROR, Class:SSL, failed to load CA certificates... #41019
Comments
(As discussed on slack) This is #39289 but popping up during build, which is unfortunate. I don't know how valid it is, but a slightly inelegant workaround is to install a prebuilt julia binary and set the env var import NetworkOptions
NetworkOptions.bundled_ca_roots() Taken from #39289 (comment) Then the fix in that comment can be used once built, and the prebuilt binary removed |
Okay I've managed to get the build working by passing the path to valid certificate bundle with the right heading On Fedora 32, there are two locations where the certs are stored. Furthermore, unless I am wrong, the build specifically look for ca-certificates.crt within Once built and installed, modify the global, or local Julia startup file or invoking @eval Module() begin
import NetworkOptions
ENV["JULIA_SSL_CA_ROOTS_PATH"] = NetworkOptions.bundled_ca_roots()
end This will force Julia to use the bundled CA certs under Just for referrence, another mention of this issue |
I git checkout v1.6.1 and attempted a build. It went mostly smoothly until the precompile stage.
Several notable errors
Below is a more complete log
https://gist.github.com/Fatmice/4a68a43611d9721f5d29225d5fd51007
Others have reported something similar at #40185
What do to now? I did not have this problem with git checkout v1.5.3
The text was updated successfully, but these errors were encountered: