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

[ffmpeg] build failure #14094

Closed
MarekMaslanka opened this issue Oct 17, 2020 · 5 comments
Closed

[ffmpeg] build failure #14094

MarekMaslanka opened this issue Oct 17, 2020 · 5 comments
Assignees
Labels
category:question This issue is a question

Comments

@MarekMaslanka
Copy link

Host Environment

  • OS: Windows
  • CI: Github actions

To Reproduce
Steps to reproduce the behavior:
vcpkg install ffmpeg

Failure logs

-- Installing: C:/vcpkg/downloads/tools/yasm/1.3.0.6/yasm.exe
-- Downloading https://repo.msys2.org/msys/x86_64/bash-4.4.023-2-x86_64.pkg.tar.xz...
-- Downloading https://repo.msys2.org/msys/x86_64/diffutils-3.7-1-x86_64.pkg.tar.xz...
-- Downloading https://repo.msys2.org/msys/x86_64/coreutils-8.32-1-x86_64.pkg.tar.xz...
-- Downloading https://repo.msys2.org/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz...
-- Downloading https://repo.msys2.org/msys/x86_64/sed-4.8-1-x86_64.pkg.tar.xz...
-- Downloading https://repo.msys2.org/msys/x86_64/libpcre-8.44-1-x86_64.pkg.tar.xz...
-- Downloading https://repo.msys2.org/msys/x86_64/gawk-5.1.0-1-x86_64.pkg.tar.xz...
-- Downloading https://repo.msys2.org/msys/x86_64/mpfr-4.1.0-1-x86_64.pkg.tar.zst...
-- Downloading https://repo.msys2.org/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz...
-- Downloading https://repo.msys2.org/msys/x86_64/libreadline-8.0.004-1-x86_64.pkg.tar.xz...
-- Downloading https://repo.msys2.org/msys/x86_64/ncurses-6.2-1-x86_64.pkg.tar.xz...
-- Downloading https://repo.msys2.org/msys/x86_64/pkg-config-0.29.2-1-x86_64.pkg.tar.xz...
-- Downloading https://repo.msys2.org/msys/x86_64/make-4.3-1-x86_64.pkg.tar.xz...
-- Downloading https://repo.msys2.org/msys/x86_64/libintl-0.19.8.1-1-x86_64.pkg.tar.xz...
-- Downloading https://repo.msys2.org/msys/x86_64/libiconv-1.16-1-x86_64.pkg.tar.xz...
-- Downloading https://repo.msys2.org/msys/x86_64/libiconv-1.16-1-x86_64.pkg.tar.xz... Failed. Status: 22;"HTTP response code said error"

Additional context
Building ffmpeg using Github actions CI with simple yaml:

name: Build ffmpeg
on: [push]
jobs:
  build:
    name: Build
    runs-on: windows-latest
    steps:
      - name: ffmpeg
        run: vcpkg install ffmpeg
@LilyWangL LilyWangL self-assigned this Oct 19, 2020
@LilyWangL LilyWangL added the requires:repro The issue is not currently repro-able label Oct 19, 2020
@LilyWangL
Copy link
Contributor

Thanks for posting this issue. This issue ha been fixed in PR #13889. Now when the primary source is down, VCPKG will download from msys2-mirror, like this:

-- Downloading https://repo.msys2.org/msys/x86_64/libiconv-1.16-1-x86_64.pkg.tar.xz...
-- Downloading https://repo.msys2.org/msys/x86_64/libiconv-1.16-1-x86_64.pkg.tar.xz... Failed. Status: 22;"HTTP response code said error"
-- Downloading https://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/libiconv-1.16-1-x86_64.pkg.tar.xz...
-- Downloading https://repo.msys2.org/msys/x86_64/gcc-libs-9.3.0-1-x86_64.pkg.tar.xz...
-- Downloading https://repo.msys2.org/msys/x86_64/msys2-runtime-3.1.6-3-x86_64.pkg.tar.xz...
-- Using msys root at E:/1019/vcpkg/downloads/tools/msys2/8f86d90f10246c56

@LilyWangL LilyWangL added category:question This issue is a question and removed requires:repro The issue is not currently repro-able labels Oct 19, 2020
@turska79
Copy link

What is the status of this? As also running vcpkg install vcpkg-gfortran:x64-windows produces
Downloading https://repo.msys2.org/msys/x86_64/libiconv-1.16-1-x86_64.pkg.tar.xz...
-- Downloading https://repo.msys2.org/msys/x86_64/libiconv-1.16-1-x86_64.pkg.tar.xz... Failed. Status: 22;"HTTP response code said error"

Reason being that https://repo.msys2.org doenst contain version 1.16-1. It has only version 1.16-2.

@MarekMaslanka
Copy link
Author

@sfhacker After manually update vcpkg in github actions environment ffmpeg is building successful

@turska79
Copy link

turska79 commented Oct 25, 2020

Ah sorry. I was building mlpack and it's dependency gfortran and not ffmpeg. I shall open a new ticket? As didn't notice anything related to that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

4 participants
@MarekMaslanka @LilyWangL @turska79 and others