From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Phil Blundell <philb@gnu.org>
Cc: Martin Jansa <martin.jansa@gmail.com>,
openembedded-core@lists.openembedded.org
Subject: Re: work-shared not being correctly shared
Date: Mon, 01 Oct 2012 14:38:23 +0100 [thread overview]
Message-ID: <1349098703.15753.103.camel@ted> (raw)
In-Reply-To: <1349092206.32611.57.camel@phil-desktop>
On Mon, 2012-10-01 at 12:50 +0100, Phil Blundell wrote:
> On Mon, 2012-09-24 at 21:28 +0200, Martin Jansa wrote:
> > On Mon, Sep 24, 2012 at 05:22:57PM +0100, Phil Blundell wrote:
> > > On Mon, 2012-09-24 at 08:42 -0700, Saul Wold wrote:
> > > > Yes, I am seeing something similar with do_patch happening twice on the
> > > > work-shared area, I talked with Richard a bit ago about it, and I am
> > > > digging into the siginfo files, you can use bitbake-sigdiff to see what
> > > > sigs are changed causing it unpack twice (or in my case patch twice).
> > >
> > > Ah, right, it seems to be rm_old_work that's causing the problem. I'll
> > > disable that for now and figure out how to fix it later.
> >
> > That was already discussed few weeks ago, you should be able to find it
> > in archive.
>
> I found this thread:
>
> http://lists.linuxtogo.org/pipermail/openembedded-core/2012-July/026185.html
>
> but there didn't appear to be any clear conclusion about what the right
> fix for the problem was. Does anybody have any further insight into
> that?
The issue is that rm_old_work references PN in its task definition.
gcc's shared work directory assumes it can get the same sstate checksums
for fetch/unpack/patch which is broken by:
addtask rm_old_works before do_unpack
The trick would seem to be to change do_unpack for do_configure which is
how others worked around it.
Not a perfect fix but equally not annoying enough to lose lots of sleep
over.
Cheers,
Richard
prev parent reply other threads:[~2012-10-01 13:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-24 15:38 work-shared not being correctly shared Phil Blundell
2012-09-24 15:42 ` Saul Wold
2012-09-24 16:22 ` Phil Blundell
2012-09-24 19:28 ` Martin Jansa
2012-10-01 11:50 ` Phil Blundell
2012-10-01 13:38 ` Richard Purdie [this message]
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=1349098703.15753.103.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=philb@gnu.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