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-core] Build error on x64-windows-static-md-release #42031

Open
ejaysaya opened this issue Nov 7, 2024 · 3 comments
Open

[boost-core] Build error on x64-windows-static-md-release #42031

ejaysaya opened this issue Nov 7, 2024 · 3 comments
Assignees
Labels
category:question This issue is a question

Comments

@ejaysaya
Copy link

ejaysaya commented Nov 7, 2024

Copy issue body from C:/_work-mumble/vcpkg/installed/vcpkg/issue_body.md

Detecting compiler hash for triplet x86-windows-static-md-release...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x86/cl.exe
Restored 0 package(s) from C:\Users\eugdev\AppData\Local\vcpkg\archives in 3.47 ms. Use --debug to see more details.
Installing 1/233 boost-core:[email protected]...
Building boost-core:[email protected]...
C:_work-mumble\vcpkg\triplets\community\x64-windows-static-md-release.cmake: info: loaded community triplet from here. Community triplets are not built in the curated registry and are thus less likely to succeed.
-- Downloading https://github.com/boostorg/core/archive/boost-1.85.0.tar.gz -> boostorg-core-boost-1.85.0.tar.gz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Disabling metrics because vcpkg.disable-metrics exists
[DEBUG] Trying to load bundleconfig from C:_work-mumble\vcpkg\vcpkg-bundle.json
[DEBUG] Failed to open: C:_work-mumble\vcpkg\vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Feature flag 'dependencygraph' unset
Downloading https://github.com/boostorg/core/archive/boost-1.85.0.tar.gz
[DEBUG] Trying to hash C:_work-mumble\vcpkg\downloads\boostorg-core-boost-1.85.0.tar.gz.7504.part
[DEBUG] C:_work-mumble\vcpkg\downloads\boostorg-core-boost-1.85.0.tar.gz.7504.part has hash a1e774c98b537dd42018742af68f5889af1afd4e6c9809399987124e56a3b9ae2f20e8173170bc6fc0ad76fb95e2da7b9d385a4037e9ee12011fc02bf8f7e009
error: Failed to download from mirror set
error: File does not have the expected hash:
url: https://github.com/boostorg/core/archive/boost-1.85.0.tar.gz
File: C:_work-mumble\vcpkg\downloads\boostorg-core-boost-1.85.0.tar.gz.7504.part
Expected hash: 3a7be75e52f5c20830fccb9e7391a1e4556ebb072e6324df95b1ba38bed46e24f4c9f27a62a1099eddc90f2ac1ede083f0c850e2dc27fd42375d028516f675b3
Actual hash: a1e774c98b537dd42018742af68f5889af1afd4e6c9809399987124e56a3b9ae2f20e8173170bc6fc0ad76fb95e2da7b9d385a4037e9ee12011fc02bf8f7e009
[DEBUG] D:\a_work\1\s\src\vcpkg\base\downloads.cpp(997):
[DEBUG] Time in subprocesses: 0us
[DEBUG] Time in parsing JSON: 2us
[DEBUG] Time in JSON reader: 0us
[DEBUG] Time in filesystem: 254us
[DEBUG] Time in loading ports: 0us
[DEBUG] Exiting after 1.4 s (1367281us)

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):

  Failed to download file with error: 1
  If you are using 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. 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 out of service.

  If you've tried directly download the link, and believe this is not a temporary
  download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
  to report this upstream download server failure.

Call Stack (most recent call first):
scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail)
scripts/cmake/vcpkg_from_github.cmake:106 (vcpkg_download_distfile)
ports/boost-core/portfile.cmake:3 (vcpkg_from_github)
scripts/ports.cmake:175 (include)

error: building boost-core:x64-windows-static-md-release failed with: BUILD_FAILED
Elapsed time to handle boost-core:x64-windows-static-md-release: 1.4 s
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+boost-core
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[boost-core]+Build+error+on+x64-windows-static-md-release&body=Copy+issue+body+from+C%3A%2F_work-mumble%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

Copy link

github-actions bot commented Nov 7, 2024

Please see #30604 for how to properly report a build failure.

@dg0yt
Copy link
Contributor

dg0yt commented Nov 7, 2024

Move your baseline to a8954b9 (boost-core 1.85.0#2). Boost changed the content of 1.85.0, so hashes had to be updated.

@ejaysaya
Copy link
Author

ejaysaya commented Nov 7, 2024

so what i did was downloaded the latest from https://github.com/microsoft/vcpkg/ instead of https://github.com/mumble-voip/vcpkg but we'll see.. THANKS! i'll let you know later again coz i have reset all i did

@Cheney-W Cheney-W added the category:question This issue is a question label Nov 8, 2024
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

3 participants