Skip to content

Fix Windows pkg-config issue#135

Merged
WyattBlue merged 1 commit intoPyAV-Org:mainfrom
JoeSchiff:fix_configure
Dec 6, 2024
Merged

Fix Windows pkg-config issue#135
WyattBlue merged 1 commit intoPyAV-Org:mainfrom
JoeSchiff:fix_configure

Conversation

@JoeSchiff
Copy link
Copy Markdown
Contributor

The ffmpeg package build has been failing with this error:
ERROR: aom >= 2.0.0 not found using pkg-config

I was able to track the source of the problem to this line in ffmpeg's configure file:
https://github.com/FFmpeg/FFmpeg/blob/56419fd096c55c646fc56d8dde522e32079c907c/configure#L1523

For some reason, when $pkg_version gets evaluated the spaces are not handled correctly. I have no idea why this issue has surfaced only recently.

Putting quotes around the variable seems to solve it. It's not an ideal solution, but it works.

I'll look into upstreaming this change into ffmpeg. Do you have any experience with that?

@WyattBlue WyattBlue merged commit c7376d2 into PyAV-Org:main Dec 6, 2024
@JoeSchiff JoeSchiff deleted the fix_configure branch January 6, 2025 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants