Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] no shared gstreamer packages? #10539

Open
n00b42 opened this issue Apr 28, 2022 · 1 comment
Open

[question] no shared gstreamer packages? #10539

n00b42 opened this issue Apr 28, 2022 · 1 comment
Labels
question Further information is requested

Comments

@n00b42
Copy link

n00b42 commented Apr 28, 2022

While glib etc have shared binaries, why are there no "shared=True" builds for gstreamer?

@n00b42 n00b42 added the question Further information is requested label Apr 28, 2022
@SSE4
Copy link
Contributor

SSE4 commented Apr 28, 2022

this is an unfortunate limitation of the conan client, you may read conan-io/conan#9712, if you have time.
in general, there are 3 main things involved:

  1. GLib has to exist only once in address space (https://gitlab.freedesktop.org/gstreamer/gst-build/-/issues/133), that's why you cannot mix static GLib + shared GStreamer.
  2. in CCI, we currently build only with <current-package>:shared=True. other options are default. that's why it tries to build shared GStreamer + static GLib, which is rejected because the reason in point 1
  3. there is an unfortunate bug dependencies options are erased from the package_id, and even if GStreamer:shared=True + GLib:shared=True was built, it cannot be distinguished from GStreamer:shared=True + GLib:shared=False.

in conan 2.0, package ID model for shared/static libraries is going to be changed. perhaps, it will also affect on which configurations do we build in CCI (maybe it will be worth building *:shared=True instead of <current-package>:shared=True)
/cc @jgsogo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants