[poky] Is sstate broken

Gary Thomas gary at mlbassoc.com
Thu Mar 3 04:56:56 PST 2011


On 02/27/2011 11:07 PM, Zhai, Edwin wrote:
> Gary,
>
> Thanks for trying this.
> sstate function is a little bit fragile recently. I'll look at it after fixing some other bugs.

Any progress on this?

Should I file this as a bug?

> Gary Thomas wrote:
>>
>> 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
>> ------------------------------------------------------------
>> _______________________________________________
>> poky mailing list
>> poky at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/poky
>>

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



More information about the poky mailing list