Bug 8746

Summary: do_fetch depends considered even if installing from sstate
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: coreAssignee: Richard Purdie <richard.purdie>
Status: VERIFIED FIXED QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: normal    
Priority: Medium+ CC: bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher
Version: 2.0   
Target Milestone: 2.1 M2   
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 2015-12-01 22:36:30 UTC
If you bitbake something (say, tremor), then delete the build directory and bitbake it again, it installs entirely from sstate as expected.

However, in this example, subversion-native and all of it's dependencies will also be pulled in via the magic dependency on subversion-native triggered via the SRC_URI being a svn: URI.  This dependency is on the do_fetch task however and shouldn't be considered when installing from sstate as do_fetch was never executed.
Comment 2 Bogdan Alexandru Voiculescu 2016-01-06 15:56:32 UTC
Verified in local sstate; not reproducible on master: 
2cd061a29a94fdcdfec86732e6bcbb71c12c4afc
Only do_populate_sysroot_setscene ran for subversion-native-1.9.2-r0