-
Notifications
You must be signed in to change notification settings - Fork 17
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
GitError Class:Zlib on cloning General #7
Comments
May possibly be related to the fact that we're using libgit2 for this And julia nightly was upgraded to use libgit2-1.0.0 which has a bug which also bit the rust people and seems like it could be similar I tried to reproduce outside of julia-buildpkg, but haven't had any luck so far. Here's the script I'm using: #!/bin/bash
export JULIA_PKG_SERVER=""
export JULIA_DEPOT_PATH=$(mktemp -d)
trap "rm -Rf $JULIA_DEPOT_PATH" EXIT
julia --color=yes -e 'using Pkg; Pkg.Registry.add("General")' |
By the way, I've seen this bug in nightly CI for more than one package. |
Could you rerun the build and see if it still happens? I asked on Slack and Elliot said it may have been fixed in libgit2 1.0.1, which Julia nightly should be using now. |
Rerunning it appears this may have been fixed. I'll reopen if I see it again. |
I've just seen this error again: https://github.com/JuliaArrays/StaticArrays.jl/pull/848/checks?check_run_id=1351636719 |
I have no idea what causes this, sorry. Perhaps open an issue on Pkg and see if they have an idea? |
It seems that when this happens, it is intermittent. So I think something like #13 should fix this. |
Also, even if cloning General fails, we should still continue the build. This is what #13 does. |
Thanks #13 looks good. I haven't had time to look into this further or figure out how to reproduce. |
I've been fairly frequently getting a mysterious
GitError(Code:ERROR, Class:Zlib, error inflating zlib stream)
on julia-nightly while using julia-buildpkg.I think this might possibly only occur on Juila-nightly. Example:
https://github.com/JuliaArrays/StaticArrays.jl/pull/840/checks?check_run_id=1272952752
The text was updated successfully, but these errors were encountered: