[OE-core] [PATCH 7/8] gobject-introspection.bbclass: make additional DEPENDS conditional

Martin Jansa martin.jansa at gmail.com
Thu Mar 17 21:36:08 UTC 2016


On Thu, Mar 17, 2016 at 05:29:59PM +0000, Burton, Ross wrote:
> On 17 March 2016 at 17:19, Andre McCurdy <armccurdy at gmail.com> wrote:
> 
> >  # Generating introspection data depends on a combination of native and
> > target
> >  # introspection tools, and qemu to run the target tools.
> > -DEPENDS_append = " gobject-introspection gobject-introspection-native
> > qemu-native"
> > +DEPENDS_append = " ${@bb.utils.contains('COMBINED_FEATURES',
> > 'gobject-introspection-data', 'gobject-introspection
> > gobject-introspection-native qemu-native', '', d)}"
> >
> 
> Have you verified this works with g-i disabled and a clean sysroot?  I'm
> thinking builds will still need at least some of this to provide the m4
> macros.

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.

-- 
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/20160317/ad3b934f/attachment-0002.sig>


More information about the Openembedded-core mailing list