Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Joshua Lock <josh@openedhand.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Cc: poky <poky@yoctoproject.org>
Subject: Re: [PATCH 6/8] util-macros: fix DEPENDS in the case of native/nativesdk
Date: Tue, 08 Mar 2011 10:47:01 -0800	[thread overview]
Message-ID: <1299610021.5026.9.camel@scimitar> (raw)
In-Reply-To: <0c04b8bd89465d186d0ccb6912e7c08aae506541.1299544029.git.sgw@linux.intel.com>

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

On Mon, 2011-03-07 at 16:29 -0800, Saul Wold wrote:
From: Dexuan Cui <dexuan.cui@intel.com>
> 
> This fixes [YOCTO #814]
> 
> Without the line fixing nativesdk, bitbake meta-toolchain-gmae would
> get the following:
> 
> Missing or unbuildable dependency chain was: ['meta-toolchain-gmae',
'task-sdk-host', 'qemu-nativesdk', 'libsdl-nativesdk',
'libx11-nativesdk', 'util-macros-nativesdk', 'libgpg-error-nativesdk']
> ERROR: Nothing PROVIDES 'libgpg-error-nativesdk'
> 
> [sgw: inherit gettext]
> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
> Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>  .../xorg-util/util-macros_1.11.0.bb                |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
b/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
> index 2bfe514..10de96c 100644
> --- a/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
> +++ b/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
> @@ -11,12 +11,13 @@ PE = "1"
>  PR = "r0"
>  
>  # ${PN} is empty so we need to tweak -dev and -dbg package
dependencies
> -DEPENDS = "gettext libgpg-error"
> -DEPENDS_virtclass-native = "gettext"
> +DEPENDS = "libgpg-error"
>  
>  RDEPENDS_${PN}-dev = ""
>  RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})"
>  
> +inherit gettext
> +
>  BBCLASSEXTEND = "native nativesdk"
>  
>  SRC_URI[md5sum] = "8580021f3a9e242ab09d23d62e475d53"
> 
By making this change you've introduced the requirement for native and
nativesdk variants of libgpg-error, we don't want nor need this for the
-native* builds which is why we had a line explicitly setting the
DEPENDS for native.

The right way to do this is to have a similar line for the nativesdk
DEPENDS as per the attached patch (and my josh/bernard branch on
poky-contrib).

Cheers,
Joshua
-- 
Joshua Lock
        Yocto Build System Monkey
        Intel Open Source Technology Centre

[-- Attachment #2: 0001-util-macros-fix-DEPENDS-for-nativesdk.patch --]
[-- Type: text/x-patch, Size: 975 bytes --]

From 48f856c6bdb8c7ddaf23963238ab52fb8856cdd5 Mon Sep 17 00:00:00 2001
From: Joshua Lock <josh@linux.intel.com>
Date: Tue, 8 Mar 2011 10:20:27 -0800
Subject: [PATCH] util-macros: fix DEPENDS for nativesdk

Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
 .../xorg-util/util-macros_1.11.0.bb                |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb b/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
index 2bfe514..e2c558c 100644
--- a/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
+++ b/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
@@ -13,6 +13,7 @@ PR = "r0"
 # ${PN} is empty so we need to tweak -dev and -dbg package dependencies
 DEPENDS = "gettext libgpg-error"
 DEPENDS_virtclass-native = "gettext"
+DEPENDS_virtclass-nativesdk = "gettext"
 
 RDEPENDS_${PN}-dev = ""
 RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})"
-- 
1.7.4


  reply	other threads:[~2011-03-08 19:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-08  0:29 [PATCH 0/8] Numerous bug fixes Saul Wold
2011-03-08  0:29 ` [PATCH 1/8] gst-plugins: Added hal to DEPENDS Saul Wold
2011-03-08  0:29 ` [PATCH 2/8] attr: Added ncurses to depends Saul Wold
2011-03-08 18:25   ` Khem Raj
2011-03-08  0:29 ` [PATCH 3/8] lsb-live image: add lsb-live and lsb-sdk-live image types Saul Wold
2011-03-08  0:29 ` [PATCH 4/8] adt: Update to svn r596 to fix symbolic link issues Saul Wold
2011-03-08  0:29 ` [PATCH 5/8] connman: add xuser to the dbus permission list Saul Wold
2011-03-08 18:27   ` [poky] " Khem Raj
2011-03-08  0:29 ` [PATCH 6/8] util-macros: fix DEPENDS in the case of native/nativesdk Saul Wold
2011-03-08 18:47   ` Joshua Lock [this message]
2011-03-08  0:29 ` [PATCH 7/8] libgpg-error: extend to nativesdk to catch up with metadata changes Saul Wold
2011-03-08  0:29 ` [PATCH 8/8] gcc-runtime: fix LSB library checks for libstdc++.so.6 Saul Wold
2011-03-08  1:16   ` [poky] " Khem Raj
2011-03-08 18:55 ` [PATCH 0/8] Numerous bug fixes Richard Purdie
2011-03-09  1:29   ` Paul Eggleton
2011-03-09  4:55     ` [poky] " Khem Raj
2011-03-09  7:48     ` Koen Kooi

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=1299610021.5026.9.camel@scimitar \
    --to=josh@openedhand.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=poky@yoctoproject.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