[oe] [PATCH 1/3] gstreamer: fix dependency issue and un-blacklist it

Paul Gortmaker paul.gortmaker at windriver.com
Wed Feb 15 18:03:29 UTC 2017


In http://errors.yoctoproject.org/Errors/Details/130583/ we see the
following:

  /bin/bash: line 1: glib-mkenums: command not found
  /bin/bash: glib-genmarshal: command not found
  Makefile:1808: recipe for target 'gstenumtypes.h' failed
  make[2]: *** [gstenumtypes.h] Error 127

Most people don't see this because most hosts have these binaries
in /usr/bin -- e.g. libglib2.0-dev in Ubuntu provides them.

However, after making this change, we see the following in the
build for gstreamer:

./recipe-sysroot-native/usr/bin/glib-mkenums
./recipe-sysroot-native/usr/bin/glib-genmarshal

..and hence this change should resolve the above Yocto issue.

Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
---
 .../recipes-multimedia/gstreamer-0.10/gstreamer_0.10.36.bb            | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta-multimedia/recipes-multimedia/gstreamer-0.10/gstreamer_0.10.36.bb b/meta-multimedia/recipes-multimedia/gstreamer-0.10/gstreamer_0.10.36.bb
index fa80ddac74f0..5f97a20fd6c6 100644
--- a/meta-multimedia/recipes-multimedia/gstreamer-0.10/gstreamer_0.10.36.bb
+++ b/meta-multimedia/recipes-multimedia/gstreamer-0.10/gstreamer_0.10.36.bb
@@ -7,7 +7,7 @@ SECTION = "multimedia"
 LICENSE = "LGPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \
                     file://gst/gst.h;beginline=1;endline=21;md5=8e5fe5e87d33a04479fde862e238eaa4"
-DEPENDS = "glib-2.0 libxml2 bison-native flex-native"
+DEPENDS = "glib-2.0 libxml2 bison-native flex-native glib-2.0-native"
 
 PR = "r2"
 
@@ -51,5 +51,3 @@ RRECOMMENDS_${PN}_qemux86-64 += "kernel-module-snd-ens1370 kernel-module-snd-raw
 FILES_${PN} += " ${libdir}/gstreamer-0.10/*.so"
 FILES_${PN}-dev += " ${libdir}/gstreamer-0.10/*.la ${libdir}/gstreamer-0.10/*.a"
 FILES_${PN}-dbg += " ${libdir}/gstreamer-0.10/.debug/ ${libexecdir}/gstreamer-0.10/.debug/"
-
-PNBLACKLIST[gstreamer] ?= "Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/130583/"
-- 
2.7.4




More information about the Openembedded-devel mailing list