[poky] Problem with METADATA_* vars

Richard Purdie richard.purdie at linuxfoundation.org
Fri Feb 18 04:10:11 PST 2011


On Fri, 2011-02-18 at 11:10 +0000, Richard Purdie wrote:
> On Fri, 2011-02-18 at 10:34 +0100, Koen Kooi wrote:
> > It builds fine when doing 'bitbake angstrom-version', but when doing
> > 'bitbake console-image', which includes angstrom-version I get:
> > 
> > tr: write error: Broken pipe
> > ERROR: Error evaluating '${@base_detect_branch(d)}'
> > Traceback (most recent call last):
> >   File "/OE/tentacle/sources/bitbake/lib/bb/data_smart.py", line 117,
> > in expandWithRefs
> >     s = __expand_python_regexp__.sub(varparse.python_sub, s)
> >   File "/OE/tentacle/sources/bitbake/lib/bb/data_smart.py", line 76,
> > in python_sub
> >     value = utils.better_eval(codeobj, DataContext(self.d))
> >   File "/OE/tentacle/sources/bitbake/lib/bb/utils.py", line 387, in
> > better_eval
> >     return eval(source, _context, locals)
> >   File "METADATA_BRANCH", line 1, in <module>
> >   File "metadata_scm.bbclass", line 7, in base_detect_branch
> >   File "metadata_scm.bbclass", line 2, in base_get_metadata_git_branch
> > IOError: [Errno 4] Interrupted system call
> 
> I'm going to guess its:
> 
> http://git.pokylinux.org/cgit.cgi/poky/commit/?id=03d40a4a7bd60dcbc21f5a06c0f4f53cb47de0f3
> 
> at fault. I'm going to rework that so the handler is only activated at
> idle sleep time.

http://git.pokylinux.org/cgit.cgi/poky/commit/?id=359a4d8bf72867b4d5f3daaf8c4f14a82a810107

should fix this...

Cheers,

Richard




More information about the poky mailing list