Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Mike Looijmans <mike.looijmans@topic.nl>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: Figuring out why sstate-cache is no longer used for a package
Date: Tue, 10 Dec 2013 15:32:34 +0100	[thread overview]
Message-ID: <20131210143234.GE3721@jama> (raw)
In-Reply-To: <52A6B861.30104@topic.nl>

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

On Tue, Dec 10, 2013 at 07:44:49AM +0100, Mike Looijmans wrote:
> I've been struggling with this for a few days.
> 
> We have a build server that build various images overnight. One of the 
> packages in that image is "fpga-image", which takes more than an hour to build.
> 
> We have been sharing the the build server's sstate-cache via HTTP and this has 
> worked excellently up until yesterday.
> 
> The current situation is that a client will grab everything from the 
> buildserver's HTTP sstate-cache, potentially finishing a build from scratch in 
> about five minutes. However, for some reason, the fpga-image does not fall 
> into this category, and eache machine insists on re-building it from scratch. 
> I've been trying to debug this, but the sstate-cache is on another machine. I 
> tried copying part of the build server's sstate-cache onto my machine, but 
> that only results in "bitbake-diffsigs -t fpga-image .." yielding "ERROR: No 
> sigdata files found matching fpga-image .." so that apparently is a dead end.
> 
> How can I determine what is causing the system to think that it needs to 
> rebuild this package?

I use this script:
openembedded-core/scripts/sstate-diff-machines.sh

to create "backup" of sstate signatures and when some next build
unexpectedly doesn't reuse some sstate packages I use the script again
and compare new and old signatures to see why.

As bonus each build which populates out SSTATE_MIRROR also creates tarball
with these signatures, so I can easily download one tarball and compare
what and why won't be reused from sstate.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  parent reply	other threads:[~2013-12-10 14:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-10  6:44 Figuring out why sstate-cache is no longer used for a package Mike Looijmans
2013-12-10  9:35 ` Burton, Ross
2013-12-10 14:32 ` Martin Jansa [this message]
2013-12-10 15:36   ` Chris Larson

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=20131210143234.GE3721@jama \
    --to=martin.jansa@gmail.com \
    --cc=mike.looijmans@topic.nl \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox