Bug 4903

Summary: No proper error message for layer version mismatch
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Laszlo Papp <lpapp>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, meta.mr.watcher, meta.watcher, poky.bs.watcher, poky.watcher, ross.burton
Version: 1.4   
Target Milestone: 1.5 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 Laszlo Papp 2013-07-25 06:58:31 UTC
When you are trying to create your own distro layer, but does not accidentally inherit from Poky, the version generated by default will be '6' into the relevant config file.

However, it should be '5' in that case, so you did something wrong. The problem is that the user gets an obfuscated error message about comparing the generated bblayers.conf and the sample from the meta-yocto poky layer.

When the comparison happens, we can realize that there are no differences, so the user has no any idea what can go wrong. I have spent 1-2 days with it before getting some help on IRC.

I suggest to improve the error message with more concrete output what the error might be.
Comment 1 Ross Burton 2013-08-06 15:08:54 UTC
Merged to oe-core, da58843fd07dec43700a4c54ac469d1fda71aa50
Comment 2 Laszlo Papp 2013-08-06 16:48:04 UTC
Hmm, thanks. Perhaps, you could provide a browsable url next time.