Replies: 3 comments 3 replies
|
Do you use vcpkg from Visual Studio? It may be too old. |
0 replies
|
Building some ports relies on the environment provided by MSYS2. It is a rolling distribution of tools from the POSIX world. Binary packages are removed app. 18 months after an MSYS2 update ATM. Either update vcpkg, or keep your own cache/copies of the packages. |
0 replies
|
But If I try to update vcpkg adding to the vcpkg_configuration a new commit from vcpkg github didn't have to be updated the new packages? |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi I'm trying to update and upgrade the libraries in vcpkg and when I update de baseline in mi vcpkg-configuration.json I get an error when try to find repositories.
The steps I follow has been:
and here I get this message
vcpkg install
warning: In the September 2023 release, the default triplet for vcpkg libraries changed from x86-windows to the detected host triplet (x64-windows). For the old behavior, add --triplet x86-windows . To suppress this message, add --triplet x64-windows .
Fetching registry information from https://github.com/microsoft/vcpkg (HEAD)...
Detecting compiler hash for triplet x64-windows...
The following packages will be built and installed:
curl[core,non-http,ssl,sspi]:x64-windows@8.17.0 -- C:\Users\Jose.larrubia\AppData\Local\vcpkg\registries\git-trees\e5ec3165c979aad7e25d907ffb82e7b6ad0f8f92
dcmtk[core,iconv,openssl]:x64-windows@3.6.9#2 -- C:\Users\Jose.larrubia\AppData\Local\vcpkg\registries\git-trees\0ff9c4eff525cb8cf1d04bf9952dc9446c3eef3a
freetype[brotli,bzip2,core,png,zlib]:x64-windows@2.13.3 -- C:\Users\Jose.larrubia\AppData\Local\vcpkg\registries\git-trees\8a2c633dcc14eaabdb31cf4637242f4e3c2f3fa2
ftgl:x64-windows@2.4.0#7 -- C:\Users\Jose.larrubia\AppData\Local\vcpkg\registries\git-trees\f843533b76f9fcf6de408ba47855ceb3b0ce3415
gdcm:x64-windows@3.0.24 -- C:\Users\Jose.larrubia\AppData\Local\vcpkg\registries\git-trees\a261e8eb0faf299319bdb0ecfc4ebf76a449bc19
poco[core,crypto,json,net,netssl,util,xml]:x64-windows@1.14.1#2 -- C:\Users\Jose.larrubia\AppData\Local\vcpkg\registries\git-trees\1b7c8e1c9662ffc308a12a2382fdbd3ac105801c
sentry-native[backend,core,transport,wer]:x64-windows@0.12.2 -- C:\Users\Jose.larrubia\AppData\Local\vcpkg\registries\git-trees\c192a5c23ae25ce741babf00033762cb75add730
Additional packages (*) will be modified to complete this operation.
Restored 0 package(s) from C:\Users\Jose.larrubia\AppData\Local\vcpkg\archives in 2.59 ms. Use --debug to see more details.
Installing 1/25 vcpkg-cmake:x64-windows@2024-04-23...
Building vcpkg-cmake:x64-windows@2024-04-23...
-- Installing port from location: C:\Users\Jose.larrubia\AppData\Local\vcpkg\registries\git-trees\e74aa1e8f93278a8e71372f1fa08c3df420eb840
-- Installing: C:/Dev/Workstation/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake
-- Installing: C:/Dev/Workstation/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake
-- Installing: C:/Dev/Workstation/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake
-- Installing: C:/Dev/Workstation/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake
-- Installing: C:/Dev/Workstation/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 277 ms.
Elapsed time to handle vcpkg-cmake:x64-windows: 684 ms
vcpkg-cmake:x64-windows package ABI: 1b1948d209dbc1d109b4a2f45d6819bd3265eb61e9ce9680de0fdc81a33122da
Installing 2/25 zlib:x64-windows@1.3.1...
Building zlib:x64-windows@1.3.1...
-- Installing port from location: C:\Users\Jose.larrubia\AppData\Local\vcpkg\registries\git-trees\3f05e04b9aededb96786a911a16193cdb711f0c9
-- Using cached madler-zlib-v1.3.1.tar.gz.
-- Extracting source C:/Users/Jose.larrubia/AppData/Local/vcpkg/downloads/madler-zlib-v1.3.1.tar.gz
-- Applying patch 0001-Prevent-invalid-inclusions-when-HAVE_-is-set-to-0.patch
-- Applying patch 0002-build-static-or-shared-not-both.patch
-- Applying patch 0003-android-and-mingw-fixes.patch
-- Using source at C:/Dev/Workstation/vcpkg_installed/vcpkg/blds/zlib/src/v1.3.1-2e5db616bf.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: C:/Dev/Workstation/vcpkg_installed/vcpkg/pkgs/zlib_x64-windows/share/zlib/vcpkg-cmake-wrapper.cmake
-- Fixing pkgconfig file: C:/Dev/Workstation/vcpkg_installed/vcpkg/pkgs/zlib_x64-windows/lib/pkgconfig/zlib.pc
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst -> mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Trying to load bundleconfig from C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\vcpkg\vcpkg-bundle.json
[DEBUG] Bundle config: readonly=true, usegitregistry=true, embeddedsha=000d1bda1ffa95a73e0b40334fa4103d6f4d3d48, deployment=VisualStudio, vsversion=17.0
[DEBUG] VS telemetry opted in at SOFTWARE\WOW6432Node\Microsoft\VSCommon\17.0\SQM\OptIn
[DEBUG] Metrics enabled.
[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://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst
Downloading https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst
Downloading https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst
Downloading https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst
Downloading https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst
Downloading https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst
error: Failed to download from mirror set
error: https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst: failed: status code 404
error: https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst: failed: status code 404
error: https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst: failed: status code 404
error: https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst: failed: status code 404
error: https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst: failed: status code 404
error: https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst: failed: status code 404
[DEBUG] D:\a_work\1\s\src\vcpkg\base\downloads.cpp(1048):
[DEBUG] Time in subprocesses: 0us
[DEBUG] Time in parsing JSON: 29us
[DEBUG] Time in JSON reader: 0us
[DEBUG] Time in filesystem: 16494us
[DEBUG] Time in loading ports: 0us
[DEBUG] Exiting after 5.7 s (5689300us)
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):
Call Stack (most recent call first):
scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail)
scripts/cmake/vcpkg_acquire_msys.cmake:25 (vcpkg_download_distfile)
scripts/cmake/vcpkg_acquire_msys.cmake:124 (z_vcpkg_acquire_msys_download_package)
scripts/cmake/vcpkg_acquire_msys.cmake:209 (z_vcpkg_acquire_msys_download_packages)
scripts/cmake/vcpkg_find_acquire_program(PKGCONFIG).cmake:35 (vcpkg_acquire_msys)
scripts/cmake/vcpkg_find_acquire_program.cmake:117 (include)
scripts/cmake/vcpkg_fixup_pkgconfig.cmake:203 (vcpkg_find_acquire_program)
C:/Users/Jose.larrubia/AppData/Local/vcpkg/registries/git-trees/3f05e04b9aededb96786a911a16193cdb711f0c9/portfile.cmake:43 (vcpkg_fixup_pkgconfig)
scripts/ports.cmake:170 (include)
error: building zlib:x64-windows failed with: BUILD_FAILED
Elapsed time to handle zlib:x64-windows: 22 s
Please ensure you're using the latest port files with
git pullandvcpkg update.Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+zlib
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[zlib]+Build+error+on+x64-windows&body=Copy+issue+body+from+C%3A%2FDev%2FWorkstation%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
Is a error of the version or I'm doing wrong?
All reactions