[OE-core] meta-gir issues and maintenance

Martin Jansa martin.jansa at gmail.com
Thu Mar 12 14:35:21 UTC 2015


Hi Tomas, all,

I was trying to use meta-gir in Dizzy release and found out that last
commit in this layer is 16 months ago and many .bbappends no longer
match with their recipes.

Was this layer superseded by something else or you just didn't have time
to update it for newer Yocto releases?

Even the base meta-gir layer have issue with g-ir-core recipe which is
currently failing with Dizzy release (it seems to be working fine with
Dylan):

$ cat /OE/build/oe-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/g-ir-core/1.34.2-r0/temp/log.do_compile.660
DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
DEBUG: Executing shell function do_compile
NOTE: make -j 9
[ -d gir ] || /bin/mkdir -p gir ; \
sed \
-e s,%CAIRO_SHARED_LIBRARY%,libcairo-gobject.so.2, \
-e s,%CAIRO_GIR_PACKAGE%,cairo-gobject, \
< /OE/build/oe-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/g-ir-core/1.34.2-r0/gobject-introspection-1.34.2/gir/cairo-1.0.gir.in > gir/cairo-1.0.gir.tmp && mv gir/cairo-1.0.gir.tmp gir/cairo-1.0.gir
make  all-recursive
make[1]: Entering directory '/OE/build/oe-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/g-ir-core/1.34.2-r0/build'
Making all in .
make[2]: Entering directory '/OE/build/oe-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/g-ir-core/1.34.2-r0/build'
g-ir-scanner   --namespace=GLib --nsversion=2.0 --libtool="./arm-oe-linux-gnueabi-libtool" --pkg=glib-2.0    --library=glib-2.0 --library=gobject-2.0 --external-library --reparse-validate --identifier-prefix=G --symbol-prefix=g --symbol-prefix=glib --c-include="glib.h"  -I/OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0 -I/OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/lib/glib-2.0/include -DGETTEXT_PACKAGE=Dummy -DGLIB_COMPILATION -D__G_I18N_LIB_H__  /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/lib/glib-2.0/include/glibconfig.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/giochannel.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gprintf.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gtestutils.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gversion.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/genviron.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gmacros.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gprimes.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/ghook.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gvariant.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/garray.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gmem.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gmappedfile.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gtrashstack.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gerror.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gnode.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gi18n-lib.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gkeyfile.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gregex.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gsequence.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/ggettext.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/goption.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gstringchunk.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gstring.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gscanner.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gdataset.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gpoll.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gdatetime.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gbase64.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/ghmac.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gurifuncs.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gslice.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gquark.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gmain.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/ghostutils.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gbytes.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gmessages.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gi18n.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gtimezone.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/glist.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gqueue.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gcharset.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gdate.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gchecksum.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/galloca.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gwin32.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gbitlock.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gbookmarkfile.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gshell.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gbacktrace.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gmarkup.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gqsort.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gslist.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gstrfuncs.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gutils.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gconvert.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gpattern.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gthread.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gstdio.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gatomic.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gtimer.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/ghash.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gtree.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gvarianttype.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gunicode.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/grand.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gdir.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gtypes.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gfileutils.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gthreadpool.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gasyncqueue.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gspawn.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib/gversionmacros.h /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/gobject/glib-types.h /OE/build/oe-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/g-ir-core/1.34.2-r0/gobject-introspection-1.34.2/gir/glib-2.0.c /OE/build/oe-core/tmp-glibc/sysroots/qemuarm//usr/include/glib-2.0/glib-unix.h --output GLib-2.0.gir
g-ir-compiler  --includedir=. /OE/build/oe-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/g-ir-core/1.34.2-r0/gobject-introspection-1.34.2/gir/DBus-1.0.gir -o gir/DBus-1.0.typelib
g-ir-compiler  --includedir=. /OE/build/oe-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/g-ir-core/1.34.2-r0/gobject-introspection-1.34.2/gir/fontconfig-2.0.gir -o gir/fontconfig-2.0.typelib
make[2]: g-ir-compiler: Command not found
Makefile:1638: recipe for target 'gir/DBus-1.0.typelib' failed
make[2]: *** [gir/DBus-1.0.typelib] Error 127
make[2]: *** Waiting for unfinished jobs....
make[2]: g-ir-compiler: Command not found
Makefile:1638: recipe for target 'gir/fontconfig-2.0.typelib' failed
make[2]: *** [gir/fontconfig-2.0.typelib] Error 127
/bin/sh: g-ir-scanner: command not found
Makefile:1625: recipe for target 'GLib-2.0.gir' failed
make[2]: *** [GLib-2.0.gir] Error 127
make[2]: Leaving directory '/OE/build/oe-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/g-ir-core/1.34.2-r0/build'
Makefile:1113: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/OE/build/oe-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/g-ir-core/1.34.2-r0/build'
Makefile:733: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: oe_runmake failed
WARNING: /OE/build/oe-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/g-ir-core/1.34.2-r0/temp/run.do_compile.660:1 exit 1 from
  exit 1
ERROR: Function failed: do_compile (log file is located at /OE/build/oe-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/g-ir-core/1.34.2-r0/temp/log.do_compile.660)

And if I fix PATH to find g-ir-compiler, then it fails somewhere else with:

g-ir-compiler  --includedir=. WORK/g-ir-core/1.34.2-r0.0/gobject-introspection-1.34.2/gir/xft-2.0.gir -o gir/xft-2.0.typelib
Could not find GIR file 'xlib-2.0.gir'; check XDG_DATA_DIRS or use --includedir
error parsing file WORK/g-ir-core/1.34.2-r0.0/gobject-introspection-1.34.2/gir/xft-2.0.gir: Failed to parse included gir xlib-2.0
make[2]: *** [gir/xft-2.0.typelib] Error 1

Trailing .bbappends:
meta-gir/meta-gir-clutter/recipes-graphics/clutter-gtk/clutter-gtk-1.0_1.4.2.bbappend
meta-gir/meta-gir-clutter/recipes-graphics/clutter/clutter-1.0_1.14.4.bbappend
meta-gir/meta-gir-clutter/recipes-graphics/cogl/cogl-1.0_1.14.0.bbappend
meta-gir/meta-gir-clutter/recipes-graphics/mutter/mutter_3.8.1.bbappend
meta-gir/meta-gir-clutter/recipes-graphics/mx/mx_2.0.bbappend
meta-gir/meta-gir-core/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.28.2.bbappend
meta-gir/meta-gir-core/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bbappend
meta-gir/meta-gir-core/recipes-gnome/gtk+/gtk+3_3.8.2.bbappend
meta-gir/meta-gir-core/recipes-gnome/gtk+/gtk+_2.24.20.bbappend
meta-gir/meta-gir-core/recipes-graphics/pango/pango_1.32.5.bbappend
meta-gir/meta-gir-core/recipes-support/atk/atk_2.10.0.bbappend
meta-gir/meta-gir-core/recipes-support/libsoup/libsoup-2.4_2.42.1.bbappend

Current versions:
openembedded-core/meta/recipes-graphics/clutter/clutter-gtk-1.0_1.4.4.bb
openembedded-core/meta/recipes-graphics/clutter/clutter-1.0_1.20.0.bb
openembedded-core/meta/recipes-graphics/cogl/cogl-1.0_1.18.2.bb
openembedded-core/meta/recipes-graphics/mx/mx-1.0_1.4.7.bb
openembedded-core/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.8.bb
openembedded-core/meta/recipes-gnome/gtk+/gtk+3_3.12.2.bb
openembedded-core/meta/recipes-gnome/gtk+/gtk+_2.24.25.bb
openembedded-core/meta/recipes-graphics/pango/pango_1.36.8.bb
openembedded-core/meta/recipes-support/atk/atk_2.14.0.bb
openembedded-core/meta/recipes-support/libsoup/libsoup-2.4_2.46.0.bb

mx bbappend is surprisingly newer than what is in oe-core and was probably meant for meta-guacamayo layer:
http://layers.openembedded.org/layerindex/recipe/3286/
there is also mx-2.0 recipe in meta-clutter:
http://layers.openembedded.org/layerindex/recipe/4952/

mutter is only in meta-clutter:
http://layers.openembedded.org/layerindex/recipe/4895/

gsettings-desktop-schemas were moved to meta-gnome, so it should be moved from meta-gir-core as well
meta-openembedded/meta-gnome/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_3.14.1.bb

Are there any plans to update it?

Thanks,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150312/e8e4216c/attachment-0002.sig>


More information about the Openembedded-core mailing list