All of lore.kernel.org
 help / color / mirror / Atom feed
* DISTRO 'poky' not found
@ 2011-03-14 21:29 Darren Hart
  2011-03-14 21:49 ` Darren Hart
  0 siblings, 1 reply; 6+ messages in thread
From: Darren Hart @ 2011-03-14 21:29 UTC (permalink / raw)
  To: poky@yoctoproject.org

I've run into this error several times during development of various things. It will be in a build tree that I have been working with for a while, then when I come back to it, I get the following. Any idea what triggers this? I suspect something in my workflow, but I can't imagine what it would be. I'd really like to not have to delete my build tree.

$ cd poky.git
$ source poky-init-build-env build-qemux86/

### Shell environment set up for Poky builds. ###

You can now run 'bitbake <target>'

Common targets are:
    poky-image-minimal
    poky-image-sato
    meta-toolchain
    meta-toolchain-sdk

You can also run generated qemu images with a command like 'poky-qemu qemux86'

$ bitbake linux-yocto
ERROR:  Poky's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Please set TARGET_OS directly, or choose a MACHINE or DISTRO that does so.
DISTRO 'poky' not found. Please set a valid DISTRO in your local.conf


-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


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

* Re: DISTRO 'poky' not found
  2011-03-14 21:29 DISTRO 'poky' not found Darren Hart
@ 2011-03-14 21:49 ` Darren Hart
  2011-03-15  9:40   ` Joshua Lock
  0 siblings, 1 reply; 6+ messages in thread
From: Darren Hart @ 2011-03-14 21:49 UTC (permalink / raw)
  To: poky@yoctoproject.org



On 03/14/2011 02:29 PM, Darren Hart wrote:
> I've run into this error several times during development of various things. It will be in a build tree that I have been working with for a while, then when I come back to it, I get the following. Any idea what triggers this? I suspect something in my workflow, but I can't imagine what it would be. I'd really like to not have to delete my build tree.
>
> $ cd poky.git
> $ source poky-init-build-env build-qemux86/
>
> ### Shell environment set up for Poky builds. ###
>
> You can now run 'bitbake<target>'
>
> Common targets are:
>      poky-image-minimal
>      poky-image-sato
>      meta-toolchain
>      meta-toolchain-sdk
>
> You can also run generated qemu images with a command like 'poky-qemu qemux86'
>
> $ bitbake linux-yocto
> ERROR:  Poky's config sanity checker detected a potential misconfiguration.
>      Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
>      Following is the list of potential problems / advisories:
>
>      Please set TARGET_OS directly, or choose a MACHINE or DISTRO that does so.
> DISTRO 'poky' not found. Please set a valid DISTRO in your local.conf


Thanks to Beth and Mark who pointed me in the right direction. This 
appears to be a problem with master, if I cherry-pick my changes on top 
of the bernard branch, the build continues as expected.

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


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

* Re: DISTRO 'poky' not found
  2011-03-14 21:49 ` Darren Hart
@ 2011-03-15  9:40   ` Joshua Lock
  2011-03-16 16:01     ` Darren Hart
  0 siblings, 1 reply; 6+ messages in thread
From: Joshua Lock @ 2011-03-15  9:40 UTC (permalink / raw)
  To: poky

[-- Attachment #1: Type: text/plain, Size: 1808 bytes --]

On Mon, 2011-03-14 at 14:49 -0700, Darren Hart wrote:
> 
> On 03/14/2011 02:29 PM, Darren Hart wrote:
> > I've run into this error several times during development of various things. It will be in a build tree that I have been working with for a while, then when I come back to it, I get the following. Any idea what triggers this? I suspect something in my workflow, but I can't imagine what it would be. I'd really like to not have to delete my build tree.
> >
> > $ cd poky.git
> > $ source poky-init-build-env build-qemux86/
> >
> > ### Shell environment set up for Poky builds. ###
> >
> > You can now run 'bitbake<target>'
> >
> > Common targets are:
> >      poky-image-minimal
> >      poky-image-sato
> >      meta-toolchain
> >      meta-toolchain-sdk
> >
> > You can also run generated qemu images with a command like 'poky-qemu qemux86'
> >
> > $ bitbake linux-yocto
> > ERROR:  Poky's config sanity checker detected a potential misconfiguration.
> >      Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
> >      Following is the list of potential problems / advisories:
> >
> >      Please set TARGET_OS directly, or choose a MACHINE or DISTRO that does so.
> > DISTRO 'poky' not found. Please set a valid DISTRO in your local.conf
> 
> 
> Thanks to Beth and Mark who pointed me in the right direction. This 
> appears to be a problem with master, if I cherry-pick my changes on top 
> of the bernard branch, the build continues as expected.
> 

Ah, our layers.conf.sample doesn't include the new meta-yocto layer. So
I'm guessing this is a clean build dir?

We need a patch like the attached.

Cheers,
Joshua
-- 
Joshua Lock
        Yocto Build System Monkey
        Intel Open Source Technology Centre

[-- Attachment #2: layers.patch --]
[-- Type: text/x-patch, Size: 339 bytes --]

diff --git a/meta-yocto/conf/bblayers.conf.sample b/meta-yocto/conf/bblayers.conf.sample
index b2f37c0..ee85a98 100644
--- a/meta-yocto/conf/bblayers.conf.sample
+++ b/meta-yocto/conf/bblayers.conf.sample
@@ -5,4 +5,5 @@ LCONF_VERSION = "4"
 BBFILES ?= ""
 BBLAYERS = " \
   ##POKYBASE##/meta \
+  ##POKYBASE##/meta-yocto \
   "

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

* Re: DISTRO 'poky' not found
  2011-03-15  9:40   ` Joshua Lock
@ 2011-03-16 16:01     ` Darren Hart
  2011-03-16 16:04       ` Richard Purdie
  0 siblings, 1 reply; 6+ messages in thread
From: Darren Hart @ 2011-03-16 16:01 UTC (permalink / raw)
  To: Joshua Lock; +Cc: poky



On 03/15/2011 02:40 AM, Joshua Lock wrote:
> On Mon, 2011-03-14 at 14:49 -0700, Darren Hart wrote:
>>
>> On 03/14/2011 02:29 PM, Darren Hart wrote:
>>> I've run into this error several times during development of various things. It will be in a build tree that I have been working with for a while, then when I come back to it, I get the following. Any idea what triggers this? I suspect something in my workflow, but I can't imagine what it would be. I'd really like to not have to delete my build tree.
>>>
>>> $ cd poky.git
>>> $ source poky-init-build-env build-qemux86/
>>>
>>> ### Shell environment set up for Poky builds. ###
>>>
>>> You can now run 'bitbake<target>'
>>>
>>> Common targets are:
>>>       poky-image-minimal
>>>       poky-image-sato
>>>       meta-toolchain
>>>       meta-toolchain-sdk
>>>
>>> You can also run generated qemu images with a command like 'poky-qemu qemux86'
>>>
>>> $ bitbake linux-yocto
>>> ERROR:  Poky's config sanity checker detected a potential misconfiguration.
>>>       Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
>>>       Following is the list of potential problems / advisories:
>>>
>>>       Please set TARGET_OS directly, or choose a MACHINE or DISTRO that does so.
>>> DISTRO 'poky' not found. Please set a valid DISTRO in your local.conf
>>
>>
>> Thanks to Beth and Mark who pointed me in the right direction. This
>> appears to be a problem with master, if I cherry-pick my changes on top
>> of the bernard branch, the build continues as expected.
>>
>
> Ah, our layers.conf.sample doesn't include the new meta-yocto layer. So
> I'm guessing this is a clean build dir?

I believe I've seen it on both - but probably only when switching 
branches back and forth between master and bernard.


-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


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

* Re: DISTRO 'poky' not found
  2011-03-16 16:01     ` Darren Hart
@ 2011-03-16 16:04       ` Richard Purdie
  2011-03-16 19:11         ` Darren Hart
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Purdie @ 2011-03-16 16:04 UTC (permalink / raw)
  To: Darren Hart; +Cc: poky

On Wed, 2011-03-16 at 09:01 -0700, Darren Hart wrote:
> 
> On 03/15/2011 02:40 AM, Joshua Lock wrote:
> > On Mon, 2011-03-14 at 14:49 -0700, Darren Hart wrote:
> >>
> >> On 03/14/2011 02:29 PM, Darren Hart wrote:
> >>> I've run into this error several times during development of various things. It will be in a build tree that I have been working with for a while, then when I come back to it, I get the following. Any idea what triggers this? I suspect something in my workflow, but I can't imagine what it would be. I'd really like to not have to delete my build tree.
> >>>
> >>> $ cd poky.git
> >>> $ source poky-init-build-env build-qemux86/
> >>>
> >>> ### Shell environment set up for Poky builds. ###
> >>>
> >>> You can now run 'bitbake<target>'
> >>>
> >>> Common targets are:
> >>>       poky-image-minimal
> >>>       poky-image-sato
> >>>       meta-toolchain
> >>>       meta-toolchain-sdk
> >>>
> >>> You can also run generated qemu images with a command like 'poky-qemu qemux86'
> >>>
> >>> $ bitbake linux-yocto
> >>> ERROR:  Poky's config sanity checker detected a potential misconfiguration.
> >>>       Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
> >>>       Following is the list of potential problems / advisories:
> >>>
> >>>       Please set TARGET_OS directly, or choose a MACHINE or DISTRO that does so.
> >>> DISTRO 'poky' not found. Please set a valid DISTRO in your local.conf
> >>
> >>
> >> Thanks to Beth and Mark who pointed me in the right direction. This
> >> appears to be a problem with master, if I cherry-pick my changes on top
> >> of the bernard branch, the build continues as expected.
> >>
> >
> > Ah, our layers.conf.sample doesn't include the new meta-yocto layer. So
> > I'm guessing this is a clean build dir?
> 
> I believe I've seen it on both - but probably only when switching 
> branches back and forth between master and bernard.

There should be a fix in master for this now though?

Cheers,

Richard




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

* Re: DISTRO 'poky' not found
  2011-03-16 16:04       ` Richard Purdie
@ 2011-03-16 19:11         ` Darren Hart
  0 siblings, 0 replies; 6+ messages in thread
From: Darren Hart @ 2011-03-16 19:11 UTC (permalink / raw)
  To: Richard Purdie; +Cc: poky



On 03/16/2011 09:04 AM, Richard Purdie wrote:
> On Wed, 2011-03-16 at 09:01 -0700, Darren Hart wrote:
>>
>> On 03/15/2011 02:40 AM, Joshua Lock wrote:
>>> On Mon, 2011-03-14 at 14:49 -0700, Darren Hart wrote:
>>>>
>>>> On 03/14/2011 02:29 PM, Darren Hart wrote:
>>>>> I've run into this error several times during development of various things. It will be in a build tree that I have been working with for a while, then when I come back to it, I get the following. Any idea what triggers this? I suspect something in my workflow, but I can't imagine what it would be. I'd really like to not have to delete my build tree.
>>>>>
>>>>> $ cd poky.git
>>>>> $ source poky-init-build-env build-qemux86/
>>>>>
>>>>> ### Shell environment set up for Poky builds. ###
>>>>>
>>>>> You can now run 'bitbake<target>'
>>>>>
>>>>> Common targets are:
>>>>>        poky-image-minimal
>>>>>        poky-image-sato
>>>>>        meta-toolchain
>>>>>        meta-toolchain-sdk
>>>>>
>>>>> You can also run generated qemu images with a command like 'poky-qemu qemux86'
>>>>>
>>>>> $ bitbake linux-yocto
>>>>> ERROR:  Poky's config sanity checker detected a potential misconfiguration.
>>>>>        Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
>>>>>        Following is the list of potential problems / advisories:
>>>>>
>>>>>        Please set TARGET_OS directly, or choose a MACHINE or DISTRO that does so.
>>>>> DISTRO 'poky' not found. Please set a valid DISTRO in your local.conf
>>>>
>>>>
>>>> Thanks to Beth and Mark who pointed me in the right direction. This
>>>> appears to be a problem with master, if I cherry-pick my changes on top
>>>> of the bernard branch, the build continues as expected.
>>>>
>>>
>>> Ah, our layers.conf.sample doesn't include the new meta-yocto layer. So
>>> I'm guessing this is a clean build dir?
>>
>> I believe I've seen it on both - but probably only when switching
>> branches back and forth between master and bernard.
>
> There should be a fix in master for this now though?

I believe so yes, the meta-yocto thing from Josh. I'll holler if I hit 
it again with that in place.

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


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

end of thread, other threads:[~2011-03-16 19:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-14 21:29 DISTRO 'poky' not found Darren Hart
2011-03-14 21:49 ` Darren Hart
2011-03-15  9:40   ` Joshua Lock
2011-03-16 16:01     ` Darren Hart
2011-03-16 16:04       ` Richard Purdie
2011-03-16 19:11         ` Darren Hart

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.