Re: 1.2_M2-Final build failures

Jim Abernathy

On 02/01/2012 11:41 AM, Paul Eggleton wrote:
On Wednesday 01 February 2012 11:28:22 jfabernathy wrote:
Using the tarballs for Poky and meta-intel for 1.2_M2-Final, I was
getting a lot of build failures below is what worked and what didn't.
Not sure if this is a bug or if I'm missing something. I extracted the
meta-intel tarball for 1.2_M2-Final in the poky directory created by
extracting the poky tarball for 1.2_M2.Final.
3. building n450 core-image-minimal fails with error: ERROR: Unable to
parse /home/jim/poky/meta/recipes-core/tasks/
Traceback (most recent call last):
File "/home/jim/poky/bitbake/lib/bb/parse/", line 379, in
<>', d=<bb.data_smart.DataSmart object at

> finalize(fn, d)

except bb.parse.SkipPackage as e:
File "/home/jim/poky/bitbake/lib/bb/parse/", line 323, in
<>', d=<bb.data_smart.DataSmart object at
0x4a801d0>, variant=None):
code.append("%s(d)" % funcname)

> bb.utils.simple_exec("\n".join(code), {"d": d})
File "/home/jim/poky/bitbake/lib/bb/", line 387, in

_recipes_core_tasks_task_base_bb(d)', context={'d':<bb.data_smart.DataSmart
object at 0x4a801d0>}):
def simple_exec(code, context):
> exec(code, _context, context)

File "<string>", line 8, in<module>
line 8, in

mart.DataSmart object at 0x4a801d0>)
AttributeError: 'NoneType' object has no attribute 'split'

ERROR: Command execution failed: Exited with 1
Summary: There were 1 WARNING messages shown.

Summary: There were 1 ERROR messages shown, returning a non-zero
exit code.

4. building cedartrail core-image-minimal fails with error: ERROR:
Unable to parse conf/bitbake.conf: Could not include required file
I think I know what's going on here. In previous editions it was enough to
have just the meta-intel sub-layer in your bblayers.conf (e.g. meta-crownbay)
- now you also need to add meta-intel itself to get certain common files. If
you do this then your errors will go away.

I did notice this the other day and I think we can improve things such that
you get a sensible error message in this situation rather than the above. I
will try to send out some patches next week.
okay that fixed it. To be clear:

/home/jim/poky-edison-6.1-M2/meta \
/home/jim/poky-edison-6.1-M2/meta-yocto \
/home/jim/poky-edison-6.1-M2/meta-intel \
/home/jim/poky-edison-6.1-M2/meta-intel/meta-cedartrail \

instead of

/home/jim/poky-edison-6.1-M2/meta \
/home/jim/poky-edison-6.1-M2/meta-yocto \
/home/jim/poky-edison-6.1-M2/meta-intel/meta-cedartrail \

Now if this is the way it remains, we have some docs to cleanup.

Jim A


Join to automatically receive all group messages.