After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 738157 - Same plugin name used for Python 3 and Python 2 plugins in Python
Same plugin name used for Python 3 and Python 2 plugins in Python
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-python
1.3.90
Other Linux
: Normal normal
: 1.5.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-10-08 15:02 UTC by Simon Farnsworth
Modified: 2015-06-24 14:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
plugin: Name differently between python2 and python3 (1.03 KB, patch)
2015-03-06 18:28 UTC, Thibault Saunier
none Details | Review

Description Simon Farnsworth 2014-10-08 15:02:35 UTC
Both the Python 2 and Python 3 builds of gst-python-1.3.90 build /usr/lib64/gstreamer-1.0/libgstpythonplugin.so, which ends up giving me a parallel installation problem in Fedora - I can't install both files at once.

Ideally, I'd be able to tell you to name them libgstpython2plugin.so and libgstpython3plugin.so according to the version I'm building against (a configure option or similar would work well).
Comment 1 Thibault Saunier 2015-03-06 18:28:03 UTC
Created attachment 298749 [details] [review]
plugin:  Name differently between python2 and python3

Those are 2 different binaries and thus should have different
.so names. Just use the $PYTHON_SO for that to happen.
Comment 2 Simon Farnsworth 2015-03-08 21:26:53 UTC
(In reply to Thibault Saunier from comment #1)
> Created attachment 298749 [details] [review] [review]
> plugin:  Name differently between python2 and python3
> 
> Those are 2 different binaries and thus should have different
> .so names. Just use the $PYTHON_SO for that to happen.

This patch works for me.
Comment 3 Thibault Saunier 2015-03-08 22:35:53 UTC
commit 025b7cfbeaf3b28b647d54085a4bc5d50b4a196d
Author: Thibault Saunier <tsaunier@gnome.org>
Date:   Fri Mar 6 19:25:57 2015 +0100

    plugin: Name differently between python2 and python3
    
    Those are 2 different binaries and thus should have different
    .so names. Just use the $PYTHON_SO for that to happen.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=738157