Open demianmnave-pti opened 1 year ago
Is there any update or branch for this issue?
I have some DNS issues when downloading 7zip, which can be related to my provider restrictions.
This host doesn't work for me and fails with ERR_NAME_NOT_RESOLVED.
error: https://www.7-zip.org/a/7z2301-extra.7z: WinHttpSendRequest failed with exit code 12007
Nevertheless, I have the latest 7zip installed 23.1 in my build pipeline, but it still fails. How to override the 7zip URL or binary location? I tried to set VCPKG_FORCE_SYSTEM_BINARIES
and it doesn't change anything
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
Any ideas on how to fix this?
Describe the bug
vcpkg fetch 7zip
downloads 7-zip even if the system version is sufficient, and even if 'VCPKG_FORCE_SYSTEM_BINARIES' is set.Environment
Additional information (all executed from the same PoSH session):
% $env:VCPKG_FORCE_SYSTEM_BINARIES
% 7z | grep 7-Z
% Set-Location C:\Dev\vcpkg\root.git && git rev-parse HEAD
% .\vcpkg.exe --version
To Reproduce Steps to reproduce the behavior:
./vcpkg.exe fetch 7zip
Expected behavior
vcpkg fetch 7zip
finds the installed version of 7-zip.Failure logs
Additional context
ToolCacheImpl
(src/vcpkg/tools.cpp) has no way of finding tools defined in vcpkgTools.xml unless there is a corresponding implementation ofToolProvider
.