FS#77818 - [ffmpeg] Missing version specification for libvulkan.so

Attached to Project: Arch Linux
Opened by Balló György (City-busz) - Saturday, 11 March 2023, 18:50 GMT
Last edited by Toolybird (Toolybird) - Sunday, 12 March 2023, 00:03 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Currently the libvulkan.so dependency does not define version (=1-64), which makes it ambiguous between vulkan-icd-loader and lib32-vulkan-icd-loader. The makepkg command does not able to fill the version, because ffmpeg uses dlopen() to load this library dynamically:
https://github.com/FFmpeg/FFmpeg/blob/cc76e8340d28438c1ac56ee7dfd774d25e944264/libavutil/hwcontext_vulkan.c#L302-L334

Please replace 'libvulkan.so' with 'vulkan-icd-loader' in depends=() of ffmpeg.
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 12 March 2023, 00:03 GMT
Reason for closing:  None
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Saturday, 11 March 2023, 22:15 GMT
Yeah, depending on *.so libs for dlopened libraries does seem like a bit of a trap for young players...and therefore a possible flaw in our current *.so dep guidelines.
Comment by Balló György (City-busz) - Saturday, 11 March 2023, 23:35 GMT
I decided to not fill Flyspray with a hundred of similar tasks, so I created a TODO list instead:
https://archlinux.org/todo/libdependslibprovides-without-version-specified/
Comment by Toolybird (Toolybird) - Sunday, 12 March 2023, 00:02 GMT
Wise move :)

Loading...