From: Joshua Lock <joshua.g.lock@linux.intel.com>
To: Kristian Amlie <kristian.amlie@mender.io>,
Richard Purdie <richard.purdie@linuxfoundation.org>,
"poky@yoctoproject.org" <poky@yoctoproject.org>
Subject: Re: SSTATE_MIRRORS not working?
Date: Fri, 13 Jan 2017 15:04:19 +0000 [thread overview]
Message-ID: <1484319859.3828.5.camel@linux.intel.com> (raw)
In-Reply-To: <d4ef08e1-80b3-ba38-76ea-67157dc6abec@mender.io>
On Fri, 2017-01-13 at 15:58 +0100, Kristian Amlie wrote:
> On 13/01/17 13:35, Kristian Amlie wrote:
> > On 13/01/17 11:41, Richard Purdie wrote:
> > > On Fri, 2017-01-13 at 09:50 +0100, Kristian Amlie wrote:
> > > > For some time now, I've had the problem that SSTATE_MIRRORS
> > > > does not
> > > > work properly for me. I can see that it downloads lots of
> > > > packages
> > > > from the cache, but once the setscene stage is over, and
> > > > runqueue
> > > > begins, it starts the whole build from scratch regardless.
> > > >
> > > > This used to work for me before, it would only run a small
> > > > subset of
> > > > the tasks locally, taking full advantage of the cache, so I'm
> > > > fairly
> > > > certain my setup is correct. For me it broke maybe six weeks
> > > > ago or
> > > > so (master branch).
> > > >
> > > > I realize this question may be more appropriate for bitbake-
> > > > devel,
> > > > and I can provide more details, but I thought I'd just hear if
> > > > anybody else has experienced the same, before I go digging.
> > >
> > > Which SSTATE_MIRRORS are you using?
> >
> > It's a private build machine in the cloud. It's simply the sstate-
> > cache
> > folder exposed with Apache, and me pointing my mirror at it with:
> >
> > SSTATE_MIRRORS ?= "file://.* http://1.2.3.4/PATH"
> >
> > > The build logs should show what is being rebuilt. The autobuilder
> > > does
> > > reuse sstate during its builds and we'd likely have noticed long
> > > build
> > > times if it was completely broken so its likely some mismatch
> > > between
> > > your setup and what is in the particular mirror you're using.
> >
> > I'll try to do a more thorough check, and compare downloaded
> > packages
> > with built packages.
>
> Looker closer, it appears that it's all the native tools that are
> rebuilt. This didn't use to happen though. What could be the
> difference
> factor here?
Did you recently change distro (i.e. was using poky and switched to a
custom distro)? Does your distro use uninative?
http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html#ref-c
lasses-uninative
> My machine is Ubuntu 16.04 and the cloud machine I use as a mirror is
> Debian 8. Could this be significant?
If you aren't using uninative the different host OS won't share sstate
for native recipe variants.
Regards,
Joshua
prev parent reply other threads:[~2017-01-13 15:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-13 8:50 SSTATE_MIRRORS not working? Kristian Amlie
2017-01-13 10:41 ` Richard Purdie
2017-01-13 12:35 ` Kristian Amlie
2017-01-13 14:58 ` Kristian Amlie
2017-01-13 15:04 ` Joshua Lock [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=1484319859.3828.5.camel@linux.intel.com \
--to=joshua.g.lock@linux.intel.com \
--cc=kristian.amlie@mender.io \
--cc=poky@yoctoproject.org \
--cc=richard.purdie@linuxfoundation.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.