Bug 1536

Summary: minimal sstate fails
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Gary Thomas <gary>
Component: meta-yoctoAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Medium CC: bluelightning, poky.bs.watcher, poky.watcher, sgw
Version: unspecified   
Target Milestone: 1.2   
Hardware: x86   
OS: Multiple   
Whiteboard: Fix merged (15 Nov)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
Script used to test sstate
none
Build log showing sstate failure none

Description Gary Thomas 2011-09-27 19:23:26 UTC
In my quest to test a minimal sstate cache, I tried a simple experiment where only
a few sstate components were available.  Sadly, this failed pretty badly, showing
that sstate still has some holes.

Attached will be the script I ran which builds a complete setup and then uses a
minimal subset of the sstate cache for a subsequent build which fails.
Also attached will be the console log running this script.
Comment 1 Gary Thomas 2011-09-27 19:24:01 UTC
Created attachment 262 [details]
Script used to test sstate
Comment 2 Gary Thomas 2011-09-27 19:24:43 UTC
Created attachment 263 [details]
Build log showing sstate failure
Comment 3 Paul Eggleton 2011-11-11 10:40:09 UTC
After a bit of investigation RP and I have come up with a fix; I've posted it to the bitbake-devel list for review:

http://lists.linuxtogo.org/pipermail/bitbake-devel/2011-November/001514.html
Comment 4 Paul Eggleton 2011-11-15 05:19:35 UTC
Fix merged to master in commit 97a40ff05ed7c374502759e0d462f5dc21f71f6d.