Bug 10106

Summary: Using local mirror in SSTATE_MIRRORS results in "changed cwd" warnings
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, sgw
Version: 2.1   
Target Milestone: 2.2 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Paul Eggleton 2016-08-09 21:10:38 UTC
If I empty out my TMPDIR, move sstate-cache to sstate-cache-orig and then set SSTATE_MIRRORS to point to that directory as follows:

SSTATE_MIRRORS = "file://.* file:///home/paul/poky/poky/build/sstate-cache-orig/PATH"

Then I run bitbake quilt-native I see the following:

----------- snip -----------
Checking sstate mirror object availability: 100% |########################################################| Time: 0:00:00
NOTE: Executing SetScene Tasks
WARNING: quilt-native-0.64-r0 do_populate_lic_setscene: Task do_populate_lic_setscene changed cwd to /home/paul/poky/poky/build/sstate-cache
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 9 tasks of which 1 didn't need to be rerun and all succeeded.
----------- snip -----------
Comment 1 Ross Burton 2016-09-08 11:23:58 UTC
I can't replicate this, so I suspect it was fixed in bitbake 0ed8975c42718342a104a9764a58816f964ec4ea.