vcpkg-tool version: 2023-01-24-8a88d63f241d391772fbde69af9cab96c3c64c75
vcpkg-scripts version: 91dd61bd4 2023-01-27 (3 days ago)
To Reproduce
vcpkg install boost-preprocessor:x64-windows
Failure logs
-- Downloading https://github.com/boostorg/preprocessor/archive/boost-1.81.0.tar.gz -> boostorg-preprocessor-boost-1.81.0.tar.gz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
Downloading https://github.com/boostorg/preprocessor/archive/boost-1.81.0.tar.gz
error: Failed to download from mirror set
error: File does not have the expected hash:
url: https://github.com/boostorg/preprocessor/archive/boost-1.81.0.tar.gz
File: C:\vcpkg\downloads\boostorg-preprocessor-boost-1.81.0.tar.gz.13108.part
Expected hash: f6905f711c957dceb83170a79b13487a1dfc237699a4ce1d1efaa1fa47ad93b66f0032b5585d53c3f771409e30da8f866eb4fc317ea7c21b1f42a46d9943339e
Actual hash: ec1fcb1d1917f9291dcb5959f28edc6be0f0fcfe1579a884470126e2c01d6153e72b7b962fa46c994e307e87ce21aaaaf3aaf644af82611c22a9076a75f65698
[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: 727 us
[DEBUG] Time in loading ports: 0 us
[DEBUG] Exiting after 906.6 ms (896598 us)
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):
Failed to download file with error: 1
If you use a proxy, please check your proxy setting. Possible causes are:
1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
to `https://address:port`. This is not correct, because `https://` prefix
claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
, etc..) is an HTTP proxy. Try setting `http://address:port` to both
HTTP_PROXY and HTTPS_PROXY instead.
2. You are using Fiddler. Currently a bug (https://github.com/microsoft/vcpkg/issues/17752)
will set HTTPS_PROXY to `https://fiddler_address:port` which lead to problem 1 above.
Workaround is open Windows 10 Settings App, and search for Proxy Configuration page,
Change `http=address:port;https=address:port` to `address`, and fill the port number.
3. Your proxy's remote server is out of service.
In future vcpkg releases, if you are using Windows, you no longer need to set
HTTP(S)_PROXY environment variables. Vcpkg will simply apply Windows IE Proxy
Settings set by your proxy software. See (https://github.com/microsoft/vcpkg-tool/pull/49)
and (https://github.com/microsoft/vcpkg-tool/pull/77)
Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues
Call Stack (most recent call first):
scripts/cmake/vcpkg_download_distfile.cmake:273 (z_vcpkg_download_distfile_show_proxy_and_fail)
scripts/cmake/vcpkg_from_github.cmake:106 (vcpkg_download_distfile)
ports/boost-preprocessor/portfile.cmake:3 (vcpkg_from_github)
scripts/ports.cmake:147 (include)
Additional context
It appears that there is a hash mismatch?
Originally I wanted to vcpkg install ublas:x64-windows but was stuck here.
There was one time that I "Control-C"'ed the install. Not sure if that matters. Then I completely deleted C:\vcpkg\downloads and still has this error.
Package: boost-preprocessor[core]:x64-windows -> 1.81.0
Host Environment
To Reproduce
vcpkg install boost-preprocessor:x64-windows
Failure logs
Additional context
It appears that there is a hash mismatch?
Originally I wanted to
vcpkg install ublas:x64-windows
but was stuck here.There was one time that I "Control-C"'ed the install. Not sure if that matters. Then I completely deleted
C:\vcpkg\downloads
and still has this error.I am not using any proxy, as far as I know.