warning: The vcpkg C:\Users\haoch\Desktop\Text-to-Audio\tacotron2\vcpkg\vcpkg.exe is using detected vcpkg root C:\Users\haoch\Desktop\Text-to-Audio\tacotron2\vcpkg and ignoring mismatched VCPKG_ROOT environment value C:\Users\haoch\Downloads\vcpkg_directory\vcpkg. To suppress this message, unset the environment variable or use the --vcpkg-root command line switch.
Computing installation plan...
The following packages will be built and installed:
freetype[brotli,bzip2,core,png,zlib]:x64-windows@2.13.3
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\haoch\AppData\Local\vcpkg\archives in 147 us. Use --debug to see more details.
Installing 1/1 freetype[brotli,bzip2,core,png,zlib]:x64-windows@2.13.3...
Building freetype[brotli,bzip2,core,png,zlib]:x64-windows@2.13.3...
Downloading https://gitlab.freedesktop.org//freetype/freetype/-/archive/VER-2-13-3/freetype-VER-2-13-3.tar.gz -> freetype-freetype-VER-2-13-3.tar.gz
error: https://gitlab.freedesktop.org//freetype/freetype/-/archive/VER-2-13-3/freetype-VER-2-13-3.tar.gz: failed: status code 503
note: If you are using a proxy, please ensure your proxy settings are correct.
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 our of service.
If you believe this is not a temporary download server failure and vcpkg needs to be changed to download this file from a different location, please submit an issue to https://github.com/Microsoft/vcpkg/issues
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:124 (message):
Download failed, halting portfile.
Call Stack (most recent call first):
scripts/cmake/vcpkg_from_gitlab.cmake:113 (vcpkg_download_distfile)
ports/freetype/portfile.cmake:7 (vcpkg_from_gitlab)
scripts/ports.cmake:203 (include)
error: building freetype:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle freetype:x64-windows: 420 ms
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+freetype
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[freetype]+Build+error+on+x64-windows&body=Copy%20issue%20body%20from%20C%3A%2FUsers%2Fhaoch%2FDesktop%2FText-to-Audio%2Ftacotron2%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
Describe the bug
I encountered an issue while installing
freetype:x64-windowsviavcpkg. The installation failed due to a proxy misconfiguration error.Error Message
Steps to Reproduce
.\vcpkg install freetype:x64-windowsSystem Information
2025-03-13-7699e411ea11543de6abc0c7d5fd11cfe0039ae5