All of lore.kernel.org
 help / color / mirror / Atom feed
* bitbake -b workaround
@ 2011-09-08 17:50 Jim Qode
  2011-09-08 18:21 ` Ilya Dmitrichenko
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jim Qode @ 2011-09-08 17:50 UTC (permalink / raw)
  To: openembedded-devel

Hello,

I updated my build environment today. Now bitbake -b fails with the
following errors. Is there any workaround I can use to continue working
on my project before a patch is issued?

ERROR: Command execution failed: Traceback (most recent call last):
  File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/command.py",
line 102, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/command.py",
line 190, in buildFile
    command.cooker.buildFile(bfile, task)
  File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py",
line 627, in buildFile
    buildfile = self.matchFile(fn)
  File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py",
line 604, in matchFile
    matches = self.matchFiles(buildfile)
  File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py",
line 586, in matchFiles
    filelist, masked = self.collect_bbfiles()
  File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py",
line 853, in collect_bbfiles
    files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
  File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py",
line 853, in <lambda>
    files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
  File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py",
line 397, in calc_bbfile_priority
    for _, _, regex, pri in self.status.bbfile_config_priorities:
AttributeError: 'NoneType' object has no attribute
'bbfile_config_priorities'




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bitbake -b workaround
  2011-09-08 17:50 bitbake -b workaround Jim Qode
@ 2011-09-08 18:21 ` Ilya Dmitrichenko
  2011-09-08 18:31   ` Jim Qode
  2011-09-08 21:18 ` Paul Eggleton
  2011-09-09 14:54 ` Martin Jansa
  2 siblings, 1 reply; 5+ messages in thread
From: Ilya Dmitrichenko @ 2011-09-08 18:21 UTC (permalink / raw)
  To: openembedded-devel

On 8 September 2011 18:50, Jim Qode <sagasolauyeoldum@gmail.com> wrote:
> Hello,
>
> I updated my build environment today. Now bitbake -b fails with the
> following errors. Is there any workaround I can use to continue working
> on my project before a patch is issued?

Have you by any chance updated python ?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bitbake -b workaround
  2011-09-08 18:21 ` Ilya Dmitrichenko
@ 2011-09-08 18:31   ` Jim Qode
  0 siblings, 0 replies; 5+ messages in thread
From: Jim Qode @ 2011-09-08 18:31 UTC (permalink / raw)
  To: openembedded-devel

On 09/08/2011 09:21 PM, Ilya Dmitrichenko wrote:

> Have you by any chance updated python ?

I may have updated, though I'm not sure. Current version is Python 2.7.1+



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bitbake -b workaround
  2011-09-08 17:50 bitbake -b workaround Jim Qode
  2011-09-08 18:21 ` Ilya Dmitrichenko
@ 2011-09-08 21:18 ` Paul Eggleton
  2011-09-09 14:54 ` Martin Jansa
  2 siblings, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2011-09-08 21:18 UTC (permalink / raw)
  To: Jim Qode; +Cc: openembedded-devel

Hi Jim,

On Thursday 08 September 2011 18:50:06 Jim Qode wrote:
> I updated my build environment today. Now bitbake -b fails with the
> following errors. Is there any workaround I can use to continue working
> on my project before a patch is issued?

Which version of bitbake are you using?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bitbake -b workaround
  2011-09-08 17:50 bitbake -b workaround Jim Qode
  2011-09-08 18:21 ` Ilya Dmitrichenko
  2011-09-08 21:18 ` Paul Eggleton
@ 2011-09-09 14:54 ` Martin Jansa
  2 siblings, 0 replies; 5+ messages in thread
From: Martin Jansa @ 2011-09-09 14:54 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2058 bytes --]

On Thu, Sep 08, 2011 at 08:50:06PM +0300, Jim Qode wrote:
> Hello,
> 
> I updated my build environment today. Now bitbake -b fails with the
> following errors. Is there any workaround I can use to continue working
> on my project before a patch is issued?
> 
> ERROR: Command execution failed: Traceback (most recent call last):
>   File
> "/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/command.py",
> line 102, in runAsyncCommand
>     commandmethod(self.cmds_async, self, options)
>   File
> "/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/command.py",
> line 190, in buildFile
>     command.cooker.buildFile(bfile, task)
>   File
> "/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py",
> line 627, in buildFile
>     buildfile = self.matchFile(fn)
>   File
> "/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py",
> line 604, in matchFile
>     matches = self.matchFiles(buildfile)
>   File
> "/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py",
> line 586, in matchFiles
>     filelist, masked = self.collect_bbfiles()
>   File
> "/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py",
> line 853, in collect_bbfiles
>     files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
>   File
> "/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py",
> line 853, in <lambda>
>     files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
>   File
> "/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py",
> line 397, in calc_bbfile_priority
>     for _, _, regex, pri in self.status.bbfile_config_priorities:
> AttributeError: 'NoneType' object has no attribute
> 'bbfile_config_priorities'

If you're using last release 1.13.3 then you need IIRC this patch
http://git.openembedded.org/cgit.cgi/bitbake/commit/?id=e7ade6dcd646b478df79f968934a0edcb63254f7
or just use bitbake/master

Regards,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-09 14:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-08 17:50 bitbake -b workaround Jim Qode
2011-09-08 18:21 ` Ilya Dmitrichenko
2011-09-08 18:31   ` Jim Qode
2011-09-08 21:18 ` Paul Eggleton
2011-09-09 14:54 ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.