Bug 5172

Summary: Cache failing when _remove used
Product: [Build System, Metadata & Runtime] BitBake Reporter: Ross Burton <ross.burton>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: poky.bs.watcher, poky.watcher
Version: 1.4   
Target Milestone: 1.5 M5   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2013-09-12 12:02:41 UTC
Not entirely sure this was the cause, but it was involved.

I used DISTRO_FEATURES_remove="opengl" in my local.conf and did some builds.  Then I commented out that line from my local.conf, did wipe-sysroot, and tried to build mesa:

$ bitbake mesa
...
ERROR: Nothing PROVIDES 'mesa'
ERROR: mesa was skipped: missing required distro feature ['opengl'] (not in DISTRO_FEATURES)

Doing "bitbake zlib -e" confirmed that DISTRO_FEATURES did in fact have opengl in, and removing tmp/cache/ resolved the problem.