Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[boost-variant2] Build error on x64-windows #43229

Open
KleberPF opened this issue Jan 13, 2025 · 2 comments
Open

[boost-variant2] Build error on x64-windows #43229

KleberPF opened this issue Jan 13, 2025 · 2 comments
Assignees
Labels
category:question This issue is a question

Comments

@KleberPF
Copy link

Package: boost-variant2:[email protected]

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.41.34120.0
  • vcpkg-tool version: 2024-12-09-1005b78fa1bf1dde1a20c2734cba4ea61ca94d9a
    vcpkg-scripts version: d7112d1 2025-01-12 (8 hours ago)

To Reproduce

vcpkg install

Failure logs

Downloading boostorg-variant2-boost-1.85.0.tar.gz
Failed to download boostorg-variant2-boost-1.85.0.tar.gz.
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've tried directly download the link, and believe this is not a temporay download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
to report this upstream download server failure.
error: File does not have the expected hash:
url: https://github.com/boostorg/variant2/archive/boost-1.85.0.tar.gz
File: C:\dev\vcpkg\downloads\boostorg-variant2-boost-1.85.0.tar.gz.22152.part
Expected hash: 1a5fc662247f3e8437dfeec552fc3c5c380112db4a2e6b0c9e7abad1c06ec0d07dcbb528c244884f2507ac14174f4db3fadfd211e84d9bcd26a5ab5f33cb4d97
Actual hash: f4f79ab208c534a7e7a285e2722dbe14c7d810a8ad9e73dd2a6de51862b3b08928802251e8661815e5bf9f82eefd10125a984724ae4670823307edc93cd679a8
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:231 (message):
  Download failed, halting portfile.
Call Stack (most recent call first):
  scripts/cmake/vcpkg_from_github.cmake:106 (vcpkg_download_distfile)
  buildtrees/versioning_/versions/boost-variant2/71aeea8a9326c7b978940c83970790090ddcf8f9/portfile.cmake:3 (vcpkg_from_github)
  scripts/ports.cmake:196 (include)



Additional context

vcpkg.json
{
  "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
  "name": "chatterino",
  "version": "2.0.0",
  "builtin-baseline": "01f602195983451bc83e72f4214af2cbc495aa94",
  "dependencies": [
    "boost-asio",
    "boost-circular-buffer",
    "boost-foreach",
    "boost-interprocess",
    "boost-signals2",
    "boost-variant",
    {
      "name": "qt5compat",
      "default-features": false,
      "features": [
        "textcodec"
      ]
    },
    {
      "name": "qtbase",
      "default-features": false,
      "features": [
        "concurrent",
        "gui",
        "jpeg",
        "network",
        "openssl",
        "png",
        "widgets"
      ]
    },
    {
      "name": "qtimageformats",
      "default-features": false,
      "features": [
        "webp"
      ]
    },
    "qtsvg"
  ],
  "features": {
    "benchmarks": {
      "description": "Build benchamarks",
      "dependencies": [
        "benchmark"
      ]
    },
    "tests": {
      "description": "Build tests",
      "dependencies": [
        "gtest"
      ]
    }
  }
}

@greenozon
Copy link

similar to #39117

@MonicaLiu0311 MonicaLiu0311 added the category:question This issue is a question label Jan 13, 2025
@Osyotr
Copy link
Contributor

Osyotr commented Jan 13, 2025

1.85.0

You'll have to use an overlay for this. Vcpkg can't update previous versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

4 participants