FS#76195 - electron18 is broken, with a LIBAVFORMAT_59 linking error

Attached to Project: Arch Linux
Opened by Tessa N (tessaracht) - Thursday, 13 October 2022, 21:55 GMT
Last edited by Antonio Rojas (arojas) - Friday, 14 October 2022, 05:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Just installed electron18 as a dep of obsidian, and attempting to run anything with it (or run it directly) results in the following error:

# /usr/lib/electron18/electron
/usr/lib/electron18/electron: symbol lookup error: /usr/lib/electron18/electron: undefined symbol: av_stream_get_first_dts, version LIBAVFORMAT_59

I assume this is likely a dependency issue, where it's using the wrong version of libavformat or something. for reference, here's the versions of ffmpeg packages on my system:
* ffmpeg-compat-57 3.4.11-1
* ffmpeg-headless 1:5.1.2-1
* ffmpeg4.4 4.4.2-3


Additional info:
* 18.3.9-2

Steps to reproduce:
* install electron18
* run electron18
* see error
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 14 October 2022, 05:35 GMT
Reason for closing:  Not a bug
Additional comments about closing:  AUR packages are not supported
Comment by loqs (loqs) - Friday, 14 October 2022, 00:43 GMT
The AUR package ffmpeg-headless [1] has provides ffmpeg but it does not patch with [2] so it does not provide av_stream_get_first_dts@@LIBAVFORMAT_59 hence the issue.

[1] https://aur.archlinux.org/packages/ffmpeg-headless
[2] https://github.com/archlinux/svntogit-packages/blob/packages/ffmpeg/trunk/add-av_stream_get_first_dts-for-chromium.patch

Loading...