Open moemoequte opened 10 months ago
Try updating your vcpkg version via git pull
to resolve this issue. MSYS2 downloads are removed from the upstream servers from time to time, so using an up-to-date vcpkg version is necessary.
Try updating your vcpkg version via
git pull
to resolve this issue. MSYS2 downloads are removed from the upstream servers from time to time, so using an up-to-date vcpkg version is necessary.
I have update my vcpkg, but issue still occurs, and download link reply 404 not found
I can confirm that updating vcpkg with git pull
is not resolving the issue.
Make sure you are not using an old fork or tag.
Hi !
I think i got the same issue on OCIO when trying to build OpenRV
As you can see, i got errors on the same domain as this issue
@OlivierArgentieri Again, outdated vcpkg scripts. In this case hard-coded in OpenRV's vcpkg integration via ExternalProject. They could clone vcpkg master, and define the desired baseline in the manifest, instead of cloning the desired baseline version.
@dg0yt Thank you for your time, i will investigate in this way 👍
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.
Operating system
Windows
Compiler
MSVC
Steps to reproduce the behavior
Failure logs
PS C:\vcpkg> vcpkg install ffmpeg warning: Starting with the September 2023 release, the default triplet for vcpkg libraries will change from x86-windows to the detected host triplet (x64-windows). To resolve this message, add --triplet x86-windows to keep the same behavior. Computing installation plan... The following packages will be built and installed: ffmpeg[avcodec,avdevice,avfilter,avformat,core,swresample,swscale]:x86-windows -> 5.1.2#6 Detecting compiler hash for triplet x86-windows... Restored 0 package(s) from C:\Users\23761\AppData\Local\vcpkg\archives in 89.1 us. Use --debug to see more details. Installing 1/1 ffmpeg:x86-windows... Building ffmpeg[avcodec,avdevice,avfilter,avformat,core,swresample,swscale]:x86-windows... -- Using cached ffmpeg-ffmpeg-n5.1.2.tar.gz. -- Cleaning sources at C:/vcpkg/buildtrees/ffmpeg/src/n5.1.2-f31542651f.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source C:/vcpkg/downloads/ffmpeg-ffmpeg-n5.1.2.tar.gz -- Applying patch 0001-create-lib-libraries.patch -- Applying patch 0002-fix-msvc-link.patch -- Applying patch 0003-fix-windowsinclude.patch -- Applying patch 0004-fix-debug-build.patch -- Applying patch 0005-fix-nasm.patch -- Applying patch 0006-fix-StaticFeatures.patch -- Applying patch 0007-fix-lib-naming.patch -- Applying patch 0009-Fix-fdk-detection.patch -- Applying patch 0011-Fix-x265-detection.patch -- Applying patch 0012-Fix-ssl-110-detection.patch -- Applying patch 0013-define-WINVER.patch -- Applying patch 0015-Fix-xml2-detection.patch -- Applying patch 0020-fix-aarch64-libswscale.patch -- Applying patch 0022-fix-iconv.patch -- Using source at C:/vcpkg/buildtrees/ffmpeg/src/n5.1.2-f31542651f.clean -- Using cached msys-gzip-1.11-1-x86_64.pkg.tar.zst. -- Using cached msys-bash-5.1.008-1-x86_64.pkg.tar.zst. -- Using cached msys-diffutils-3.8-2-x86_64.pkg.tar.zst. -- Using cached msys-coreutils-8.32-2-x86_64.pkg.tar.zst. -- Downloading https://repo.msys2.org/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz;https://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz;https://mirror.bit.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz;https://mirror.selfnet.de/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz;https://mirrors.sjtug.sjtu.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz -> msys-grep-3.0-2-x86_64.pkg.tar.xz... [DEBUG] To include the environment variables in debug output, pass --debug-env [DEBUG] Trying to load bundleconfig from C:\vcpkg\vcpkg-bundle.json [DEBUG] Failed to open: C:\vcpkg\vcpkg-bundle.json [DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt [DEBUG] Metrics enabled. [DEBUG] Feature flag 'binarycaching' unset [DEBUG] Feature flag 'compilertracking' unset [DEBUG] Feature flag 'registries' unset [DEBUG] Feature flag 'versions' unset Downloading https://repo.msys2.org/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz Downloading https://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz Downloading https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz Downloading https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz Downloading https://mirrors.ustc.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz Downloading https://mirror.bit.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz warning: Download failed -- retrying after 1000ms warning: Download failed -- retrying after 2000ms warning: Download failed -- retrying after 4000ms Downloading https://mirror.selfnet.de/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz Downloading https://mirrors.sjtug.sjtu.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz error: Failed to download from mirror set error: https://repo.msys2.org/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: failed: status code 404 error: https://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: failed: status code 404 error: https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: failed: status code 404 error: https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: failed: status code 404 error: https://mirrors.ustc.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: failed: status code 404 error: https://mirror.bit.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: WinHttpSendRequest failed with exit code 12007 error: https://mirror.bit.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: WinHttpSendRequest failed with exit code 12007 error: https://mirror.bit.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: WinHttpSendRequest failed with exit code 12007 error: https://mirror.bit.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: WinHttpSendRequest failed with exit code 12007 error: https://mirror.selfnet.de/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: failed: status code 404 error: https://mirrors.sjtug.sjtu.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: failed: status code 404 [DEBUG] D:\a_work\1\s\src\vcpkg\base\downloads.cpp(961): [DEBUG] Time in subprocesses: 0us [DEBUG] Time in parsing JSON: 2us [DEBUG] Time in JSON reader: 0us [DEBUG] Time in filesystem: 1638us [DEBUG] Time in loading ports: 0us [DEBUG] Exiting after 12 s (11844177us)
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):
Call Stack (most recent call first): scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail) scripts/cmake/vcpkg_acquire_msys.cmake:26 (vcpkg_download_distfile) scripts/cmake/vcpkg_acquire_msys.cmake:67 (z_vcpkg_acquire_msys_download_package) scripts/cmake/vcpkg_acquire_msys.cmake:216 (z_vcpkg_acquire_msys_declare_package) ports/ffmpeg/portfile.cmake:48 (vcpkg_acquire_msys) scripts/ports.cmake:147 (include)
error: building ffmpeg:x86-windows failed with: BUILD_FAILED Please ensure you're using the latest port files with
git pull
andvcpkg update
. Then check for known issues at: https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+ffmpeg You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?title=[ffmpeg]+Build+error&body=Copy+issue+body+from+C%3A%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.mdAdditional context
tried directly download the link, but get 404 not found