autoantwort / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
0 stars 0 forks source link

[<port name>] build failure #18

Closed autoantwort closed 10 months ago

autoantwort commented 1 year ago

Operating system

test

Compiler

No response

Steps to reproduce the behavior

> ### Operating system
> 
> Windows 11
> ### Compiler
> 
> MSVC (Visual Studio 17.6)
> ### Steps to reproduce the behavior
> 
> 
> `vcpkg install ffmpeg --triplet=x64-windows-static-md`
> 
> 
> ### Failure logs
> 
> ```
> Installing 1/3 ffmpeg:x64-windows-static-md-v143...
> Building ffmpeg[avcodec,avdevice,avfilter,avformat,core,swresample,swscale]:x64-windows-static-md-v143...
> -- [OVERLAY] Loading triplet configuration from: C:\workspace\cranebit2\vcpkg_scripts\triplets\x64-windows-static-md-v143.cmake
> -- Installing port from location: C:\Libraries\vcpkg\buildtrees\versioning_\versions\ffmpeg\7e5aad683e1959d2595ae4622e686cf35dbd9ea3
> -- Using cached ffmpeg-ffmpeg-n4.4.3.tar.gz.
> -- Cleaning sources at C:/Libraries/vcpkg/buildtrees/ffmpeg/src/n4.4.3-3d99900f94.clean. Use --editable to skip cleaning for the packages you specify.
> -- Extracting source C:/Libraries/vcpkg/downloads/ffmpeg-ffmpeg-n4.4.3.tar.gz
> -- Applying patch 0001-create-lib-libraries.patch
> -- Applying patch 0003-fix-windowsinclude.patch
> -- Applying patch 0004-fix-debug-build.patch
> -- Applying patch 0006-fix-StaticFeatures.patch
> -- Applying patch 0007-fix-lib-naming.patch
> -- Applying patch 0009-Fix-fdk-detection.patch
> -- Applying patch 0010-Fix-x264-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 0014-avfilter-dependency-fix.patch
> -- Applying patch 0015-Fix-xml2-detection.patch
> -- Applying patch 0017-Patch-for-ticket-9019-CUDA-Compile-Broken-Using-MSVC.patch
> -- Applying patch 0018-libaom-Dont-use-aom_codec_av1_dx_algo.patch
> -- Applying patch 0019-libx264-Do-not-explicitly-set-X264_API_IMPORTS.patch
> -- Applying patch 0020-fix-aarch64-libswscale.patch
> -- Applying patch 0022-fix-m1-hardware-decode-nal-bits.patch
> -- Using source at C:/Libraries/vcpkg/buildtrees/ffmpeg/src/n4.4.3-3d99900f94.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:\Libraries\vcpkg\vcpkg-bundle.json
> [DEBUG] Failed to open: C:\Libraries\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 404error: 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: 8us
> [DEBUG] Time in JSON reader: 0us
> [DEBUG] Time in filesystem: 11440us
> [DEBUG] Time in loading ports: 0us
> [DEBUG] Exiting after 17 s (17283024us)
> 
> CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):
> 
>       Failed to download file with error: 1
>       If you are using a proxy, please check your proxy setting. 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 out of service.
> 
>       If you've tried directly download the link, and believe this is not a temporary
>       download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
>       to report this upstream download server failure.
> 
> 
> 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)
>   buildtrees/versioning_/versions/ffmpeg/7e5aad683e1959d2595ae4622e686cf35dbd9ea3/portfile.cmake:68 (vcpkg_acquire_msys)  scripts/ports.cmake:147 (include)
> 
> 
> error: building ffmpeg:x64-windows-static-md-v143 failed with: BUILD_FAILED
> 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+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%2Fworkspace%2Fcranebit2%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
> 
> -- Running vcpkg install - failed
> CMake Error at C:/Libraries/vcpkg/scripts/buildsystems/vcpkg.cmake:893 (message):
>   vcpkg install failed.  See logs for more information:
>   C:\workspace\cranebit2\build\vs2022\vcpkg-manifest-install.log
> Call Stack (most recent call first):
>   build/vs2022/CMakeFiles/3.25.2/CMakeSystem.cmake:6 (include)
>   CMakeLists.txt:38 (project)
> 
> 
> -- Configuring incomplete, errors occurred!
> See also "C:/workspace/cranebit2/build/vs2022/CMakeFiles/CMakeOutput.log".
> See also "C:/workspace/cranebit2/build/vs2022/CMakeFiles/CMakeError.log".
> ```
> 
> ### Additional context
> 
> _No response_

Failure logs

test

Additional context

No response

github-actions[bot] commented 10 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.