Closed jakoch closed 2 weeks ago
[DEBUG] /opt/vcpkg/downloads/freetype-2.13.2.tar.xz.15715.part has hash 9d9c6c8235174d117cf903e20d464c7586d93262e5c8b4851457e91d9e1c36188a6af735ad2cde0c4c97bc28057b6531e88e0f28bbd5efb852f981483dd16f7f error: Missing freetype-2.13.2.tar.xz and downloads are blocked by x-block-origin. error: File does not have the expected hash:
The part about downloads are blocked by x-block-origin, could be interfering with the download and changing the expected SHA512 hash?
PS G:\vcpkg> ./vcpkg version
vcpkg package management program version 2024-07-10-d2dfc73769081bdd9b782d08d27794780b7a99b9
See LICENSE.txt for license information.
Sorry I didn't repro your issue.
PS G:\vcpkg> ./vcpkg install freetype
Computing installation plan...
The following packages will be built and installed:
freetype[brotli,bzip2,core,png,zlib]:x64-windows@2.13.2#1
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\monica\AppData\Local\vcpkg\archives in 178 us. Use --debug to see more details.
Installing 1/1 freetype[brotli,bzip2,core,png,zlib]:x64-windows@2.13.2#1...
Building freetype[brotli,bzip2,core,png,zlib]:x64-windows@2.13.2#1...
-- Using cached freetype-2.13.2.tar.xz.
-- Cleaning sources at G:/vcpkg/buildtrees/freetype/src/freetype-2-dec0fa0f13.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source G:/vcpkg/downloads/freetype-2.13.2.tar.xz
-- Applying patch 0003-Fix-UWP.patch
-- Applying patch brotli-static.patch
-- Applying patch bzip2.patch
-- Applying patch fix-exports.patch
-- Using source at G:/vcpkg/buildtrees/freetype/src/freetype-2-dec0fa0f13.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Fixing pkgconfig file: G:/vcpkg/packages/freetype_x64-windows/lib/pkgconfig/freetype2.pc
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst.
-- Using msys root at G:/vcpkg/downloads/tools/msys2/1e74ca60daa10104
-- Fixing pkgconfig file: G:/vcpkg/packages/freetype_x64-windows/debug/lib/pkgconfig/freetype2.pc
-- Installing: G:/vcpkg/packages/freetype_x64-windows/share/freetype/usage
-- Performing post-build validation
Stored binaries in 1 destinations in 553 ms.
Elapsed time to handle freetype:x64-windows: 37 s
freetype:x64-windows package ABI: 8cac4cbfe262e019945b636a69d1113e0ff018f3b749c79c0215ada97acf30e1
Total install time: 37 s
freetype is compatible with built-in CMake targets:
find_package(Freetype REQUIRED)
target_link_libraries(main PRIVATE Freetype::Freetype) # since CMake 3.10
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
We haven't been able to repro this; if more information comes up, or this issue appears again, please reopen.
Package: freetype[brotli,bzip2,core,png,zlib]:x64-linux@2.13.2#1
Host Environment
To Reproduce
vcpkg install
Failure logs
Additional context
vcpkg.json
``` { "name": "fifechan", "version": "0.1.6", "description": "Fifechan is a C++ GUI library designed for games.", "homepage": "https://github.com/fifengine/fifechan", "license": "LGPL-2.1-or-later", "supports": "windows,linux,osx", "dependencies": [ "allegro5", "freetype", "sdl2", "sdl2-image", "sdl2-ttf" ], "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json" } ```My workaround is to switch from curl to aria2 downloader:
It works: