GNOME Bugzilla – Bug 780369
gstpython: Meson fails to find pythondetector
Last modified: 2017-03-24 15:39:51 UTC
Meson does not check if pythondetector is installed. This lead to wrong installation path.
For the rereference I ended up with prefix/_gi_gst.cpython-35m-x86_64-linux-gnu.so prefix/lib64/gstreamer-1.0/libgstpythonplugin.so prefix/Gst.py prefix/GstPbutils.py
Well, how does it not find it if it is inside the folder itself?
Rephrased, it fails, and it's a bug.
It fails at detecting the script? Or what is failing exactly?
To reproduce: mkdir build cd build meson .. --prefix=/your/prefix ninja-build install I didn't yet have time to investigate, I just switched to autotool to finish my work. I simply guessed the script was not found, but it would also be returning an empty string. I have no idea how this thing works, I have not yet looked at it. If you can't reproduce, I guess I'll have a look. But I think my way of using it is closer to what packages and cross-compilation will do.
Created attachment 348579 [details] [review] meson: Install in gi._overidesdir only if we are installing in right prefix And make sure python detector did not fail I am not sure it will solve the issue but this sound much saner to me.
commit 7f78ed2541d7671bee2198ca45c556897c3ff060 Author: Thibault Saunier <thibault.saunier@osg.samsung.com> Date: Thu Mar 23 12:09:05 2017 -0300 meson: Install in gi._overidesdir only if we are installing in right prefix And make sure python detector did not fail https://bugzilla.gnome.org/show_bug.cgi?id=780369