From: Joaquim Duran <joaquinduran@adtelecom.es>
To: Using the OpenEmbedded metadata to build Linux Distributions
<openembedded-devel@lists.openembedded.org>
Subject: Re: List of dependent packages
Date: Wed, 27 Sep 2006 08:36:10 +0100 [thread overview]
Message-ID: <451A29EA.1080309@adtelecom.es> (raw)
In-Reply-To: <451948D7.6000904@adtelecom.es>
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)
Hope this helps.
Thanks and Best Regards,
Joaquim Duran
En/na Joaquim Duran ha escrit:
> Hello,
>
> Thanks for your answer. This is closer that I was looking for.
>
> I've tested both options (--dry-run) and (--graphviz).
>
> Using the first one with bootstrap image, the following output has been
> shown (it shown that several packages should be used and I should choose
> one):
>
> OE Build Configuration:
> BB_VERSION = "1.6.1"
> OE_REVISION = "57f56983ed32783fae7cfa0440e1f3a7cfc2280c"
> TARGET_ARCH = "arm"
> TARGET_OS = "linux"
> MACHINE = "colibri"
> DISTRO = "colibrioe"
> DISTRO_VERSION = "1.0"
> TARGET_FPU = ""
>
> NOTE: multiple providers are available (task-bootstrap-unionroot,
> task-bootstrap);
> NOTE: consider defining PREFERRED_PROVIDER_task-bootstrap
> NOTE: package bootstrap-image-1.0: started
> NOTE: package bootstrap-image-1.0: completed
> NOTE: build 200609261620: completed
>
>
> The simple question is: how can I define
> PREFERRED_PROVIDER_task-bootstrap line the local.conf file?
>
>
> The execution of the second option has finished with an error of
> bitbake. I'll send the error to bitbake page.
>
>
> Thanks and Best Regards,
> Joaquim Duran
>
>
>
> En/na Paul Sokolovsky ha escrit:
>> Hello Joaquim,
>>
>> Tuesday, September 26, 2006, 2:22:00 PM, you wrote:
>>
>>> Dear all,
>>> Is there any way to know the set of packages to be included in an
>>> image? Or more generally, how can I list the set of packages (with
>>> recursion) that are needed for one specified package?
>>> This should be done once processed the config file and updated the cache
>>> and before the compilation of packages.
>> bitbake --help would the first place to consult. --dry-run,
>> --verbose, --graphviz swicthes would be of primary interest. And yes,
>> bitbake still doesn't provide enough insight into its internal
>> functioning. Patches to improve that (given they cover broad usecases)
>> would be welcome by Bitbake maintainers, I guess.
>>
>>> Thanks and Best Regards,
>>> Joaquim Duran
>>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
next prev parent reply other threads:[~2006-09-27 6:42 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 [this message]
2006-09-27 13:45 ` Ray Lehtiniemi
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=451A29EA.1080309@adtelecom.es \
--to=joaquinduran@adtelecom.es \
--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