Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: alexander.kanavin@linux.intel.com
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 7/8] gobject-introspection.bbclass: make additional DEPENDS conditional
Date: Fri, 18 Mar 2016 21:46:26 +0100	[thread overview]
Message-ID: <20160318204626.GD2555@jama> (raw)
In-Reply-To: <51498.10.252.7.138.1458328949.squirrel@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 1370 bytes --]

On Fri, Mar 18, 2016 at 09:22:29PM +0200, alexander.kanavin@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.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2016-03-18 20:42 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-17 17:19 [PATCH 0/8] gobject introspection fixes Andre McCurdy
2016-03-17 17:19 ` [PATCH 1/8] bitbake.conf: remove 'gobject-introspection-data' from DISTRO/MACHINE_FEATURES_BACKFILL Andre McCurdy
2016-03-17 17:31   ` Burton, Ross
2016-03-17 18:17     ` Andre McCurdy
2016-03-17 21:02       ` Richard Purdie
2016-03-18 11:08         ` Andre McCurdy
2016-03-21 14:15           ` Alexander Kanavin
2016-03-21 16:31           ` Richard Purdie
2016-03-17 17:19 ` [PATCH 2/8] default-distrovars.inc: add gobject-introspection-data to DISTRO_FEATURES_DEFAULT Andre McCurdy
2016-03-17 17:19 ` [PATCH 3/8] qemu.inc: add gobject-introspection-data to MACHINE_FEATURES Andre McCurdy
2016-03-17 17:19 ` [PATCH 4/8] arch-x86.inc: disable gobject introspection for x86-64 x32 builds Andre McCurdy
2016-03-17 17:19 ` [PATCH 5/8] qemuarm64.conf: don't clear MACHINE_FEATURES Andre McCurdy
2016-03-17 17:19 ` [PATCH 6/8] gobject-introspection.bbclass: wrap comments at 80 columns Andre McCurdy
2016-03-17 17:19 ` [PATCH 7/8] gobject-introspection.bbclass: make additional DEPENDS conditional Andre McCurdy
2016-03-17 17:29   ` Burton, Ross
2016-03-17 17:44     ` Andre McCurdy
2016-03-17 21:36     ` Martin Jansa
2016-03-17 22:16       ` Richard Purdie
2016-03-18 19:22       ` alexander.kanavin
2016-03-18 20:46         ` Martin Jansa [this message]
2016-03-17 17:19 ` [PATCH 8/8] gobject-introspection.bbclass: mark as machine specific due to COMBINED_FEATURES Andre McCurdy
2016-03-17 17:29   ` Martin Jansa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160318204626.GD2555@jama \
    --to=martin.jansa@gmail.com \
    --cc=alexander.kanavin@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox