conda-forge / gstreamer-feedstock

A conda-smithy repository for gstreamer.
BSD 3-Clause "New" or "Revised" License
9 stars 28 forks source link

gst-plugins-good missing runtime requirement on mpg123 #55

Closed duncanmmacleod closed 1 year ago

duncanmmacleod commented 3 years ago

Issue:

gst-plugins-good is built against mpg123 but doesn't carry a runtime requirement, meaning the mpg123 gst element is broken on a default installation:

$ gst-inspect-1.0 mpg123

(gst-plugin-scanner:9630): GStreamer-WARNING **: 15:42:35.552: Failed to load plugin '/home/duncan/opt/miniconda3/envs/py39/lib/gstreamer-1.0/libgstmpg123.so': libmpg123.so.0: cannot open shared object file: No such file or directory
No such element or plugin 'mpg123'

Installing mpg123 manually fixes it:

$ conda install mpg123
...
$ gst-inspect-1.0 mpg123
Plugin Details:
  Name                     mpg123
  Description              mp3 decoding based on the mpg123 library
  Filename                 /home/duncan/opt/miniconda3/envs/py39/lib/gstreamer-1.0/libgstmpg123.so
  Version                  1.18.4
  License                  LGPL
  Source module            gst-plugins-good
  Source release date      2021-03-15
  Binary package           GStreamer Good Plug-ins source release
  Origin URL               Unknown package origin

  mpg123audiodec: mpg123 mp3 decoder

  1 features:
  +-- 1 elements

Should this be a runtime requirement, or is this deliberately an 'optional' extra?


Environment (conda list):

``` $ conda list # packages in environment at /home/duncan/opt/miniconda3/envs/__test: # # Name Version Build Channel _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 1_gnu conda-forge alsa-lib 1.2.3 h516909a_0 conda-forge gettext 0.19.8.1 h0b5b191_1005 conda-forge gst-plugins-base 1.18.4 hf529b03_2 conda-forge gst-plugins-good 1.18.4 h9f60fe5_2 conda-forge gstreamer 1.18.4 h76c114f_2 conda-forge jack 1.9.18 hfd4fe87_1001 conda-forge lame 3.100 h7f98852_1001 conda-forge libdb 6.2.32 h9c3ff4c_0 conda-forge libffi 3.3 h58526e2_2 conda-forge libflac 1.3.3 h9c3ff4c_1 conda-forge libgcc-ng 9.3.0 h2828fa1_19 conda-forge libglib 2.68.2 h3e27bee_2 conda-forge libgomp 9.3.0 h2828fa1_19 conda-forge libiconv 1.16 h516909a_0 conda-forge libogg 1.3.4 h7f98852_1 conda-forge libopus 1.3.1 h7f98852_1 conda-forge libpng 1.6.37 h21135ba_2 conda-forge libsndfile 1.0.31 h9c3ff4c_1 conda-forge libstdcxx-ng 9.3.0 h6de172a_19 conda-forge libvorbis 1.3.7 h9c3ff4c_0 conda-forge ncurses 6.2 h58526e2_4 conda-forge pcre 8.44 he1b5a44_0 conda-forge readline 8.1 h46c0cb4_0 conda-forge zlib 1.2.11 h516909a_1010 conda-forge ```


Details about conda and system ( conda info ):

``` $ conda info active environment : __test active env location : /home/duncan/opt/miniconda3/envs/__test shell level : 4 user config file : /home/duncan/.condarc populated config files : /home/duncan/.condarc conda version : 4.10.1 conda-build version : 3.21.4 python version : 3.8.6.final.0 virtual packages : __linux=5.4.72=0 __glibc=2.28=0 __unix=0=0 __archspec=1=x86_64 base environment : /home/duncan/opt/miniconda3 (writable) conda av data dir : /home/duncan/opt/miniconda3/etc/conda conda av metadata url : https://repo.anaconda.com/pkgs/main channel URLs : https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /home/duncan/opt/miniconda3/pkgs /home/duncan/.conda/pkgs envs directories : /home/duncan/opt/miniconda3/envs /home/duncan/.conda/envs platform : linux-64 user-agent : conda/4.10.1 requests/2.25.1 CPython/3.8.6 Linux/5.4.72-microsoft-standard-WSL2 debian/10 glibc/2.28 UID:GID : 1000:1000 netrc file : None offline mode : False ```
kuepe-sl commented 2 years ago

You should probably make an issue in the mpg123 repo instead. The mpg123 package is supposed to set the respective run exports that are propagated to gst-plugins-good.

hmaarrfk commented 1 year ago

https://github.com/conda-forge/mpg123-feedstock/pull/26