Bug 2875

Summary: [meta-ti / HOB] when adding meta-ti to layer configuration, yocto fails after about 5% of the recipe parsing
Product: [Build System, Metadata & Runtime] Hob Reporter: T Verstraete <t.verstraete>
Component: hobAssignee: Paul Eggleton <bluelightning>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: andreea.b.proca, dongxiao.xu, dvhart, jiajun.xu, poky.bs.watcher, poky.watcher, shane.wang
Version: unspecified   
Target Milestone: 1.3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description T Verstraete 2012-08-02 06:30:20 UTC
[meta-ti / HOB] when adding meta-ti to layer configuration, yocto fails after about 5% of the recipe parsing ==> this happens for all boards of the meta-ti layer. When removing the layer from the layer configuration all works again. I can run the same layer configuration on command line and everything works so it has to be a HOB issue.

I use the DENZIL release on an Ubuntu 12.04 LTS systems.

I use the default layers but I do see that HOB re-arranges them into:
 Poky/meta
 Poky/meta-hob
 Poky/meta-ti
 Poky/meta-yocto
Comment 1 Paul Eggleton 2012-08-03 10:20:29 UTC
When you say "fails after about 5%", do you get an error message?

I strongly suspect the cause of the failure here is that one or two recipes in meta-ti depend on systemd and we do not have that out of the box. The README of meta-ti explains how to work around this:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/README?h=denzil

Unfortunately I'm not sure that BBMASK can be used within Hob so you might just have to delete the directory it tells you to mask out.

Note you'll also want to first ensure that you're using the denzil branch of meta-ti if you aren't already.
Comment 2 T Verstraete 2012-08-03 14:50:19 UTC
yes i did add the following line to the local.conf file:

BBMASK ?= ".*/meta-ti/recipes-(misc|bsp/formfactor)/"

i then also tried to add this again to the HOB interface in the advanced settings menu ...

both did not help ...

does hob take the initial local.conf that is in the directory of the build directory from where hob is started?

i have not tried by just deleting the directory ... i will try this out.
Comment 3 T Verstraete 2012-08-06 07:28:18 UTC
i have tried deleting the folder and it did not help ... still stopped working on 5% ...
Comment 4 Paul Eggleton 2012-09-11 16:56:15 UTC
OK, so I discovered a couple of issues in debugging this which I have sent patches for. Its possible they may be able to be backported to denzil - we'll have to see when they are merged to master.
Comment 5 Paul Eggleton 2012-10-03 12:57:58 UTC
The following fixes should help with this, as well as the recent error handling work:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=34cacbf1861e76067eae35031b09cf3fbc35929f

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=beb68152261070be1587a5e94a5268088bd8263e

I've now verified that adding meta-ti with BBMASK set in either local.conf or within Hob does work.
Comment 6 Andreea Brandusa Proca 2013-07-10 13:16:19 UTC
Verified in master:a63229917a5708de2d161aba0d67168ce0da6365.