Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Paul Barker <paul@paulbarker.me.uk>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: bitbake dies with an python exception | AttributeError: 'NoneType' object has no attribute 'rfind'
Date: Thu, 04 Jul 2013 11:48:04 +0100	[thread overview]
Message-ID: <1721069.SICaQ1bLDa@helios> (raw)
In-Reply-To: <CANyK_8eOaDbVANrOUuRAzhguRSBjv_puQdjjL+NbfVvv79pU7Q@mail.gmail.com>

On Thursday 04 July 2013 10:53:15 Paul Barker wrote:
> On 4 July 2013 10:17, Paul Eggleton <paul.eggleton@linux.intel.com> wrote:
> > On Thursday 04 July 2013 10:18:32 Cestonaro Thilo wrote:
> >> hey,
> >> 
> >> found it. The Var "FAKEROOTCMD" wasn't set so bitbake died as executing
> >> "None" doesn't work.
> >> 
> >> Added
> >> FAKEROOTCMD="fakeroot"
> >> to my local.conf and it worked.
> >> 
> >> But anyway, shouldn't this be the default?!
> > 
> > FAKEROOTCMD is set in meta/conf/bitbake.conf, so this is indeed
> > unexpected.
> > BTW, "fakeroot" is not correct - it needs to point to pseudo (and that is
> > the default if you have a look at meta/conf/bitbake.conf).
> 
> I stumbled onto this sort of error when I cloned poky at master but
> copied my bblayers.conf from a previous build and didn't update the
> paths to point to the correct places for the layers. So I was running
> latest bitbake with latest poky 'scripts' directory on the path,
> against an old version of the 'dylan' branch of poky.
> 
> What versions of openembedded/poky/bitbake are you using? If they're
> fetched from git I'd recommend updating everything and trying again.
> It could just be a mismatch between the bitbake version and the
> metadata versions.

If this issue is reproducible I'd really appreciate some help in doing so; we 
shouldn't be showing tracebacks if we can show a meaningful error.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


  reply	other threads:[~2013-07-04 10:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-03 13:21 bitbake dies with an python exception | AttributeError: 'NoneType' object has no attribute 'rfind' Cestonaro Thilo
2013-07-04  8:18 ` Cestonaro Thilo
2013-07-04  9:17   ` Paul Eggleton
2013-07-04  9:53     ` Paul Barker
2013-07-04 10:48       ` Paul Eggleton [this message]
2013-07-04 10:55         ` Paul Barker
2013-07-05 12:35           ` Cestonaro Thilo
2013-07-28 14:09             ` Paul Barker
2013-07-28 16:46               ` Paul Eggleton
2013-07-29  7:47                 ` Paul Barker

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=1721069.SICaQ1bLDa@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=paul@paulbarker.me.uk \
    /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