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

Error while trying to call /archive/v1.2.13.tar.gz when installing vcpkg #798

Open
andresjimenezni opened this issue Mar 31, 2023 · 1 comment

Comments

@andresjimenezni
Copy link

I am trying to install vcpkg by following these steps:
git clone https://github.com/microsoft/vcpkg
.\vcpkg\bootstrap-vcpkg.bat
vcpkg install grpc:x64-windows-static

While running the last command I get an error when it is trying to access an archive folder. When I go to url: https://github.com/madler/zlib there is no archive folder available.

Similar issue you can find in: microsoft/vcpkg#30513

Error:

Downloading https://github.com/madler/zlib/archive/v1.2.13.tar.gz
error: Failed to download from mirror set
error: File does not have the expected hash:
url: https://github.com/madler/zlib/archive/v1.2.13.tar.gz
File: C:\g\vcpkg\downloads\madler-zlib-v1.2.13.tar.gz.35492.part
Expected hash: 44b834fbfb50cca229209b8dbe1f96b258f19a49f5df23b80970b716371d856a4adf525edb4c6e0e645b180ea949cb90f5365a1d896160f297f56794dd888659
Actual hash: efb856901923d5c893e73715e970c2e701e277310757156e7c53bdbc688ba7866d10855805d7618847dd1f12f3bff44532198794cf88fa7e80a579a162fb4591
[DEBUG] D:\a_work\1\s\src\vcpkg\base\downloads.cpp(956):
[DEBUG] Time in subprocesses: 0 us
[DEBUG] Time in parsing JSON: 3 us
[DEBUG] Time in JSON reader: 0 us
[DEBUG] Time in filesystem: 1957 us
[DEBUG] Time in loading ports: 0 us
[DEBUG] Exiting after 3.64 s (3636332 us)

@Neustradamus
Copy link

@andresjimenezni: Zlib 1.3.1 has been released, can you try?

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

No branches or pull requests

2 participants