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] Fix build on ARM64 #27184

Merged
merged 1 commit into from
Oct 13, 2022
Merged

[FFmpeg] Fix build on ARM64 #27184

merged 1 commit into from
Oct 13, 2022

Conversation

carlo-bramini
Copy link
Contributor

I tried to build FFmpeg for ARM64 but I got an error. The problem happens because portfile.cmake uses gcc-9.3.0 but it has been removed from repository.
See:

https://repo.msys2.org/msys/x86_64/

Immagine

So, it is just needed to update that file to the newer updated version and you will be able to build FFmpeg for ARM64 again.
Since only a link to a download has been updated, I think that all needed guidelines should be satisfied.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

PRs must add only one version and must not modify any published versions

When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.

error: checked-in files for ffmpeg have changed but the version was not updated
version: 4.4.1#19
old SHA: 42edfcee5ee9a8884b7c1733c6b560092cad9576
new SHA: f5a8a483e990473fe1b40e2f5a71905dfb9194b9
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***

@FrankXie05 FrankXie05 added the category:port-update The issue is with a library, which is requesting update new revision label Oct 12, 2022
@FrankXie05
Copy link
Contributor

Please bump the port version. See documentation.
Also please run command vcpkg x-add-version ffmpeg then commit the changes.

I tried to build FFmpeg for ARM64 but I got an error.
The problem happens because portfile.cmake uses gcc-9.3.0 but it has been removed from repository.
See:
https://repo.msys2.org/msys/x86_64/
So, it is just needed to update that file to the newer updated version and you will be able to build FFmpeg for ARM64 again.
@carlo-bramini
Copy link
Contributor Author

Please bump the port version. See documentation. Also please run command vcpkg x-add-version ffmpeg then commit the changes.

Done, thanks for the tip.

@FrankXie05 FrankXie05 added info:reviewed Pull Request changes follow basic guidelines and removed requires:author-response labels Oct 13, 2022
@vicroms vicroms merged commit ee388aa into microsoft:master Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-update The issue is with a library, which is requesting update new revision info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants