You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you please suggest where do I make this change?
I replaced the existing hash in the ports/protobuf/portfile.cmake with "expected hash", but it did not work.
Operating system
Linux
Compiler
GCC
Steps to reproduce the behavior
change the version in the vcpkg/ports/protobuf.vcpkg.json to 3.21.12
./vcpkg install protobuf:x64-linux --overlay-ports=/path to vcpkg/ports/protobuf
Failure logs
[DEBUG] Failed to open: /mnt/d/SourceCode/vcpkg/vcpkg/vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[DEBUG] Metrics enabled.
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Feature flag 'dependencygraph' unset
[DEBUG] 1000: execute_process(curl --fail -L https://github.com/protocolbuffers/protobuf/archive/v3.21.12.tar.gz --create-dirs --output /mnt/d/SourceCode/vcpkg/vcpkg/downloads/protocolbuffers-protobuf-v3.21.12.tar.gz.51761.part)
[DEBUG] 1000: cmd_execute_and_stream_data() returned 0 after 1653567 us
[DEBUG] Trying to hash /mnt/d/SourceCode/vcpkg/vcpkg/downloads/protocolbuffers-protobuf-v3.21.12.tar.gz.51761.part
[DEBUG] /mnt/d/SourceCode/vcpkg/vcpkg/downloads/protocolbuffers-protobuf-v3.21.12.tar.gz.51761.part has hash 152f8441c325e808b942153c15e82fdb533d5273b50c25c28916ec568ada880f79242bb61ee332ac5fb0d20f21239ed6f8de02ef6256cc574b1fc354d002c6b0
error: Missing protocolbuffers-protobuf-v3.21.12.tar.gz and downloads are blocked by x-block-origin.
error: File does not have the expected hash:
url: https://github.com/protocolbuffers/protobuf/archive/v3.21.12.tar.gz
File: /mnt/d/SourceCode/vcpkg/vcpkg/downloads/protocolbuffers-protobuf-v3.21.12.tar.gz.51761.part
Expected hash: ce81add9d978a6b63d4205715eac5084e81a6753da1f6c6bad6493e60253215901bffc4a60d704a873333f2b9f94fd86cb7eb5b293035f2268c12692bd808bac
Actual hash: 152f8441c325e808b942153c15e82fdb533d5273b50c25c28916ec568ada880f79242bb61ee332ac5fb0d20f21239ed6f8de02ef6256cc574b1fc354d002c6b0
[DEBUG] /source/src/vcpkg/base/downloads.cpp(1030):
Additional context
Need to install 3.21.12 version of protobuf, not the latest one. Please suggest a fix.
The text was updated successfully, but these errors were encountered: