From: Ray Lehtiniemi <rayl@mail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: List of dependent packages
Date: Wed, 27 Sep 2006 07:45:13 -0600 [thread overview]
Message-ID: <200609270745.13235.rayl@mail.com> (raw)
In-Reply-To: <451A29EA.1080309@adtelecom.es>
On Wednesday 27 September 2006 01:36, Joaquim Duran wrote:
> Hello,
>
> As I've the impression that Bitbake is very related to OE. I post the
> bug here.
>
> I execute: bitbake -g boostrap-image.
> Output:
>
> NOTE: Parsing finished. 3962 cached, 0 parsed, 139 skipped, 27 masked.
>
> Traceback (most recent call last):
> File "/home/qduran/oe/bitbake/bin/bitbake", line 1161, in ?
> main()
> File "/home/qduran/oe/bitbake/bin/bitbake", line 1156, in main
> cooker.cook( BBConfiguration( options ), args[1:] )
> File "/home/qduran/oe/bitbake/bin/bitbake", line 962, in cook
> self.generateDotGraph( pkgs_to_build,
> self.configuration.ignored_dot_deps )
> File "/home/qduran/oe/bitbake/bin/bitbake", line 544, in
> generateDotGraph add_depends( pkgs_to_build )
> File "/home/qduran/oe/bitbake/bin/bitbake", line 467, in add_depends
> fn = myFilterProvider(providers, package)[0]
> File "/home/qduran/oe/bitbake/bin/bitbake", line 413, in
> myFilterProvider preferred_versions[pn] = bb.providers.findBestProvider(pn,
> pkg_pn)[2:4] TypeError: findBestProvider() takes at least 3 arguments (2
> given)
>
i've found that there are several files under lib/bb/ with this problem.
this patch is cut and pasted, so is probably whitespace mangled....
Index: lib/bb/shell.py
===================================================================
--- lib/bb/shell.py (revision 612)
+++ lib/bb/shell.py (working copy)
@@ -57,6 +57,8 @@
except NameError:
from sets import Set as set
import sys, os, readline, socket, httplib, urllib, commands, popen2, copy,
shlex, Queue, fnmatch
+
+import bb
from bb import data, parse, build, fatal
__version__ = "0.5.3.1"
Index: lib/bb/providers.py
===================================================================
--- lib/bb/providers.py (revision 612)
+++ lib/bb/providers.py (working copy)
@@ -23,8 +23,8 @@
# Place, Suite 330, Boston, MA 02111-1307 USA.
import os, re
+import bb
from bb import data, utils
-import bb
class NoProvider(Exception):
"""Exception raised when no provider can be found"""
hope it helps
ray
next prev parent reply other threads:[~2006-09-27 13:50 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-26 11:22 List of dependent packages Joaquim Duran
2006-09-26 10:58 ` Christopher Lang
2006-09-26 12:36 ` Joaquim Duran
2006-09-26 12:01 ` Paul Sokolovsky
2006-09-26 13:47 ` Richard Purdie
2006-09-26 15:35 ` Joaquim Duran
2006-09-26 14:57 ` pHilipp Zabel
2006-09-26 15:26 ` Richard Purdie
2006-09-26 16:01 ` Joaquim Duran
2006-09-27 7:36 ` Joaquim Duran
2006-09-27 13:45 ` Ray Lehtiniemi [this message]
2006-09-27 13:53 ` Ray Lehtiniemi
2006-09-27 19:17 ` Paul Sokolovsky
2006-09-28 7:46 ` Joaquim Duran
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=200609270745.13235.rayl@mail.com \
--to=rayl@mail.com \
--cc=openembedded-devel@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