All of lore.kernel.org
 help / color / mirror / Atom feed
* best cfg for building all of yocto?
@ 2011-07-21  5:10 Kumar Gala
  2011-07-21 13:29 ` Scott Garman
  0 siblings, 1 reply; 9+ messages in thread
From: Kumar Gala @ 2011-07-21  5:10 UTC (permalink / raw)
  To: Yocto discussion list

For a new bsp/target what's the best config choice to try and build all of yocto?  Is it core-image-sato?

- k

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: best cfg for building all of yocto?
  2011-07-21  5:10 best cfg for building all of yocto? Kumar Gala
@ 2011-07-21 13:29 ` Scott Garman
  2011-07-21 16:32   ` McClintock Matthew-B29882
  0 siblings, 1 reply; 9+ messages in thread
From: Scott Garman @ 2011-07-21 13:29 UTC (permalink / raw)
  To: yocto

On 07/20/2011 10:10 PM, Kumar Gala wrote:
> For a new bsp/target what's the best config choice to try and build all of yocto?  Is it core-image-sato?
>
> - k

bitbake world should build all of the available packages that aren't 
explicitly excluded due to machine incompatibilities. It doesn't 
generate a final image though, just all of the output packages.

core-image-lsb builds a significantly larger set of packages than -sato 
if you want a reference image that includes more packages.

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: best cfg for building all of yocto?
  2011-07-21 13:29 ` Scott Garman
@ 2011-07-21 16:32   ` McClintock Matthew-B29882
  2011-07-21 16:36     ` Robert P. J. Day
                       ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: McClintock Matthew-B29882 @ 2011-07-21 16:32 UTC (permalink / raw)
  To: Scott Garman; +Cc: yocto@yoctoproject.org

On Thu, Jul 21, 2011 at 8:29 AM, Scott Garman <scott.a.garman@intel.com> wrote:
> bitbake world should build all of the available packages that aren't
> explicitly excluded due to machine incompatibilities. It doesn't generate a
> final image though, just all of the output packages.

Is there an easy way to remove a specific package from being built
with running bitbake world? There are unmet dependencies:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'libmad'
ERROR: Required build target 'libomxil' has no buildable providers.
Missing or unbuildable dependency chain was: ['libomxil', 'libmad']

-M


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: best cfg for building all of yocto?
  2011-07-21 16:32   ` McClintock Matthew-B29882
@ 2011-07-21 16:36     ` Robert P. J. Day
  2011-07-21 16:37     ` Richard Purdie
  2011-07-21 16:43     ` Scott Garman
  2 siblings, 0 replies; 9+ messages in thread
From: Robert P. J. Day @ 2011-07-21 16:36 UTC (permalink / raw)
  To: McClintock Matthew-B29882; +Cc: yocto@yoctoproject.org, Scott Garman

On Thu, 21 Jul 2011, McClintock Matthew-B29882 wrote:

> On Thu, Jul 21, 2011 at 8:29 AM, Scott Garman <scott.a.garman@intel.com> wrote:
> > bitbake world should build all of the available packages that aren't
> > explicitly excluded due to machine incompatibilities. It doesn't generate a
> > final image though, just all of the output packages.
>
> Is there an easy way to remove a specific package from being built
> with running bitbake world? There are unmet dependencies:
>
> NOTE: Resolving any missing task queue dependencies
> ERROR: Nothing PROVIDES 'libmad'
> ERROR: Required build target 'libomxil' has no buildable providers.
> Missing or unbuildable dependency chain was: ['libomxil', 'libmad']

  i saw that a couple days ago but i figured someone else would pick
up on it in short order.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: best cfg for building all of yocto?
  2011-07-21 16:32   ` McClintock Matthew-B29882
  2011-07-21 16:36     ` Robert P. J. Day
@ 2011-07-21 16:37     ` Richard Purdie
  2011-07-21 16:43     ` Scott Garman
  2 siblings, 0 replies; 9+ messages in thread
From: Richard Purdie @ 2011-07-21 16:37 UTC (permalink / raw)
  To: McClintock Matthew-B29882; +Cc: yocto@yoctoproject.org, Scott Garman

On Thu, 2011-07-21 at 16:32 +0000, McClintock Matthew-B29882 wrote:
> On Thu, Jul 21, 2011 at 8:29 AM, Scott Garman <scott.a.garman@intel.com> wrote:
> > bitbake world should build all of the available packages that aren't
> > explicitly excluded due to machine incompatibilities. It doesn't generate a
> > final image though, just all of the output packages.
> 
> Is there an easy way to remove a specific package from being built
> with running bitbake world? There are unmet dependencies:
> 
> NOTE: Resolving any missing task queue dependencies
> ERROR: Nothing PROVIDES 'libmad'
> ERROR: Required build target 'libomxil' has no buildable providers.
> Missing or unbuildable dependency chain was: ['libomxil', 'libmad']

EXCLUDE_FROM_WORLD_pn-libmad = "1"

should remove libmad from world builds.

Cheers,

Richard



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: best cfg for building all of yocto?
  2011-07-21 16:32   ` McClintock Matthew-B29882
  2011-07-21 16:36     ` Robert P. J. Day
  2011-07-21 16:37     ` Richard Purdie
@ 2011-07-21 16:43     ` Scott Garman
  2011-07-21 17:08       ` Robert P. J. Day
  2011-07-21 21:23       ` Koen Kooi
  2 siblings, 2 replies; 9+ messages in thread
From: Scott Garman @ 2011-07-21 16:43 UTC (permalink / raw)
  To: McClintock Matthew-B29882; +Cc: yocto@yoctoproject.org

On 07/21/2011 09:32 AM, McClintock Matthew-B29882 wrote:
> On Thu, Jul 21, 2011 at 8:29 AM, Scott Garman<scott.a.garman@intel.com>  wrote:
>> bitbake world should build all of the available packages that aren't
>> explicitly excluded due to machine incompatibilities. It doesn't generate a
>> final image though, just all of the output packages.
>
> Is there an easy way to remove a specific package from being built
> with running bitbake world? There are unmet dependencies:
>
> NOTE: Resolving any missing task queue dependencies
> ERROR: Nothing PROVIDES 'libmad'
> ERROR: Required build target 'libomxil' has no buildable providers.
> Missing or unbuildable dependency chain was: ['libomxil', 'libmad']

This happens because conf/distro/include/default-distrovars.inc excludes 
some recipes which are known to use commercial licenses:

COMMERCIAL_LICENSE ?= "lame gst-fluendo-mp3 libmad mpeg2dec ffmpeg qmmp"

If you'd like to build these recipes, set COMMERCIAL_LICENSE = "" in 
your local.conf.

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: best cfg for building all of yocto?
  2011-07-21 16:43     ` Scott Garman
@ 2011-07-21 17:08       ` Robert P. J. Day
  2011-07-21 17:39         ` Scott Garman
  2011-07-21 21:23       ` Koen Kooi
  1 sibling, 1 reply; 9+ messages in thread
From: Robert P. J. Day @ 2011-07-21 17:08 UTC (permalink / raw)
  To: Scott Garman; +Cc: McClintock Matthew-B29882, yocto@yoctoproject.org

On Thu, 21 Jul 2011, Scott Garman wrote:

> On 07/21/2011 09:32 AM, McClintock Matthew-B29882 wrote:
> > On Thu, Jul 21, 2011 at 8:29 AM, Scott Garman<scott.a.garman@intel.com>
> > wrote:
> > > bitbake world should build all of the available packages that aren't
> > > explicitly excluded due to machine incompatibilities. It doesn't generate
> > > a
> > > final image though, just all of the output packages.
> >
> > Is there an easy way to remove a specific package from being built
> > with running bitbake world? There are unmet dependencies:
> >
> > NOTE: Resolving any missing task queue dependencies
> > ERROR: Nothing PROVIDES 'libmad'
> > ERROR: Required build target 'libomxil' has no buildable providers.
> > Missing or unbuildable dependency chain was: ['libomxil', 'libmad']
>
> This happens because conf/distro/include/default-distrovars.inc excludes some
> recipes which are known to use commercial licenses:
>
> COMMERCIAL_LICENSE ?= "lame gst-fluendo-mp3 libmad mpeg2dec ffmpeg qmmp"
>
> If you'd like to build these recipes, set COMMERCIAL_LICENSE = "" in your
> local.conf.

  related to richard's earlier post about how to exclude packages,
shouldn't the initial settings be consistent, then?  either a default
yocto setup should include commercial licenses, or exclude them (and
their packages) entirely.  it seems that running a simple "bitbake
world" shouldn't just fail.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: best cfg for building all of yocto?
  2011-07-21 17:08       ` Robert P. J. Day
@ 2011-07-21 17:39         ` Scott Garman
  0 siblings, 0 replies; 9+ messages in thread
From: Scott Garman @ 2011-07-21 17:39 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: McClintock Matthew-B29882, yocto@yoctoproject.org

On 07/21/2011 10:08 AM, Robert P. J. Day wrote:
> On Thu, 21 Jul 2011, Scott Garman wrote:
>
>> On 07/21/2011 09:32 AM, McClintock Matthew-B29882 wrote:
>>> On Thu, Jul 21, 2011 at 8:29 AM, Scott Garman<scott.a.garman@intel.com>
>>> wrote:
>>>> bitbake world should build all of the available packages that aren't
>>>> explicitly excluded due to machine incompatibilities. It doesn't generate
>>>> a
>>>> final image though, just all of the output packages.
>>>
>>> Is there an easy way to remove a specific package from being built
>>> with running bitbake world? There are unmet dependencies:
>>>
>>> NOTE: Resolving any missing task queue dependencies
>>> ERROR: Nothing PROVIDES 'libmad'
>>> ERROR: Required build target 'libomxil' has no buildable providers.
>>> Missing or unbuildable dependency chain was: ['libomxil', 'libmad']
>>
>> This happens because conf/distro/include/default-distrovars.inc excludes some
>> recipes which are known to use commercial licenses:
>>
>> COMMERCIAL_LICENSE ?= "lame gst-fluendo-mp3 libmad mpeg2dec ffmpeg qmmp"
>>
>> If you'd like to build these recipes, set COMMERCIAL_LICENSE = "" in your
>> local.conf.
>
>    related to richard's earlier post about how to exclude packages,
> shouldn't the initial settings be consistent, then?  either a default
> yocto setup should include commercial licenses, or exclude them (and
> their packages) entirely.  it seems that running a simple "bitbake
> world" shouldn't just fail.

I agree with Robert. I have filed bug #1262 to track this issue.

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: best cfg for building all of yocto?
  2011-07-21 16:43     ` Scott Garman
  2011-07-21 17:08       ` Robert P. J. Day
@ 2011-07-21 21:23       ` Koen Kooi
  1 sibling, 0 replies; 9+ messages in thread
From: Koen Kooi @ 2011-07-21 21:23 UTC (permalink / raw)
  To: Scott Garman; +Cc: McClintock Matthew-B29882, yocto@yoctoproject.org


Op 21 jul. 2011, om 18:43 heeft Scott Garman het volgende geschreven:

> On 07/21/2011 09:32 AM, McClintock Matthew-B29882 wrote:
>> On Thu, Jul 21, 2011 at 8:29 AM, Scott Garman<scott.a.garman@intel.com>  wrote:
>>> bitbake world should build all of the available packages that aren't
>>> explicitly excluded due to machine incompatibilities. It doesn't generate a
>>> final image though, just all of the output packages.
>> 
>> Is there an easy way to remove a specific package from being built
>> with running bitbake world? There are unmet dependencies:
>> 
>> NOTE: Resolving any missing task queue dependencies
>> ERROR: Nothing PROVIDES 'libmad'
>> ERROR: Required build target 'libomxil' has no buildable providers.
>> Missing or unbuildable dependency chain was: ['libomxil', 'libmad']
> 
> This happens because conf/distro/include/default-distrovars.inc excludes some recipes which are known to use commercial licenses:
> 
> COMMERCIAL_LICENSE ?= "lame gst-fluendo-mp3 libmad mpeg2dec ffmpeg qmmp"


COMMERCIAL_LICENSE is a mis-nomber for a lot of them, NEED_TO_GIVE_MONEY_TO_MPEGLA is closer to the truth. What I'm trying to say is that the recipes in question don't have a commercial license, but can be subject to royalties in some cases. It could be that  your silicon vendor already pays the royalty for you for each chip they sell, so it is helpfull to dig into this before tweaking COMMERCIAL_LICENSE.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-07-21 21:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-21  5:10 best cfg for building all of yocto? Kumar Gala
2011-07-21 13:29 ` Scott Garman
2011-07-21 16:32   ` McClintock Matthew-B29882
2011-07-21 16:36     ` Robert P. J. Day
2011-07-21 16:37     ` Richard Purdie
2011-07-21 16:43     ` Scott Garman
2011-07-21 17:08       ` Robert P. J. Day
2011-07-21 17:39         ` Scott Garman
2011-07-21 21:23       ` Koen Kooi

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.