All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: Dependency resolving ignores changed sstate-cache?
Date: Tue, 13 Dec 2011 10:21:41 +0000	[thread overview]
Message-ID: <1323771701.2731.43.camel@ted> (raw)
In-Reply-To: <CAGiJk9cfqfhg6DqY4hMBVXnABaCw1Ff9Gbojoa1B=+TvWvU9DA@mail.gmail.com>

On Tue, 2011-12-13 at 10:30 +0100, Samuel Stirtzel wrote:
> it seems that I accidentally deleted fbset from my
> .../tmp-eglibc/work/... dir while cleaning out old builds for another
> recipe.
> For some reason I had a r0 directory from the past of the recipe which
> is now r1.
> So I deleted it manually and fbset too, but I didn't notice.
> 
> Thereafter I built an image that has been already built before,
> but it had some IMAGE_INSTALL changes.
> Everything was alright until opkg encountered the following error:
> | Collected errors:
> |  * satisfy_dependencies_for: Cannot satisfy the following
> dependencies for qt4-x11-free:
> |  *    fbset *
> |  * opkg_install_cmd: Cannot install package qt4-x11-free.
> 
> Of course it could not find fbset, as it was deleted previously,
> so I did a "bitbake -ccleansstate fbset" but the error still occurred.
> 
> 
> This leads me to the conclusion, that the sstate-cache change was not
> noticed by bitbake?
> Or is there higher cache instance file that makes bitbake believe that
> fbset was built?
> 
> After I built fbset with bitbake manually everything went back to normal,
> so there is no problem just confusion :)
> 
> 
> 
> For the reason of understanding it, is there any recent documentation
> about the dependency caching of bitbake?

Usually the above is a sign of a dependency bitbake has not been aware
of. Could you see which .ipk has the dependency on fbset?

Its likely some recipe doesn't have fbset in DEPENDS but is somehow
depending on it if it happened to be built before that recipe and was
present in the sysroot. Usually this happens with libraries so I'm a
little puzzled why it would happen with a binary unless there is a lib
in that package too.

Cheers,

Richard








  reply	other threads:[~2011-12-13 10:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-13  9:30 Dependency resolving ignores changed sstate-cache? Samuel Stirtzel
2011-12-13 10:21 ` Richard Purdie [this message]
2011-12-13 11:28   ` Samuel Stirtzel
2011-12-13 11:34     ` Samuel Stirtzel

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=1323771701.2731.43.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --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 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.