-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[ffmpeg] regxep and passthrough fix #44955
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
base: master
Are you sure you want to change the base?
Conversation
The build failures appear legitimate. |
@BillyONeal Yes, probably, But I can not reproduce it locally and it seems I can not download the build logs from the failed jobs. The download buttons don't seem do anything. How can I access them? |
failure logs for x64-windows-static.zip Button works for me 🤷 |
(Note that vcpkg-ci-ffmpeg is in scripts/test_ports) |
|
@BillyONeal I only found this page with artifacts Im using firefox as you see the three vertical dot that I can see in Safari is not there on firefox. And clicking the text does noting. But I found that after some hovering I can get the dots to pop up so I can get to the download button. |
@dg0yt I don't quite understand what the problem is or how I caused it. :/ And locally everything works. Do you have any more hints on how to address the issues? |
Can you start with information how to reproduce the problem? Which feature set or manifest do you use when the problem occurs? |
Hover an artifact line. Spot the three dots on the right side while hovering. |
This PR addresses issues with building FFMpeg on windows
The PC config files are transform in the portfile:
vcpkg/ports/ffmpeg/portfile.cmake
Lines 856 to 861 in 735bf69
basically mapping
foo.lib -> -lfoo
But first case item in the list was not transformed due to a space issue in the regexp matching
for example: given input:
Libs.private: psapi.lib ole32.lib strmiids.lib uuid.lib
We got
Libs.private: psapi.lib -lole32 -lstrmiids -luuid
But expected
Libs.private: -lpsapi -lole32 -lstrmiids -luuid
Similarly
In the generated FindFFMPEG.cmake I get the following in my windows computer
append_dependencies(FFMPEG_DEPS_LIBRARY_RELEASE NAMES "psapi.lib;uuid.lib;oleaut32.lib;shlwapi.lib;gdi32.lib;vfw32.lib;secur32.lib;ws2_32.lib;mfuuid.lib;strmiids.lib;ole32.lib;user32.lib;bcrypt.lib")
And we expect libs like
psapi.lib
the math the set ofpass_through
libsvcpkg/ports/ffmpeg/FindFFMPEG.cmake.in
Lines 56 to 60 in 735bf69
But since they are given without the
.lib
extension we also have to check just the stem of the give lib name./vcpkg x-add-version --all
and committing the result.