Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Phil Blundell <philb@gnu.org>
To: Saul Wold <sgw@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v3] eglibc: Move perl- and bash-using scripts to separate recipes
Date: Mon, 15 Oct 2012 10:46:49 +0100	[thread overview]
Message-ID: <1350294414.3259.128.camel@phil-desktop> (raw)
In-Reply-To: <50785717.8000606@linux.intel.com>

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

On Fri, 2012-10-12 at 10:44 -0700, Saul Wold wrote:
> On 09/25/2012 05:56 AM, Phil Blundell wrote:
> > This removes the dependency of eglibc.bb itself on perl and bash
> > which, in turn, eliminates the need to build those two recipes if the
> > scripts which need them are not going to be installed.
> >
> 
> I think you missed dealing with an RPOVIDES someplace as I am getting 
> the following error during build:
> 
> > ERROR: Nothing RPROVIDES 'libc-mtrace' (but /intel/poky/distro/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb RDEPENDS on or otherwise requires it)
> > NOTE: Runtime target 'libc-mtrace' is unbuildable, removing...
> > Missing or unbuildable dependency chain was: ['libc-mtrace']
> > ERROR: Required build target 'packagegroup-core-tools-debug' has no buildable providers.
> > Missing or unbuildable dependency chain was: ['packagegroup-core-tools-debug', 'libc-mtrace']

Right, sorry about that.  The attached fixes this for me.

p.


[-- Attachment #2: 0001-eglibc-mtrace-Add-libc-mtrace-to-PROVIDES.patch --]
[-- Type: text/x-patch, Size: 908 bytes --]

From 09acbe5c7b6c480400f7756f79cc13592416f4de Mon Sep 17 00:00:00 2001
From: Phil Blundell <philb@gnu.org>
Date: Mon, 15 Oct 2012 10:45:11 +0100
Subject: [PATCH] eglibc-mtrace: Add libc-mtrace to PROVIDES

Signed-off-by: Phil Blundell <pb@pbcl.net>
---
 meta/recipes-core/eglibc/eglibc-mtrace.inc |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/eglibc/eglibc-mtrace.inc b/meta/recipes-core/eglibc/eglibc-mtrace.inc
index 321de7b..1ec93ac 100644
--- a/meta/recipes-core/eglibc/eglibc-mtrace.inc
+++ b/meta/recipes-core/eglibc/eglibc-mtrace.inc
@@ -1,8 +1,10 @@
 include eglibc-collateral.inc
 
+PR = "r1"
 SUMMARY = "mtrace utility provided by eglibc"
 DESCRIPTION = "mtrace utility provided by eglibc"
 RDEPENDS_${PN} = "perl"
+RPROVIDES_${PN} = "libc-mtrace"
 
 SRC = "${STAGING_INCDIR}/eglibc-scripts-internal-${MULTIMACH_TARGET_SYS}"
 
-- 
1.7.10.4


  reply	other threads:[~2012-10-15 10:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-25 12:56 [PATCH v3] eglibc: Move perl- and bash-using scripts to separate recipes Phil Blundell
2012-10-12 17:44 ` Saul Wold
2012-10-15  9:46   ` Phil Blundell [this message]
2012-10-17  3:33     ` Saul Wold
2012-10-17 22:56       ` Phil Blundell
2012-10-18  9:59         ` Richard Purdie
2012-10-18 10:02           ` Phil Blundell
2012-10-18 22:15             ` Phil Blundell
2012-10-24 16:00 ` Saul Wold

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=1350294414.3259.128.camel@phil-desktop \
    --to=philb@gnu.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=sgw@linux.intel.com \
    /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