-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Description
Environment
- OS: windows11
- Compiler: VS2019 16.11.25
vcpkg.json content
{
"name": "xxx",
"version-string": "0.1.0",
"dependencies": [
{
"name": "gdal",
"version>=": "3.5.1#5"
},
{
"name": "proj",
"version>=": "9.0.1#1"
},
{
"name": "librdkafka",
"version>=": "1.8.2#2"
},
{
"name": "libwebp",
"version>=": "1.2.4"
},
{
"name": "cpp-httplib",
"version>=": "0.11.3#1"
}
],
"builtin-baseline": "b51f391cd8f1f5a406b3baf9b014acff61702dc3"
}
Describe the bug
Many .pkg.tar.zst files failed to download. these links can not be arrived and some links are 404 not found.
**And these warnings: **
[CMake] [DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset.
1> [CMake] [DEBUG] To include the environment variables in debug output, pass --debug-env
1> [CMake] [DEBUG] Trying to load bundleconfig from C:\dev\vcpkg\vcpkg-bundle.json
1> [CMake] [DEBUG] Failed to open: C:\dev\vcpkg\vcpkg-bundle.json
1> [CMake] [DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
1> [CMake] [DEBUG] Metrics enabled.
1> [CMake] [DEBUG] Feature flag 'binarycaching' unset
1> [CMake] [DEBUG] Feature flag 'compilertracking' unset
1> [CMake] [DEBUG] Feature flag 'registries' unset
1> [CMake] [DEBUG] Feature flag 'versions' unset
1> [CMake] Downloading https://repo.msys2.org/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst
1> [CMake] Downloading https://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst
1> [CMake] Downloading https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst
1> [CMake] Downloading https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst
1> [CMake] Downloading https://mirrors.ustc.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst
1> [CMake] Downloading https://mirror.bit.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst
1> [CMake] warning: Download failed -- retrying after 1000ms
1> [CMake] warning: Download failed -- retrying after 2000ms
1> [CMake] warning: Download failed -- retrying after 4000ms
1> [CMake] Downloading https://mirror.selfnet.de/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst
1> [CMake] Downloading https://mirrors.sjtug.sjtu.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst
1> [CMake] error: Failed to download from mirror set
1> [CMake] error: https://repo.msys2.org/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: failed: status code 404
1> [CMake] error: https://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: failed: status code 404
1> [CMake] error: https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: failed: status code 404
1> [CMake] error: https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: failed: status code 404
1> [CMake] error: https://mirrors.ustc.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: failed: status code 404
1> [CMake] error: https://mirror.bit.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: WinHttpSendRequest failed with exit code 12029
1> [CMake] error: https://mirror.bit.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: WinHttpSendRequest failed with exit code 12029
1> [CMake] error: https://mirror.bit.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: WinHttpSendRequest failed with exit code 12029
1> [CMake] error: https://mirror.bit.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: WinHttpSendRequest failed with exit code 12029
1> [CMake] error: https://mirror.selfnet.de/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: failed: status code 404
1> [CMake] error: https://mirrors.sjtug.sjtu.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: failed: status code 404
1> [CMake] [DEBUG] D:\a_work\1\s\src\vcpkg\base\downloads.cpp(960):
1> [CMake] [DEBUG] Time in subprocesses: 0us
1> [CMake] [DEBUG] Time in parsing JSON: 6us
1> [CMake] [DEBUG] Time in JSON reader: 0us
1> [CMake] [DEBUG] Time in filesystem: 4614us
1> [CMake] [DEBUG] Time in loading ports: 0us
1> [CMake] [DEBUG] Exiting after 19.2900203 s (19273418us)
1> [CMake]
1> [CMake] CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):
1> [CMake]
1> [CMake] Failed to download file with error: 1
1> [CMake] If you are using a proxy, please check your proxy setting. Possible causes are:
1> [CMake]
1> [CMake] 1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
1> [CMake] to https://address:port. This is not correct, because https:// prefix
1> [CMake] claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
1> [CMake] , etc..) is an HTTP proxy. Try setting http://address:port to both
1> [CMake] HTTP_PROXY and HTTPS_PROXY instead.
1> [CMake]
1> [CMake] 2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
1> [CMake] set by your proxy software. See microsoft/vcpkg-tool#77
1> [CMake] The value set by your proxy might be wrong, or have same https:// prefix issue.
1> [CMake]
1> [CMake] 3. Your proxy's remote server is out of service.
1> [CMake]
1> [CMake] If you've tried directly download the link, and believe this is not a temporary
1> [CMake] download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
1> [CMake] to report this upstream download server failure.
1> [CMake]
1> [CMake]
1> [CMake] Call Stack (most recent call first):
1> [CMake] scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail)
1> [CMake] scripts/cmake/vcpkg_acquire_msys.cmake:26 (vcpkg_download_distfile)
1> [CMake] scripts/cmake/vcpkg_acquire_msys.cmake:67 (z_vcpkg_acquire_msys_download_package)
1> [CMake] scripts/cmake/vcpkg_acquire_msys.cmake:345 (z_vcpkg_acquire_msys_declare_package)
1> [CMake] scripts/cmake/vcpkg_configure_make.cmake:257 (vcpkg_acquire_msys)
1> [CMake] buildtrees/versioning_/versions/libiconv/4226589d5d658f4d96df83f8539de54dc57a5996/portfile.cmake:29 (vcpkg_configure_make)
1> [CMake] scripts/ports.cmake:147 (include)
1> [CMake] 错误:生成 libiconv:x64-windows 失败,结果为: BUILD_FAILED
1> [CMake] 错误:请确保使用具有“git pull” 和 “vcpkg update”的最新端口文件。
1> [CMake] 然后,在以下位置查看已知问题:
1> [CMake] https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libiconv
1> [CMake] 可在以下位置提交新问题:
1> [CMake] https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[libiconv]+Build+error
1> [CMake] 在 Bug 报告标题中包含“[libiconv] 内部版本错误”,bug 描述中的以下版本信息,并从上面附加任何相关的失败日志。
1> [CMake] vcpkg-tool version: 2023-03-14-105f7f7e8a5ea10dfac9874ff9d1a6bacba5f454
1> [CMake] vcpkg-scripts version: b51f391 2023-03-16 (3 weeks ago)
1> [CMake]
1> [CMake]
1> [CMake] 报告问题时,请使用 C:\Users\xxxx\source\repos\xxxxx\out\build\x64-RelWithDebInfo\vcpkg_installed\vcpkg\issue_body.md 中的预填充模板。
1> [CMake] -- Running vcpkg install - failed
1> [CMake] CMake Error at C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:892 (message):
1> [CMake] vcpkg install failed. See logs for more information:
1> [CMake] C:\Users\xxx\source\repos\xxxx\out\build\x64-RelWithDebInfo\vcpkg-manifest-install.log
1> [CMake] Call Stack (most recent call first):
1> [CMake] C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.20/Modules/CMakeDetermineSystem.cmake:123 (include)
1> [CMake] CMakeLists.txt:6 (project)
1> [CMake] -- Configuring incomplete, errors occurred!
1> “C:\WINDOWS\system32\cmd.exe”“/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\xxxx\source\repos\xxxx\out\install\x64-RelWithDebInfo" -DCMAKE_TOOLCHAIN_FILE:STRING="C:\dev\vcpkg\scripts\buildsystems\vcpkg.cmake" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "C:\Users\xxxx\source\repos\xxxx" 2>&1"”执行失败,出现错误:““C:\WINDOWS\system32\cmd.exe”“/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\xxxxx\source\repos\xxxxx\out\install\x64-RelWithDebInfo" -DCMAKE_TOOLCHAIN_FILE:STRING="C:\dev\vcpkg\scripts\buildsystems\vcpkg.cmake" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "C:\Users\xxxx\source\repos\xxxxx" 2>&1"”已返回,并带有退出代码: 1”。