On Fri, Mar 18, 2016 at 09:22:29PM +0200, alexander.kana...@linux.intel.com 
wrote:
> > Even with gobject-introspection-data removed from DISTRO_FEATURES I'm
> > seeing
> > couple recipes (our version of gst-*) failing with:
> >
> > | configure:22282: error: possibly undefined macro: PKG_CONFIG_SYSROOT_DIR
> > |       If this token and others are legitimate, please use
> > m4_pattern_allow.
> > |       See the Autoconf documentation.
> >
> > and PKG_CONFIG_SYSROOT_DIR is added by introspection.m4 from g-i patchset.
> 
> Disabling building of introspection data will not guarantee absence of
> build failures, I'm afraid. Some recipes will work just fine unchanged,
> but others, including gstreamer, do need custom fixing, usually because
> they have non-standard locations for m4 macros, or those macros themselves
> are non-standard. So you need to rebase your recipes on top of those
> available now in oe-core, and particularly this snippet will fix the
> immediate problem you have above:
> 
> delete_pkg_m4_file() {
>         # This m4 file is out of date and is missing
> PKG_CONFIG_SYSROOT_PATH tweaks which we need for introspection
>         rm "${S}/common/m4/pkg.m4" || true
> }
> 
> do_configure[prefuncs] += " delete_pkg_m4_file"

Thanks, this did the trick.

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

Attachment: signature.asc
Description: Digital signature

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to