All of lore.kernel.org
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@openembedded.org
Subject: Re: ugly OE issue with RDEPENDS
Date: Tue, 31 Mar 2009 15:19:08 +0200	[thread overview]
Message-ID: <gqt58c$l2k$1@ger.gmane.org> (raw)
In-Reply-To: <49D21128.30201@gmx.net>

On 31-03-09 14:48, Robert Schuster wrote:
> Hi,
> I have this specific issue with with RDEPENDS and no idea how to solve
> it. It affects my Java recipes but in theory it can happen to any other
> recipes too. It is nothing Java specific. The unwanted effect is that OE
> builds to much and as such slows down the time to build a specific
> package considerably.
>
> Ok here is how it goes:
>
> I want to build recipe jamvm (application). This in turn needs recipe
> classpath. classpath puts a lot of useful things into staging which is
> needed by the jamvm build. So far so good.
>
> The problem is. classpath's tar.gz also contains some Java applications
> (the well known jar, javah and so). Via PACKAGE variable I place those
> into the binary package classpath-tools. To make everything as smooth as
> possible for the user I furthermore declare:
>
> RDEPENDS_classpath-tools = "java2-runtime". This means: For this package
> to work correctly a Java runtime needs to be installed. OE in turn
> demands that this java2-runtime dependency is also satisfied during the
> build.
>
> The odd thing that happens here is: jamvm (which I want to build) is a
> provider for java2-runtime but this does not interest OE and it builds
> another provider for java2-runtime instead. In my case this is
> openjdk-6, a recipe takes a very long time to built.

The real issue is that you RDEPEND on a virtual package, but you're not 
giving OE enough info to resolve the virtual to a real provider. I 
suppose you want bitbake to (reverse) check the build target for any 
virtuals it might provide, right?

regards,

Koen




  parent reply	other threads:[~2009-03-31 13:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-31 12:48 ugly OE issue with RDEPENDS Robert Schuster
2009-03-31 13:06 ` Holger Schurig
2009-03-31 13:19 ` Koen Kooi [this message]
2009-03-31 13:36 ` Holger Schurig

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='gqt58c$l2k$1@ger.gmane.org' \
    --to=k.kooi@student.utwente.nl \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.