Closed UnknownObject000 closed 4 years ago
I have tried to access the download URL using my web browser and I can download this file successfully.
@UnknownObject000, could you try the workaround in https://github.com/microsoft/vcpkg/issues/12599#issuecomment-664725171
You can see more information in issue https://github.com/microsoft/vcpkg/issues/12383
@UnknownObject000, could you try the workaround in #12599 (comment)
You can see more information in issue #12383
It works
Host Environment
To Reproduce Steps to reproduce the behavior:
./vcpkg install boost
Failure logs Your feedback is important to improve Vcpkg! Please take 3 minutes to complete our survey by running: vcpkg contact --survey Computing installation plan... The following packages will be built and installed: boost[core]:x86-windows
Additional packages (*) will be modified to complete this operation. Starting package 1/117: boost-build:x86-windows Building package boost-build[core]:x86-windows...
-- Using cached F:/vcpkg/downloads/boostorg-build-boost-1.73.0.tar.gz
-- Using source at F:/vcpkg/buildtrees/boost-build/src/ost-1.73.0-018fb008dd
-- Downloading https://raw.githubusercontent.com/boostorg/boost/boost-1.73.0/boostcpp.jam...
-- Downloading https://raw.githubusercontent.com/boostorg/boost/boost-1.73.0/boostcpp.jam... Failed. Status: 22;"HTTP response code said error"
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:175 (message):
Failed to download file.
If you use a proxy, please set the HTTPS_PROXY and HTTP_PROXY environment variables to "https://user:password@your-proxy-ip-address:port/".
Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues
Call Stack (most recent call first):
ports/boost-build/portfile.cmake:27 (vcpkg_download_distfile)
scripts/ports.cmake:76 (include)
Error: Building package boost-build:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with
.\vcpkg update
, then submit an issue at https://github.com/Microsoft/vcpkg/issues including:Package: boost-build:x86-windows
Vcpkg version: 2020.02.04-nohash
Additionally, attach any relevant sections from the log files above.
Additional context This happens when I updating packages with
vcpkg upgrade --no-dry-run
. So I tried to install it again usingvcpkg install boost
, but I failed.