Re: Issues with Electron Apps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Okay, I found the issue. Thank you!

> Sounds like you did a partial upgrade, it was rebuilt -

So the issue persisted after `pacman -Syu` and a reboot (and I have
not held packages), so I did have the latest version of electron25
(25.9.0-2) – sorry for omitting that earlier.
I did that even before sending to the mailing list.

ldd was unhelpful but lddtree was immensely helpful. Thank you for the hint!
(Also not using it on the launch script /usr/bin/electron25 but the
actual binary /usr/lib/electron25/electron helps…)

It was in fact not a partial upgrade but another unsupported case that
I did not consider.
You can probably already small the three letters coming.
lddtree helped me identify it.

So looking at output of lddtree

❯ lddtree /usr/lib/electron25/electron | grep -5 libdav1d
    libavcodec.so.60 => /usr/lib/libavcodec.so.60
        libswresample.so.4 => /usr/lib/libswresample.so.4
            libsoxr.so.0 => /usr/lib/libsoxr.so.0
                libgomp.so.1 => /usr/lib/libgomp.so.1
        libvpx.so.8 => /usr/lib/libvpx.so.8
        libdav1d.so.6 => None
        libopencore-amrwb.so.0 => /usr/lib/libopencore-amrwb.so.0
        librsvg-2.so.2 => /usr/lib/librsvg-2.so.2
        libaom.so.3 => /usr/lib/libaom.so.3
        libgsm.so.1 => /usr/lib/libgsm.so.1
        libjxl.so.0.8 => /usr/lib/libjxl.so.0.8
--
        libva-x11.so.2 => /usr/lib/libva-x11.so.2
            libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1
            libxcb-dri3.so.0 => /usr/lib/libxcb-dri3.so.0
        libvdpau.so.1 => /usr/lib/libvdpau.so.1
        libOpenCL.so.1 => /usr/lib/libOpenCL.so.1
    libdav1d.so.7 => /usr/lib/libdav1d.so.7
    libX11.so.6 => /usr/lib/libX11.so.6
    libXcomposite.so.1 => /usr/lib/libXcomposite.so.1
    libXdamage.so.1 => /usr/lib/libXdamage.so.1
    libXext.so.6 => /usr/lib/libXext.so.6
    libXfixes.so.3 => /usr/lib/libXfixes.so.3

Note that the libdav1d shows up two times: The correct version
libdav1d.so.7 in the "root" and the old version libdav1d.so.6 used by
libavcodec.so.60.

❯ pacman -F libavcodec.so.60
extra/ffmpeg 2:6.0-12
    usr/lib/libavcodec.so.60

So not an electron issue but a ffmpeg issue, but…

❯ pacman -Qi ffmpeg |grep -e Name -e Prov
Name            : ffmpeg-obs
Provides        : ffmpeg=6.0.r12.ga6dc929  libavcodec.so=60-64
libavdevice.so=60-64  libavfilter.so=9-64  libavformat.so=60-64
libavutil.so=58-64  libpostproc.so=57-64  libswresample.so=4-64
libswscale.so=7-64

Since I installed an AUR package that brings its own AUR ffmpeg [1]
that wasn't rebuilt yet, well, I ended up with a broken ffmpeg.
I am actually surprised that only electron broke and not more media
related things. I guess they only load libavcodec when they need it
and my graphics card does not support it.

TL;DR: The pain of AUR.

Thanks for the help!

Christian

[1]: https://aur.archlinux.org/packages/ffmpeg-obs




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux