Closed stq054188 closed 4 years ago
@stq054188, from your log, looks boost-1.72.0/LICENSE_1_0.txt file download failed, could you please try following workaround:
BTW, boost currently upgrade to 1.73.0 in vcpkg, you can get latest source and try again.
set the HTTPS_PROXY and HTTP_PROXY environment
Works for me
Close this issue and use https://github.com/microsoft/vcpkg/issues/12383 to track.
Host Environment----
To Reproduce Steps to reproduce the behavior: ./vcpkg install pcl
Failure logs D:\vcpkg\vcpkg-2020.04>vcpkg install pcl Computing installation plan... The following packages will be built and installed:
zstd[core]:x86-windows Additional packages (*) will be modified to complete this operation. Starting package 1/120: boost-compatibility:x86-windows Building package boost-compatibility[core]:x86-windows... Warning: The following VS instances are excluded because the English language pack is unavailable. D:\VS2017 Please install the English language pack. -- Using cached D:/vcpkg/vcpkg-2020.04/downloads/boostorg-compatibility-boost-1.72.0.tar.gz -- Using source at D:/vcpkg/vcpkg-2020.04/buildtrees/boost-compatibility/src/ost-1.72.0-dbb6fd6ce1 -- Packaging headers -- Packaging headers done -- Downloading https://raw.githubusercontent.com/boostorg/boost/boost-1.72.0/LICENSE_1_0.txt... -- Downloading https://raw.githubusercontent.com/boostorg/boost/boost-1.72.0/LICENSE_1_0.txt... Failed. Status: 6;"Couldn't resolve host name" 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): installed/x86-windows/share/boost-vcpkg-helpers/boost-modular-headers.cmake:17 (vcpkg_download_distfile) ports/boost-compatibility/portfile.cmake:14 (boost_modular_headers) scripts/ports.cmake:90 (include)
Error: Building package boost-compatibility: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-compatibility:x86-windows Vcpkg version: 2020.02.04-nohashAdditionally, attach any relevant sections from the log files above.
Additional context reference: https://github.com/Microsoft/vcpkg/issues/6183 I have checked there was no space characters in the path, I can't find where the mistake is.