Closed larixsoft closed 1 year ago
I got this issue as well. It seems that MSYS is deleting old ports. Is there any archive for them?
Updating the msys version is a patching of current problems. The problem is deeper. I caught a similar error when trying to rebuild a project that hasn't changed in a year. It turns out that using vcpkg I cannot guarantee the possibility of rebuilding in a month / year. The solution to the problem is that vcpkg must download dependencies from its own mirror, on which files are stored for a long time.
Duplicate of https://github.com/microsoft/vcpkg/issues/30542
@JonLiu1993 is this going to be fixed? our pipeline (MSFT internal) is failing due to this
@yanggaome, This issue is fixed by PR https://github.com/microsoft/vcpkg/pull/30546, please rerun your pipeline.
Host Environment
To Reproduce
Steps to reproduce the behavior:
vcpkg install qtbase
Failure logs
C:\vcpkg>vcpkg.exe install qtbase warning: Starting with the September 2023 release, the default triplet for vcpkg libraries will change from x86-windows to the detected host triplet (x64-windows). To resolve this message, add --triplet x86-windows to keep the same behavior. Computing installation plan... The following packages will be built and installed:
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:26 (vcpkg_download_distfile) scripts/cmake/vcpkg_acquire_msys.cmake:67 (z_vcpkg_acquire_msys_download_package) scripts/cmake/vcpkg_acquire_msys.cmake:345 (z_vcpkg_acquire_msys_declare_package) scripts/cmake/vcpkg_configure_make.cmake:224 (vcpkg_acquire_msys) ports/icu/portfile.cmake:55 (vcpkg_configure_make) scripts/ports.cmake:147 (include)
error: building icu:x64-windows failed with: BUILD_FAILED error: Please ensure you're using the latest port files with
git pull
andvcpkg update
. Then check for known issues at: https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+icu You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[icu]+Build+error Include '[icu] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above. vcpkg-tool version: 2023-02-16-12e657924d99511514c0287ca5ce46882d3657c7 vcpkg-scripts version: 5b1214315 2023-03-30 (6 hours ago)