Bug 10960

Summary: Using distrodata.bbclass causes task mismatch errors
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Saul Wold <sgw>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, poky.bs.watcher, poky.watcher, ross.burton, sjolley.yp.pm
Version: 2.2.1   
Target Milestone: 2.3 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Saul Wold 2017-01-24 14:31:29 UTC
In local.conf add an INHERIT += "distrodata"
run bitbake -c distro_check core-image-minimal

Results in:

ERROR: When reparsing /srv/sdb/releases/morty/meta/recipes-core/images/core-image-minimal.bb.do_distro_check, the basehash value changed from 0531b2385beb6669f3603a37f015c2d5 to af2b2c29f037cbc7bb469c495a906191. The metadata is not deterministic and this needs to be fixed.

ERROR: core-image-minimal-1.0-r0 do_distro_check: Taskhash mismatch 9f4dc2fa5f285640f07bc837dcc0df8f versus 39aea0377e7accc86339217f36e0648d for /srv/sdb/releases/morty/meta/recipes-core/images/core-image-minimal.bb.do_distro_check
Comment 1 Ross Burton 2017-01-25 16:34:17 UTC
Just a simple vardepsexclude missing, patch on the list.
Comment 2 Ross Burton 2017-02-02 12:33:48 UTC
Fixed in oe-core e6784ef0d56a1b297001bc59c0da3aecebd1c656.