Bug 2831

Summary: [Hob2] Added layer does not seem to be being processed
Product: [Build System, Metadata & Runtime] Hob Reporter: Paul Eggleton <bluelightning>
Component: hobAssignee: Cristiana Voicu <cristiana.voicu>
Status: VERIFIED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium+ CC: alexandru.damian, andreea.b.proca, dongxiao.xu, jessica.zhang, jiajun.xu, liang.li2, poky.bs.watcher, poky.watcher, shane.wang, song.liu
Version: unspecified   
Target Milestone: 1.3 M5   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
another build's cooker.log none

Description Paul Eggleton 2012-07-25 09:41:11 UTC
In master (as of 0ffb02eec2beaea27ff0ec9d3d31b0a09e675a4c) if I run Hob with the default bblayers.conf, add meta-systemd - which I know without BBMASK will trigger a parse failure - then select a machine (e.g. atom-pc) it does do some parsing but goes from 1% to about 60% so it does not appear to reparse all the recipes, and no parse error occurs.

If I add the layer to bblayers.conf then run hob and select a machine, I do get the expected parse failure.
Comment 1 Paul Eggleton 2012-07-25 09:48:09 UTC
Note: the meta-systemd layer I am referring to is:

http://cgit.openembedded.org/meta-openembedded/tree/meta-systemd

Without setting an appropriate BBMASK the parse error that should occur is:

ERROR: ParseError at /path/to/meta-oe/meta-systemd/recipes-core/systemd/systemd_git.bb:18: Could not inherit file classes/gitpkgv.bbclass
Comment 2 Paul Eggleton 2012-07-25 09:48:32 UTC
Er, ignore the reference to BBMASK, the rest stands however.
Comment 3 liang li 2012-08-20 03:11:00 UTC
Created attachment 702 [details]
another build's cooker.log
Comment 4 liang li 2012-08-20 03:11:46 UTC
(In reply to comment #3)
> Created attachment 702 [details]
> another build's cooker.log

sorry ,that is wrong, ignore it.
Comment 5 Cristiana Voicu 2012-09-10 08:01:46 UTC
Tested it 3 times and it works. Hob shows the error message with the default bblayers.conf.
Comment 6 Paul Eggleton 2012-09-10 15:16:42 UTC
Agreed, it does now seem to be working - when you select a machine it brings the error message up after a short delay.
Comment 7 Andreea Brandusa Proca 2012-10-10 13:49:24 UTC
Verified in commit: 2c3e8280e67721d42d4be48a8e2c1e9ce9bb89fd.