chaotic-aur / packages

Read-only mirror of Chaotic-AUR's main repository. Issues and bug reports welcome! 📑
https://gitlab.com/chaotic-aur/pkgbuilds
GNU General Public License v3.0
337 stars 20 forks source link

[Bug] Stremio package requires libmpv.so.1 #2114

Closed lfom closed 2 years ago

lfom commented 2 years ago

What happens?

stremio package does not launch, instead it shows this error:

$ /usr/bin/stremio    
/usr/bin/stremio: error while loading shared libraries: libmpv.so.1: cannot open shared object file: No such file or directory

What is expected to happen?

stremioshould start and run without errors.

If possible, please attach logs

$ paru -Qi stremio           
Name            : stremio
Version         : 4.4.159-1
Description     : A one-stop hub for video content aggregation (Movies, TV shows, series, live television or web channels)
Architecture    : x86_64
URL             : https://www.stremio.com/
Licenses        : GPL3
Groups          : None
Provides        : None
Depends On      : mpv  nodejs-lts-gallium  openssl  qt5-webengine  qt5-base  qt5-declarative  qt5-quickcontrols  qt5-quickcontrols2  qt5-translations  qt5-webchannel
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 12,24 MiB
Packager        : UFSCar HPC Builder <hpc.ufscar@chaotic.cx>
Build Date      : sex 11 nov 2022 23:14:21
Install Date    : ter 15 nov 2022 19:13:40
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

$ ldd /usr/bin/stremio | grep -e not
    libmpv.so.1 => not found

$ sudo ldconfig -vvv 2&>/dev/null | grep libmpv
    libmpv.so.2 -> libmpv.so.2.0.0

$ paru -Ql mpv | grep libmpv 
mpv /usr/lib/libmpv.so
mpv /usr/lib/libmpv.so.2
mpv /usr/lib/libmpv.so.2.0.0

$ paru -Qi mpv              
Name            : mpv
Version         : 1:0.35.0-2
Description     : a free, open source, and cross-platform media player
Architecture    : x86_64
URL             : https://mpv.io/
Licenses        : GPL3
Groups          : None
Provides        : libmpv.so=2-64
Depends On      : alsa-lib  libasound.so=2-64  desktop-file-utils  ffmpeg  libavcodec.so=59-64  libavdevice.so=59-64  libavfilter.so=8-64  libavformat.so=59-64  libavutil.so=57-64  libswresample.so=4-64
                  libswscale.so=6-64  glibc  hicolor-icon-theme  jack  libjack.so=0-64  lcms2  liblcms2.so=2-64  libarchive  libarchive.so=13-64  libass  libass.so=9-64  libbluray  libbluray.so=2-64
                  libcdio  libcdio-paranoia  libdrm  libdvdnav  libdvdread  libegl  libgl  libglvnd  libjpeg  libjpeg.so=8-64  libplacebo  libplacebo.so=208-64  libpulse  libpulse.so=0-64  libva
                  libva.so=2-64  libva-drm.so=2-64  libva-wayland.so=2-64  libva-x11.so=2-64  libvdpau  libx11  libxext  libxinerama  libxkbcommon  libxkbcommon.so=0-64  libxpresent  libxrandr  libxss
                  libxv  luajit  mesa  mujs  pipewire  rubberband  librubberband.so=2-64  shaderc  libshaderc_shared.so=1-64  uchardet  vulkan-icd-loader  wayland  xdg-utils  zlib
Optional Deps   : yt-dlp: for video-sharing websites playback [installed]
                  youtube-dl: for video-sharing websites playback
Required By     : celluloid  stremio  vidcutter
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 5,87 MiB
Packager        : Christian Hesse <eworm@archlinux.org>
Build Date      : dom 13 nov 2022 18:00:06
Install Date    : ter 15 nov 2022 16:10:17
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

More information

I also tried to install mpv-full from chaotic-aur but, as expected, it also installs libmpv.so.2. Building stremio from AUR works, so I guess there was some problem building stremio in the Chaotic repository, for some reason it was linked against libmpv.so.1.

Thanks for creating and maintaining all packages!

Technetium1 commented 2 years ago

It's been bumped, try again @lfom. It already has mpv in depends :confused:

pacman -F libmpv.so.1
community/emby-theater 3.0.16-1
usr/lib/emby-theater/libmpv.so.1
community/mpv 1:0.34.1-5 [installed: 1:0.35.0-2]
usr/lib/libmpv.so.1
chaotic-aur/mpv-full 0.34.1-2
usr/lib/libmpv.so.1
lfom commented 2 years ago

@Technetium1 Thanks, it seems it is working fine now.

$ ldd /usr/bin/stremio | grep -e mpv
    libmpv.so.2 => /usr/lib/libmpv.so.2 (0x00007f3ecd8a1000)

$ paru -Q | grep stremio              
stremio 4.4.159-1.1

If you do not mind: I get the same output for pacman -F, but both community/mpv and chaotic-aur/mpv-full actually install packages with libmpv.so.2 instead... It should not happen, right? Where is the problem and where I should send reports about this to?

Technetium1 commented 2 years ago

Glad it's fixed. I can't say that I know why exactly this happened for sure… :thinking: