All of lore.kernel.org
 help / color / mirror / Atom feed
* Is sstate broken
@ 2011-02-24 15:14 Gary Thomas
  2011-02-28  6:07 ` Zhai, Edwin
  0 siblings, 1 reply; 15+ messages in thread
From: Gary Thomas @ 2011-02-24 15:14 UTC (permalink / raw)
  To: Poky

I tried to run an experiment with SSTATE_MIRRORS on the latest master.
 From what I can tell, this is 100% not working, although I may just
not have set it up properly.  Here's what I did:

* Build Poky for my platform in /local/xyz_ppc_poky
* Set up to build exact same machine/config/etc in /local/xyz_test
   pointing SSTATE_MIRRORS at /local/xyz_ppc_poky/sstate-cache by
   adding these lines to local.conf (only configuration change)
     SSTATE_MIRRORS ?= "\
     file://.* file:///local/xyz_ppc_poky/sstate-cache/"

The end result is that both builds built (from scratch) the same
set of packages.  There seems to be no reuse of anything from
the SSTATE_MIRRORS.

$ du /local/xyz_ppc_poky/* -s
20      /local/xyz_ppc_poky/conf
1456    /local/xyz_ppc_poky/downloads
4       /local/xyz_ppc_poky/pseudodone
1010392 /local/xyz_ppc_poky/sstate-cache
14434076        /local/xyz_ppc_poky/tmp

$ du -s /local/xyz_test
20      /local/xyz_test/conf
1456    /local/xyz_test/downloads
4       /local/xyz_test/pseudodone
1010276 /local/xyz_test/sstate-cache
14425860       /local/xyz_test/ tmp

The full build log of the second run is at http://www.mlbassoc.com/poky/build_ppc_with_sstate
Notice the many lines which say that a particular step failed.  I can't see the reason, nor
can I find any corresponding log file to help me out.  An example is:
   ERROR: Task 0 (virtual:native:/home/local/poky-amltd/meta/recipes-devtools/pseudo/pseudo_1.0.bb, do_unpack) failed with exit code '1'

Am I missing something?  Now that the build with BB_NO_NETWORK is working well,
this is my last hurdle to making Poky truly useful for my customers.

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-03-10  1:42 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-24 15:14 Is sstate broken Gary Thomas
2011-02-28  6:07 ` Zhai, Edwin
2011-03-03 12:56   ` Gary Thomas
2011-03-04  1:59     ` Zhai, Edwin
2011-03-04 11:34       ` Gary Thomas
2011-03-09  1:29         ` Richard Purdie
2011-03-09 18:42           ` Gary Thomas
2011-03-09 19:04             ` Richard Purdie
2011-03-09 19:30               ` [poky] " Koen Kooi
2011-03-09 19:30                 ` Koen Kooi
2011-03-09 21:51                 ` [poky] " Khem Raj
2011-03-09 21:51                   ` Khem Raj
2011-03-09 23:04                   ` [poky] " Richard Purdie
2011-03-09 23:04                     ` Richard Purdie
2011-03-09 20:26               ` Gary Thomas

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.