From: Rob Kramer <robk@starhub.net.sg>
To: openembedded-devel@openembedded.org
Subject: Bitbake-1.6 crashes on 'which'.
Date: Wed, 18 Oct 2006 15:02:04 +0800 [thread overview]
Message-ID: <eh4jbk$29v$1@sea.gmane.org> (raw)
Heya,
I had to patch 1.6 as below, copied from trunk/bitbake.
Cheers,
Rob
Index: lib/bb/shell.py
===================================================================
--- lib/bb/shell.py (revision 618)
+++ lib/bb/shell.py (working copy)
@@ -57,7 +57,7 @@
except NameError:
from sets import Set as set
import sys, os, readline, socket, httplib, urllib, commands, popen2, copy,
shlex, Queue, fnmatch
-from bb import data, parse, build, fatal
+from bb import data, parse, build, fatal, providers as Providers
__version__ = "0.5.3.1"
__credits__ = """BitBake Shell Version %s (C) 2005 Michael 'Mickey' Lauer
<mickey@Vanille.de>
@@ -107,7 +107,7 @@
preferred = data.getVar( "PREFERRED_PROVIDER_%s" % item,
cooker.configuration.data, 1 )
if not preferred: preferred = item
try:
- lv, lf, pv, pf = bb.providers.findBestProvider(preferred,
cooker.configuration.data, cooker.status, cooker.build_cache_fail)
+ lv, lf, pv, pf = Providers.findBestProvider(preferred,
cooker.configuration.data, cooker.status, cooker.build_cache_fail)
except KeyError:
if item in cooker.status.providers:
pf = cooker.status.providers[item][0]
@@ -529,7 +529,7 @@
if not preferred: preferred = item
try:
- lv, lf, pv, pf = bb.providers.findBestProvider(preferred,
cooker.configuration.data, cooker.status, cooker.build_cache_fail)
+ lv, lf, pv, pf = Providers.findBestProvider(preferred,
cooker.configuration.data, cooker.status, cooker.build_cache_fail)
except KeyError:
lv, lf, pv, pf = (None,)*4
next reply other threads:[~2006-10-18 7:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-18 7:02 Rob Kramer [this message]
2006-10-18 7:19 ` Bitbake-1.6 crashes on 'which' Rob Kramer
2006-10-21 12:10 ` Richard Purdie
2006-10-22 2:57 ` Rob Kramer
2006-10-22 17:41 ` Richard Purdie
2006-10-22 18:32 ` Michael 'Mickey' Lauer
2006-10-23 2:07 ` Rob Kramer
2006-10-18 8:04 ` Holger Freyther
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='eh4jbk$29v$1@sea.gmane.org' \
--to=robk@starhub.net.sg \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@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 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.