The library hardcodes paths to the python library internally and currently
these are build paths. Fix this to use the correct target path and
fix reproducibility in the process.

Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org>
---
 meta/lib/oeqa/selftest/cases/reproducible.py                    | 1 -
 meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.3.bb | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py 
b/meta/lib/oeqa/selftest/cases/reproducible.py
index 1fb2806f2a8..a15601e5e5d 100644
--- a/meta/lib/oeqa/selftest/cases/reproducible.py
+++ b/meta/lib/oeqa/selftest/cases/reproducible.py
@@ -35,7 +35,6 @@ exclude_packages = [
        'go-runtime',
        'go_',
        'go-',
-       'gstreamer1.0-python',
        'lttng-tools-dbg',
        'lttng-tools-ptest',
        'ltp',
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.3.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.3.bb
index 897d2467937..de78fe84452 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.3.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.3.bb
@@ -15,6 +15,8 @@ PNREAL = "gst-python"
 
 S = "${WORKDIR}/${PNREAL}-${PV}"
 
+EXTRA_OEMESON += "-Dlibpython-dir=${libdir}"
+
 # gobject-introspection is mandatory and cannot be configured
 REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
 UNKNOWN_CONFIGURE_WHITELIST_append = " introspection"
-- 
2.27.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#148778): 
https://lists.openembedded.org/g/openembedded-core/message/148778
Mute This Topic: https://lists.openembedded.org/mt/80985723/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to