Bug#626997: python-gst0.10: gst plugin seems to be requiring python 2.7

Jameson Graef Rollins jrollins at finestructure.net
Mon May 16 22:32:52 UTC 2011


Package: python-gst0.10
Version: 0.10.21-2+b1
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

gst is failing to load the python plugin provided by python-gst0.10
[0].  Upon closer inspection, it appears that the plugin is hard-coded
to use python 2.7, even if it is not currently installed:

servo:~ 0$ gst-inspect --gst-disable-registry-update --gst-plugin-load=python --gst-debug=3 /usr/lib/gstreamer-0.10/libgstpython.so
0:00:00.000304512 17047      0x1313080 INFO                GST_INIT gstquery.c:107:_gst_query_initialize: init queries
0:00:00.001352747 17047      0x1313080 INFO                GST_INIT gstmessage.c:73:_gst_message_initialize: init messages
0:00:00.001797111 17047      0x1313080 INFO      GST_PLUGIN_LOADING gstplugin.c:350:_gst_plugin_initialize: registering 0 static plugins
0:00:00.001991408 17047      0x1313080 INFO      GST_PLUGIN_LOADING gstplugin.c:255:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.002016511 17047      0x1313080 INFO      GST_PLUGIN_LOADING gstplugin.c:257:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.002590238 17047      0x1313080 INFO            GST_REGISTRY gstregistry.c:1613:ensure_current_registry: reading registry cache: /home/jrollins/.gstreamer-0.10/registry.x86_64.bin
0:00:00.022384861 17047      0x1313080 INFO            GST_REGISTRY gstregistrybinary.c:614:gst_registry_binary_read_cache: loaded /home/jrollins/.gstreamer-0.10/registry.x86_64.bin in 0.019754 seconds
0:00:00.022446344 17047      0x1313080 INFO            GST_REGISTRY gstregistry.c:1642:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.022513348 17047      0x1313080 ERROR           GST_REGISTRY gstregistry.c:1398:load_plugin_func: Failed to load plugin: Problem accessing file python: No such file or directory
0:00:00.022523622 17047      0x1313080 INFO                GST_INIT gst.c:792:init_post: GLib runtime version: 2.28.6
0:00:00.022533100 17047      0x1313080 INFO                GST_INIT gst.c:794:init_post: GLib headers version: 2.28.6
0:00:00.022767000 17047      0x1313080 WARN                pyplugin gstpythonplugin.c:373:plugin_init: Couldn't g_module_open libpython. Reason: /usr/lib/python2.7/config/libpython2.7.so: cannot open shared object file: No such file or directory
0:00:00.022786623 17047      0x1313080 WARN      GST_PLUGIN_LOADING gstplugin.c:559:gst_plugin_register_func: plugin "/usr/lib/gstreamer-0.10/libgstpython.so" failed to initialise
Could not load plugin file: File "/usr/lib/gstreamer-0.10/libgstpython.so" appears to be a GStreamer plugin, but it failed to initialize
servo:~ 255$ strings /usr/lib/gstreamer-0.10/libgstpython.so | grep 2.7
/usr/lib/python2.7/config/libpython2.7.so
servo:~ 0$ strings /usr/lib/gstreamer-0.10/libgstpython.so | grep 2.6
servo:~ 1$ 

It appears that compilation of the plugin will require different
configuration for use with 2.6 and 2.7, since the absolute path to the
interpreter library (libpython) seems to be fixed at compile time [1].

Thanks.

[0] /usr/lib/gstreamer-0.10/libgstpython.so
[1] http://cgit.freedesktop.org/gstreamer/gst-python/tree/plugin/gstpythonplugin.c#n369

- -- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-gst0.10 depends on:
ii  libc6                    2.13-4          Embedded GNU C Library: Shared lib
ii  libglib2.0-0             2.28.6-1        The GLib library of C routines
ii  libgstreamer-plugins-bas 0.10.32-2       GStreamer libraries from the "base
ii  libgstreamer0.10-0       0.10.32-6+b1    Core GStreamer libraries and eleme
ii  libxml2                  2.7.8.dfsg-2+b1 GNOME XML library
ii  python                   2.6.6-14        interactive high-level object-orie
ii  python-central           0.6.17          register and build utility for Pyt
ii  python-gobject           2.28.3-2        Python bindings for the GObject li
ii  python-libxml2           2.7.8.dfsg-2+b1 Python bindings for the GNOME XML 

python-gst0.10 recommends no packages.

Versions of packages python-gst0.10 suggests:
pn  python-gst0.10-dbg          <none>       (no description available)
ii  python-gst0.10-dev          0.10.21-2+b1 generic media-playing framework (P

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJN0aYSAAoJEO00zqvie6q8VXYP/i2HZIk80nynPG9wIYcpBQRI
srLaQOwRa6jw9Kk1B+XZmPy7X5B8//L92mnZDZu+ej4pDzHTmldmRp38v8OYXZSG
u9lfjPSmetytMx3x12JqUZEXq9uqQ8v9xmCH/iUJph5oCS2X5ccPDuOVKQmmMOvm
Nyl5afb0C6vBPumwpe9bQl13+tPmWeTm5o+b7wFajb1d0/7t86SthD9/Q6qtBqMH
MFlFyjhLLsWVKDoTH+SqugKMNeKfjjG9MExfaHAtPYyO6C9jsH7o3I6rN9kF4ncN
M09Eye3s8kYmCznNIuz+bqrxvMBsNpenX0lGnPiWPEIybfzyv9uG3dqscOrZXozm
kk8Rup42E3OPAJg4GpMd8P9Fa+D3ZTHthZ5LXm0mf7xKXhTZhxW0CxrsWul/mn5e
796Pq1qwxxGGEYZBbkm+OjFFK5JDlME6DA2LSjqh0dCtQrwMFc4JN3hZg2qqTA9Z
h/ceqIClWcI7JT4fAOb7jw4GQ2uggS6RsZejHhtdlGNIBmAV5y5P00oXcSNS2pS+
HqCz92byGduQ73wPJCBCFNSLUI291IxBL3q3+l2sPl6Dj02FDj38JROgBnwbDX3J
PJDIOYizSgswztOPaPjzAl9hw7W2s9N0LiFFbRaHAN6G1r/ltkzFYNhKXYZKh5yK
Qs3qkOIIP2H3gZfVDNJN
=IVJ+
-----END PGP SIGNATURE-----





More information about the pkg-gstreamer-maintainers mailing list