Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: bitbake -b busted again?
Date: Thu, 11 Aug 2011 13:03:59 +0100	[thread overview]
Message-ID: <1313064239.14274.414.camel@rex> (raw)
In-Reply-To: <20110811064438.GB2214@jama.jama.net>

On Thu, 2011-08-11 at 08:44 +0200, Martin Jansa wrote:
> On Wed, Aug 10, 2011 at 11:48:33AM +0100, Phil Blundell wrote:
> > On Wed, 2011-06-29 at 16:11 +0100, Phil Blundell wrote:
> > > Also, it does seem that "bitbake -e -b ..." really is broken.  I get:
> > > 
> > > ERROR: Command execution failed: Traceback (most recent call last):
> > >   File "/home/pb/oe/bitbake/lib/bb/command.py", line 102, in runAsyncCommand
> > >     commandmethod(self.cmds_async, self, options)
> > >   File "/home/pb/oe/bitbake/lib/bb/command.py", line 272, in showEnvironment
> > >     command.cooker.showEnvironment(bfile)
> > >   File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 259, in showEnvironment
> > >     fn = self.matchFile(buildfile)
> > >   File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 753, in matchFile
> > >     matches = self.matchFiles(buildfile)
> > >   File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 736, in matchFiles
> > >     filelist, masked = self.collect_bbfiles()
> > >   File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 997, in collect_bbfiles
> > >     files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
> > >   File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 997, in <lambda>
> > >     files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
> > >   File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 463, in calc_bbfile_priority
> > >     for _, _, regex, pri in self.status.bbfile_config_priorities:
> > > AttributeError: 'NoneType' object has no attribute 'bbfile_config_priorities'
> > > 
> > > Using an absolute path to the .bb file doesn't seem to help in this
> > > case, and I also verified that it does build successfully without the
> > > -e.
> > 
> > FWIW, I just re-tested with bitbake master from today and this still
> > seems to be broken.
> 
> RP's patch makes -e working again, but local files are still not found
> when used with -b. Something like ignoring FILESDIR/FILESPATH..

Can you provide some further details please as I don't understand
exactly what you mean...

Cheers,

Richard




  reply	other threads:[~2011-08-11 12:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-29 14:48 bitbake -b busted again? Phil Blundell
2011-06-29 14:54 ` Phil Blundell
2011-06-29 14:55   ` Koen Kooi
2011-06-29 15:07     ` Phil Blundell
2011-06-29 15:11       ` Phil Blundell
2011-08-10 10:48         ` Phil Blundell
2011-08-10 13:26           ` Richard Purdie
2011-08-11 11:51             ` Phil Blundell
2011-08-11  6:44           ` Martin Jansa
2011-08-11 12:03             ` Richard Purdie [this message]
2011-08-11 12:21               ` Martin Jansa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1313064239.14274.414.camel@rex \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox