-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[gmp] Build error: Failed to download from mirror set #30530
Comments
Can your network access https://repo.msys2.org/msys/x86_64/? Please make sure the network is normal. |
I can access https://repo.msys2.org/msys/x86_64/ but cannot access https://repo.msys2.org/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst, this page returns a 404 error, which, as far as I know, means that such a page does not exist as such. This is too old version of the package, it needs to be replaced with a new one. |
This address can be accessed normally. (https://mirror.bit.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst) The download of msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst is tried in multiple urls, as long as there is one that can be downloaded, there is no problem. |
Okay, I got it, thanks. It looks like the only available url to download this package is not available with WinHttpSendRequest exit code 12007. This is indeed a network issue. Last question. Can I get a solution to this problem? |
You can set up a proxy or go through a VPN to access that url. This is not a vcpkg problem, I will close this issue. If you have other questions about vcpkg, you can resubmit an issue. |
Okay, thanks for the help. |
We are running into this issue as well, it looks like msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst is also no longer available in any of the mirrors so it can't be downloaded. |
This is a vcpkg problem. The file will quickly disappear from all mirrors. The immediate fix is coming in #30546. |
This is still happening from a clean install of vcpkg. |
No fix merged yet, but you know now which change to cherry-pick. vcpkg Ci must rebuild a lot of ports for msys2 changes. |
It is not normal, but such cases exist. This issue has gmp in its subject. For this particular port, you should install clang-cl from Visual Studio. Otherwise it will download and extract the official clang. I assume that this takes very long: Some people reported vcpkg would "hang" on downloading 7Z but nobody actually verified that it was slow extracting of llvm using the quickly downloaded 7Z... |
We have fixed this issue in PR #30546, you can try to update |
Thanks for your reply! I download the recent vcpkg-master and fixed it! THX |
Host Environment
OS: Windows
Steps to reproduce the behavior:
./vcpkg install gmp
Failure logs:
Additional context:
It seems like gmp is using msys2-runtime-3.2.0-8-x86_64, which is no longer available.
URL for package download (https://mirror.bit.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst) is not available with WinHttpSendRequest exit code 12007
The text was updated successfully, but these errors were encountered: