[yocto] Not able to disable introspection in gstreamer

2016-03-19 Thread Ashish Shrivastava
?Hi,


I am trying to build latest poky version from upstream but it was failing in 
"gobject-introspection-data?".

I disabled it with comments mentioned in:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?id=8c14c746da1784c4bdaa621dde6fccd99e72ef1b


by adding folloing line in config:

MACHINE_FEATURES_BACKFILL_CONSIDERED = "gobject-introspection-data"


Now gstreamer is throwing error for introspection.


I am trying to disable it but with no success.


Anyone who knows how to disable introspection in gstreamer would be of great 
help.


Regards

Ashish

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Not able to disable introspection in gstreamer

2016-03-19 Thread Martin Jansa
On Wed, Mar 16, 2016 at 02:54:27PM +, Ashish Shrivastava wrote:
> ?Hi,
> 
> 
> I am trying to build latest poky version from upstream but it was failing in 
> "gobject-introspection-data?".
> 
> I disabled it with comments mentioned in:
> 
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?id=8c14c746da1784c4bdaa621dde6fccd99e72ef1b
> 
> 
> by adding folloing line in config:
> 
> MACHINE_FEATURES_BACKFILL_CONSIDERED = "gobject-introspection-data"
> 
> 
> Now gstreamer is throwing error for introspection.
> 
> 
> I am trying to disable it but with no success.
> 
> 
> Anyone who knows how to disable introspection in gstreamer would be of great 
> help.

Our gstreamer recipes are also failing even when COMBINED_FEATURES don't
contain gobject-introspection-data (I've used
DISTRO_FEATURES_BACKFILL_CONSIDERED because I want to disable it for all
MACHINEs).

I think it's because COMBINED_FEATURES conditional is used only to add
--enable-introspection in EXTRA_OECONF, but other changes like
introspection.m4 changes are done in all builds.

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Not able to disable introspection in gstreamer

2016-03-19 Thread alexander . kanavin
> I am trying to build latest poky version from upstream but it was failing
> in "gobject-introspection-data?".
>
> I disabled it with comments mentioned in:
>
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?id=8c14c746da1784c4bdaa621dde6fccd99e72ef1b
>
>
> by adding folloing line in config:
>
> MACHINE_FEATURES_BACKFILL_CONSIDERED = "gobject-introspection-data"
>
>
> Now gstreamer is throwing error for introspection.

Your log seems to say that gstreamer is at 1.6.0, and therefore is coming
from some other layer than oe-core (which has 1.6.3). Disabling
introspection in recipes by using MACHINE_FEATURES_BACKFILL_CONSIDERED
only works if those recipes inherit gobject-introspection class, and so
this is what you should do. Or migrate from your custom gstreamer recipes
to ones provided by oe-core, and then you don't have to disable anything
at all most likely, and you will gain ability to use gstreamer from Python
scripts, Vala or other runtimes.

Alex
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Not able to disable introspection in gstreamer

2016-03-19 Thread Burton, Ross
On 16 March 2016 at 16:13, Martin Jansa  wrote:

> I think it's because COMBINED_FEATURES conditional is used only to add
> --enable-introspection in EXTRA_OECONF, but other changes like
> introspection.m4 changes are done in all builds.
>

Then the class should be passing --disable-introspection. Is the problem
also that your recipes are not inheriting this class, so they're
auto-detecting pieces of the GIR framework?

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Not able to disable introspection in gstreamer

2016-03-19 Thread Ashish Shrivastava

DEBUG: SITE files ['endian-little', 'bit-32', 'mips-common', 'common-linux', 
'common-glibc', 'mipsel-linux', 'common']
DEBUG: Executing shell function do_compile
NOTE: make -j 8
make  all-recursive
make[1]: Entering directory 
`/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/work/mips32r2el-nf-poky-linux/gstreamer1.0-plugins-base/1.6.0-r0/build'
Making all in pkgconfig
make[2]: Entering directory 
`/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/work/mips32r2el-nf-poky-linux/gstreamer1.0-plugins-base/1.6.0-r0/build/pkgconfig'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/work/mips32r2el-nf-poky-linux/gstreamer1.0-plugins-base/1.6.0-r0/build/pkgconfig'
Making all in gst-libs
make[2]: Entering directory 
`/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/work/mips32r2el-nf-poky-linux/gstreamer1.0-plugins-base/1.6.0-r0/build/gst-libs'
Making all in gst
make[3]: Entering directory 
`/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/work/mips32r2el-nf-poky-linux/gstreamer1.0-plugins-base/1.6.0-r0/build/gst-libs/gst'
make -C tag
make -C fft
make -C sdp
make -C video
make -C app
make[4]: Entering directory 
`/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/work/mips32r2el-nf-poky-linux/gstreamer1.0-plugins-base/1.6.0-r0/build/gst-libs/gst/sdp'
../../../mipsel-poky-linux-libtool  --tag=CC   --mode=link 
mipsisa32r2el-axis-linux-gnu-gcc  -mel -mabi=32 -msoft-float -march=mips32r2 
--sysroot=/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/q1775
 -std=gnu99 -I../../../../gst-plugins-base-1.6.0/gst-libs -I../../../gst-libs 
-pthread 
-I/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/q1775/usr/include/gstreamer-1.0
 
-I/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/q1775/usr/lib/gstreamer-1.0/include
 
-I/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/q1775/usr/include/glib-2.0
 
-I/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/q1775/usr/lib/glib-2.0/include
 -pthread 
-I/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/q1775/usr/include/glib-2.0
 
-I/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/q1775/usr/lib/glib-2.0/include
 -pthread 
-I/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/q1775/usr/include/gstreamer-1.0
 
-I/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/q1775/usr/lib/gstreamer-1.0/include
 
-I/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/q1775/usr/include/glib-2.0
 
-I/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/q1775/usr/lib/glib-2.0/include
 -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -Wall 
-Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations 
-Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings 
-Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs 
-Waddress -Waggregate-return -Wno-multichar -Wnested-externs -Wno-unused   
-pthread 
-I/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/q1775/usr/include/glib-2.0
 
-I/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/q1775/usr/lib/glib-2.0/include
 -O2 -pipe -g -feliminate-unused-debug-types 
-fdebug-prefix-map=/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/work/mips32r2el-nf-poky-linux/gstreamer1.0-plugins-base/1.6.0-r0/build=/usr/src/gstreamer1.0-plugins-base
 
-fdebug-prefix-map=/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/work/mips32r2el-nf-poky-linux/gstreamer1.0-plugins-base/1.6.0-r0/gst-plugins-base-1.6.0=/usr/src/gstreamer1.0-plugins-base
 
-fdebug-prefix-map=/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/x86_64-linux=
 
-fdebug-prefix-map=/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/q1775=
  -export-symbols-regex ^_?\(gst_\|Gst\|GST_\).* -no-undefined 
-Wl,-Bsymbolic-functions -version-info 600:0:600 -Wl,-O1  -Wl,--as-needed -o 
libgstsdp-1.0.la -rpath /usr/lib libgstsdp_1.0_la-gstsdpmessage.lo 
libgstsdp_1.0_la-gstmikey.lo -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0  
-lgio-2.0 -lgobject-2.0 -lglib-2.0 
make[4]: Entering directory 
`/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/work/mips32r2el-nf-poky-linux/gstreamer1.0-plugins-base/1.6.0-r0/build/gst-libs/gst/tag'
../../../mipsel-poky-linux-libtool  --tag=CC   --mode=link 
mipsisa32r2el-axis-linux-gnu-gcc  -mel -mabi=32 -msoft-float -march=mips32r2 
--sysroot=/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/q1775
 -std=gnu99 -I../../../../gst-plugins-base-1.6.0/gst-libs -I../../../gst-libs 
-pthread 
-I/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/q1775/usr/include/gstreamer-1.0
 
-I/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/q1775/usr/lib/gstreamer-1.0/include
 
-I/home/ashishs/dists/jangal-poky-master/builds/q1775/tmp/sysroots/q1775/usr/include/glib-2.0
 

Re: [yocto] Not able to disable introspection in gstreamer

2016-03-18 Thread Burton, Ross
On 16 March 2016 at 14:54, Ashish Shrivastava 
wrote:

> Now gstreamer is throwing error for introspection.
>
>
> I am trying to disable it but with no success.
>

Can you include the full log of what errors you see?

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto