Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libmagic] build failure #43565

Open
as-ascii opened this issue Jan 31, 2025 · 2 comments
Open

[libmagic] build failure #43565

as-ascii opened this issue Jan 31, 2025 · 2 comments
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@as-ascii
Copy link

Operating system

x64-windows

Compiler

MSVC

Steps to reproduce the behavior

vcpkg install libmagic

Failure logs

Installing 92/120 libmagic:x64-windows@5.46...
Building libmagic:x64-windows@5.46...
Downloading https://github.com/file/file/archive/FILE5_46.tar.gz -> file-file-FILE5_46.tar.gz
D:\a\docwire\docwire\vcpkg\downloads\file-file-FILE5_46.tar.gz.740.part: error: download from https://github.com/file/file/archive/FILE5_46.tar.gz had an unexpected hash
note: Expected: 9165bb5bdbe7b8fccac0c8675d4eb251a286ab2ab7a79e6f8ed98d36fa0928b889cf109c1da3a5cfff64d1b1006b5d73934c2d420484adae6f4c8e26a9ede18f
note: Actual : fb8157ee8065feaf57412ccdeee57cd8fc853b54ac49b0ddc818eeb1ca3555a7cfd25dea08996503f7c565dcba8c57fd7e4dc5fe3452872c617f5612a94a8f0e
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_github.cmake:106 (vcpkg_download_distfile)
ports/libmagic/portfile.cmake:21 (vcpkg_from_github)
scripts/ports.cmake:196 (include)

See also: https://github.com/docwire/docwire/actions/runs/13065608685/job/36491110203

Additional context

No response

@as-ascii as-ascii added the category:port-bug The issue is with a library, which is something the port should already support label Jan 31, 2025
@as-ascii
Copy link
Author

The URL is working, file looks like a correct archive but hash is incorrect, File was probably replaced by upstream but better to be safe and double check.

@rjzak
Copy link

rjzak commented Feb 1, 2025

I'm also having this issue. PR: #42939, commit hash ddcee8f.

rjzak added a commit to malwaredb/malwaredb-rs that referenced this issue Feb 1, 2025
* Microsoft vcpkg is broken: microsoft/vcpkg#43565
* This change might not be needed or useful

Signed-off-by: Richard Zak <richard.j.zak@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

No branches or pull requests

2 participants