All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randy Witt <randy.e.witt@linux.intel.com>
To: Nithyakala Sainath <nithisai@gmail.com>, poky@yoctoproject.org
Subject: Re: Multiple versions of libx11 are due to be built
Date: Mon, 18 May 2015 10:53:00 -0700	[thread overview]
Message-ID: <555A26FC.3030304@linux.intel.com> (raw)
In-Reply-To: <CACj2azs1yrQ0fVuJhrgkDTj_kk5G=z4pqmNLjiLeNZFpQv-Lxg@mail.gmail.com>

On 05/17/2015 01:23 PM, Nithyakala Sainath wrote:
> Hello,
>
> I want to understand the process of choosing a recipe by bitbake
>
> There is a libx11_1.3.2.bb in a layer called A with higher priority of 6.
>
> There is another libx11_1.4.0.bb in a layer called B with priority of 5.
>
> So bitbake sshould automatically pick up libx11  from A right ? Why is it
> giving me error like:

" The precedence established through this variable stands regardless of a 
recipe's version (PV variable). For example, a layer that has a recipe with a 
higher PV value but for which the BBFILE_PRIORITY is set to have a lower 
precedence still has a lower precedence."

The documentation definitely makes it sound like this is the case. However, it 
sounds like the layer priority is most likely only taking effect when the 
recipes are the same version.

Richard, does this sound like the documentation needs to be clarified or is this 
a bug?

> " Multiple versions of libx11 are due to be built. Only one version of a
> given PN should be built in any given build. You likely need to set
> PREFERRED_VERSION_libx11 to select the correct version or don't depend on
> multiple versions."
>
> Why should i even prefer a version? This happens when I build an image. But
> when I directly call
>
> bitbake libx11
>
> the one from layer A is getting picked up.
>
> I am confused. Can you please tell me ?
>
> Thanks,
> Nithyakala.
>
>
>



  reply	other threads:[~2015-05-18 17:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-17 20:23 Multiple versions of libx11 are due to be built Nithyakala Sainath
2015-05-18 17:53 ` Randy Witt [this message]
2015-05-19  7:32   ` Richard Purdie
2015-05-19  8:09     ` Nithyakala Sainath
2015-05-19  7:29 ` Richard Purdie

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=555A26FC.3030304@linux.intel.com \
    --to=randy.e.witt@linux.intel.com \
    --cc=nithisai@gmail.com \
    --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 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.