madler / zlib

A massively spiffy yet delicately unobtrusive compression library.
http://zlib.net/
Other
5.71k stars 2.45k forks source link

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

Open andresjimenezni opened 1 year ago

andresjimenezni commented 1 year ago

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: https://github.com/microsoft/vcpkg/issues/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 commented 9 months ago

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