gst_all_1.gst-plugins-good: dlopen libsoup_3 with an absolute path#276408
Conversation
13 tasks
ghost
commented
Dec 24, 2023
Member
lilyinstarlight
left a comment
There was a problem hiding this comment.
Thank you for this! I'll try to give it a more proper review later, but I am gonna leave one comment for now
ghost
commented
Dec 24, 2023
Author
jtojnar
reviewed
Dec 25, 2023
jtojnar
reviewed
Dec 25, 2023
jtojnar
reviewed
Dec 25, 2023
Author
|
all glib changes removed and leaf packages requiring TLS support will need to add in glib-networking. |
Author
ping @lilyinstarlight |
vcunat
reviewed
Feb 29, 2024
Member
|
I notice nothing wrong or risky here. |
13 tasks
Aleksanaa
added a commit
to Aleksanaa/nixpkgs
that referenced
this pull request
Mar 8, 2024
As the issue NixOS#271960 is fixed by NixOS#276408
13 tasks
reckenrode
added a commit
to reckenrode/nixpkgs
that referenced
this pull request
Jul 16, 2024
Upstream removed support for using dlopen on platforms other than Linux to fix https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1171, but Darwin in nixpkgs is not affected by that issue after NixOS#276408, which falls back to loading libsoup_3 from an absolute path.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes
fixes #271960
the libgstsoup plugin in the gstreamer gst-pluggins-good loads the libsoup (2 or 3) via a call to g_module_open -- g_module_open is implemented by glib as a dlopen in the libgmodule.so library. This call fails for both darwin and linux as libsoup is not found in the runpath of the libgmodule.so object. This change patches gstsouploader.c to fall back on an absolute path for libsoup_3 if libsoup (2 or 3) is not already loaded so the subsequent g_module_open succeeds.
consumers of gst-pluggins-good need to add glib-networking to enable TLS support
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.