[Bug 244407] New: gstreamer /opt/gnome -> /usr upgrade problem
https://bugzilla.novell.com/show_bug.cgi?id=244407 Summary: gstreamer /opt/gnome -> /usr upgrade problem Product: openSUSE 10.3 Version: Alpha 0plus Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: andreas.hanke@gmx-topmail.de QAContact: qa@suse.de gstreamer does not find plugins from possible 3rd party legacy packages in /opt/gnome/lib/gstreamer-0.10. This can be fixed by setting GST_PLUGIN_PATH in /etc/profile.d/opt_gnome-compat.{sh,csh}. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244407 jpallen@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |jhargadon@novell.com |gnome@forge.provo.novell.com| -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244407 sbrabec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sbrabec@novell.com ------- Comment #1 from sbrabec@novell.com 2007-02-12 10:27 MST ------- GST_PLUGIN_SYSTEM_PATH may be better. Fix using environment must check for bi-arch problems. GST_PLUGIN_SYSTEM_PATH must include system paths: ~/.gstreamer-0.10/plugins:%{_libdir}/gstreamer-0.10 And finally it would be nice to include /usr/local to the main package (probably both /usr/local/%{_lib}/gstreamer-0.10:/usr/local/lib/gstreamer-0.10 even on x86_64, because home made modules using "./configure" will use /usr/local/lib/gstreamer-0.10. I already have a fix, but I am not sure, whether I can use mixed arch path without broking the system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244407 ------- Comment #2 from andreas.hanke@gmx-topmail.de 2007-02-12 10:38 MST ------- I just remembered something that might be relevant to know. 1. Many packages are not handling GST_*_PATH correctly. The best example is banshee, in its startup script it overwrites the value instead of extending it. 2. The strict versioned dependencies between the gstreamer plugin packages and gstreamer itself render this bug report nonsensical. If the user updates gstreamer, this will invalidate all plugin packages anyway because of versioned dependencies. Suggest WONTFIX or even INVALID as resolution because the fix does not necessarily fix anything. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244407 ------- Comment #3 from sbrabec@novell.com 2007-02-13 03:35 MST ------- Overwritting of GST_PLUGIN_PATH may be correct. Overwritting of GST_PLUGIN_SYSTEM_PATH is not (except very special cases). Fixing this bug cound result support for /usr/local as a bonus. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244407 ------- Comment #4 from andreas.hanke@gmx-topmail.de 2007-02-13 04:16 MST ------- Setting GST_PLUGIN_SYSTEM_PATH by default sounds very scary to me as it overrides even the builtin default and no other distribution on the planet does that. I also remember that this was mainly meant for debugging purposes (why else would you want to disable the builtin default? Doesn't make much sense, since otherwise there would not be a builtin default). I'd very much prefer preserving the builtin defaults of applications/libraries as much as possible and using environment variables only in order to extend them where necessary, but not to disable them. Environment variables have the problem that they sometimes simply don't work, e.g. when using sudo or for setuid binaries. I'm not convinced that GST_PLUGIN_SYSTEM_PATH is a fix for this bug, maybe it it a bug per se and then I'd prefer leaving everything as is. Regarding /usr/local integration, there is no proper way to do that because autoconf never uses lib64 by default and that's exactly what the purpose of /usr/local is. I also don't quite get why overriding GST_PLUGIN_PATH is correct and GST_PLUGIN_SYSTEM_PATH is not, intuitively I'd say that it's the other way round because GST_PLUGIN_SYSTEM_PATH is meant to be used when you want to remove the default settings. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244407 ------- Comment #5 from sbrabec@novell.com 2007-02-13 07:39 MST ------- I did not digged the variable setting in depth, but my asumption was: There are two variables, one is intended for sysadmin, second for user or application. If we will adjust GST_PLUGIN_SYSTEM_PATH (and include all default paths there), than changing of GST_PLUGIN_PATH will not affect system path searching. But there is still the bi-arch problem. Only LD_LIBRARY_PATH now offers a solution - expansion of $LIB inside the library. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244407 sbrabec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Comment #6 from sbrabec@novell.com 2007-04-02 04:26 MST ------- Too minor, could cause bi-arch problems -> WONTFIX Proposal to optional fix, which requires upstream changes: 1. Define new gconf function: g_expand_path, which will expand $LIB and few other variables properly. 2. Use g_expand_path in GST_PLUGIN_SYSTEM_PATH and GST_PLUGIN_PATH expansion. 3. Define GST_PLUGIN_SYSTEM_PATH properly in opt_gnome-compat. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com