All of lore.kernel.org
 help / color / mirror / Atom feed
* Poor first impression
@ 2013-05-17 13:26 Gary Thomas
  2013-05-17 14:18 ` Saul Wold
  2013-05-21  9:10 ` Richard Purdie
  0 siblings, 2 replies; 9+ messages in thread
From: Gary Thomas @ 2013-05-17 13:26 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

I just tried to run Poky/Yocto on a fresh Ubuntu 12.04 system.  I knew there would
be missing bits and have seen the "sanity" messages in the past, so I thought I'd
just carry on.  Today's experience was not pretty and would it not for my experience
with this, I would have been very perplexed...

Here's what I saw:

gthomas@saturn:/local/qemuarm_poky$ bitbake core-image-sato
/local/poky-multi/scripts/bitbake: 1: /local/poky-multi/scripts/bitbake: git: not found
   File "<string>", line 1
     from distutils.version import LooseVersion; import sys; sys.exit(not (LooseVersion('>=') 1.7.5 LooseVersion('')))
                                                                                                ^
SyntaxError: invalid syntax
/local/poky-multi/scripts/bitbake: 1: /local/poky-multi/scripts/bitbake: git: not found
   File "<string>", line 1
     from distutils.version import LooseVersion; import sys; sys.exit(not (LooseVersion('>=') 1.7.5 LooseVersion('')))
                                                                                                ^
SyntaxError: invalid syntax
Traceback (most recent call last):
   File "/local/poky-multi/bitbake/bin/bitbake", line 293, in <module>
     ret = main()
   File "/local/poky-multi/bitbake/bin/bitbake", line 260, in main
     event = server.event_queue.get(block=False)
   File "/usr/lib/python2.7/multiprocessing/queues.py", line 134, in get
     raise Empty
Empty
Pseudo is not present but is required, building this first before the main build
^CTraceback (most recent call last):
   File "/local/poky-multi/bitbake/bin/bitbake", line 293, in <module>
     ret = main()
   File "/local/poky-multi/bitbake/bin/bitbake", line 260, in main
     event = server.event_queue.get(block=False)
   File "/usr/lib/python2.7/multiprocessing/queues.py", line 134, in get
     raise Empty
Empty
ERROR:  OE-core'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 install the following missing utilities: C++ Compiler (g++),diffstat,makeinfo,git,gawk,chrpath

ERROR: Execution of event handler 'check_sanity_eventhandler' failed

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



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

* Re: Poor first impression
  2013-05-17 13:26 Poor first impression Gary Thomas
@ 2013-05-17 14:18 ` Saul Wold
  2013-05-17 14:23   ` Gary Thomas
  2013-05-21  9:10 ` Richard Purdie
  1 sibling, 1 reply; 9+ messages in thread
From: Saul Wold @ 2013-05-17 14:18 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Patches and discussions about the oe-core layer

On 05/17/2013 04:26 PM, Gary Thomas wrote:
> I just tried to run Poky/Yocto on a fresh Ubuntu 12.04 system.  I knew
> there would
> be missing bits and have seen the "sanity" messages in the past, so I
> thought I'd
> just carry on.  Today's experience was not pretty and would it not for
> my experience
> with this, I would have been very perplexed...
>

Hey Gary, was this on a 1.4 / Danny Branch or master?  Richard may have 
done something with master when he made some of the Python3 changes.

Sau!

> Here's what I saw:
>
> gthomas@saturn:/local/qemuarm_poky$ bitbake core-image-sato
> /local/poky-multi/scripts/bitbake: 1: /local/poky-multi/scripts/bitbake:
> git: not found
>    File "<string>", line 1
>      from distutils.version import LooseVersion; import sys;
> sys.exit(not (LooseVersion('>=') 1.7.5 LooseVersion('')))
>                                                                                                 ^
> SyntaxError: invalid syntax
> /local/poky-multi/scripts/bitbake: 1: /local/poky-multi/scripts/bitbake:
> git: not found
>    File "<string>", line 1
>      from distutils.version import LooseVersion; import sys;
> sys.exit(not (LooseVersion('>=') 1.7.5 LooseVersion('')))
>                                                                                                 ^
> SyntaxError: invalid syntax
> Traceback (most recent call last):
>    File "/local/poky-multi/bitbake/bin/bitbake", line 293, in <module>
>      ret = main()
>    File "/local/poky-multi/bitbake/bin/bitbake", line 260, in main
>      event = server.event_queue.get(block=False)
>    File "/usr/lib/python2.7/multiprocessing/queues.py", line 134, in get
>      raise Empty
> Empty
> Pseudo is not present but is required, building this first before the
> main build
> ^CTraceback (most recent call last):
>    File "/local/poky-multi/bitbake/bin/bitbake", line 293, in <module>
>      ret = main()
>    File "/local/poky-multi/bitbake/bin/bitbake", line 260, in main
>      event = server.event_queue.get(block=False)
>    File "/usr/lib/python2.7/multiprocessing/queues.py", line 134, in get
>      raise Empty
> Empty
> ERROR:  OE-core'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 install the following missing utilities: C++ Compiler
> (g++),diffstat,makeinfo,git,gawk,chrpath
>
> ERROR: Execution of event handler 'check_sanity_eventhandler' failed
>



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

* Re: Poor first impression
  2013-05-17 14:18 ` Saul Wold
@ 2013-05-17 14:23   ` Gary Thomas
  2013-05-17 14:32     ` Burton, Ross
  0 siblings, 1 reply; 9+ messages in thread
From: Gary Thomas @ 2013-05-17 14:23 UTC (permalink / raw)
  To: Saul Wold; +Cc: Patches and discussions about the oe-core layer

On 2013-05-17 08:18, Saul Wold wrote:
> On 05/17/2013 04:26 PM, Gary Thomas wrote:
>> I just tried to run Poky/Yocto on a fresh Ubuntu 12.04 system.  I knew
>> there would
>> be missing bits and have seen the "sanity" messages in the past, so I
>> thought I'd
>> just carry on.  Today's experience was not pretty and would it not for
>> my experience
>> with this, I would have been very perplexed...
>>
>
> Hey Gary, was this on a 1.4 / Danny Branch or master?  Richard may have done something with master when he made some of the Python3 changes.

Master, updated 2013-05-16

>> Here's what I saw:
>>
>> gthomas@saturn:/local/qemuarm_poky$ bitbake core-image-sato
>> /local/poky-multi/scripts/bitbake: 1: /local/poky-multi/scripts/bitbake:
>> git: not found
>>    File "<string>", line 1
>>      from distutils.version import LooseVersion; import sys;
>> sys.exit(not (LooseVersion('>=') 1.7.5 LooseVersion('')))
>>                                                                                                 ^
>> SyntaxError: invalid syntax
>> /local/poky-multi/scripts/bitbake: 1: /local/poky-multi/scripts/bitbake:
>> git: not found
>>    File "<string>", line 1
>>      from distutils.version import LooseVersion; import sys;
>> sys.exit(not (LooseVersion('>=') 1.7.5 LooseVersion('')))
>>                                                                                                 ^
>> SyntaxError: invalid syntax
>> Traceback (most recent call last):
>>    File "/local/poky-multi/bitbake/bin/bitbake", line 293, in <module>
>>      ret = main()
>>    File "/local/poky-multi/bitbake/bin/bitbake", line 260, in main
>>      event = server.event_queue.get(block=False)
>>    File "/usr/lib/python2.7/multiprocessing/queues.py", line 134, in get
>>      raise Empty
>> Empty
>> Pseudo is not present but is required, building this first before the
>> main build
>> ^CTraceback (most recent call last):
>>    File "/local/poky-multi/bitbake/bin/bitbake", line 293, in <module>
>>      ret = main()
>>    File "/local/poky-multi/bitbake/bin/bitbake", line 260, in main
>>      event = server.event_queue.get(block=False)
>>    File "/usr/lib/python2.7/multiprocessing/queues.py", line 134, in get
>>      raise Empty
>> Empty
>> ERROR:  OE-core'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 install the following missing utilities: C++ Compiler
>> (g++),diffstat,makeinfo,git,gawk,chrpath
>>
>> ERROR: Execution of event handler 'check_sanity_eventhandler' failed
>>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



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

* Re: Poor first impression
  2013-05-17 14:23   ` Gary Thomas
@ 2013-05-17 14:32     ` Burton, Ross
  2013-05-17 15:03       ` Gary Thomas
  0 siblings, 1 reply; 9+ messages in thread
From: Burton, Ross @ 2013-05-17 14:32 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Patches and discussions about the oe-core layer

On 17 May 2013 15:23, Gary Thomas <gary@mlbassoc.com> wrote:
> Master, updated 2013-05-16

Definitely worth updating again, there were some incompatibility with
Python 2.6 that were fixed yesterday.

Ross



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

* Re: Poor first impression
  2013-05-17 14:32     ` Burton, Ross
@ 2013-05-17 15:03       ` Gary Thomas
  0 siblings, 0 replies; 9+ messages in thread
From: Gary Thomas @ 2013-05-17 15:03 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Patches and discussions about the oe-core layer

On 2013-05-17 08:32, Burton, Ross wrote:
> On 17 May 2013 15:23, Gary Thomas <gary@mlbassoc.com> wrote:
>> Master, updated 2013-05-16
>
> Definitely worth updating again, there were some incompatibility with
> Python 2.6 that were fixed yesterday.

No change, sorry.  This only happens when 'git' is not installed
and is very easy to reproduce.

I tested on Ubuntu 12.04 and Fedora 17

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



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

* Re: Poor first impression
  2013-05-17 13:26 Poor first impression Gary Thomas
  2013-05-17 14:18 ` Saul Wold
@ 2013-05-21  9:10 ` Richard Purdie
  2013-05-21 18:13   ` Gary Thomas
  1 sibling, 1 reply; 9+ messages in thread
From: Richard Purdie @ 2013-05-21  9:10 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Patches and discussions about the oe-core layer

On Fri, 2013-05-17 at 07:26 -0600, Gary Thomas wrote:
> I just tried to run Poky/Yocto on a fresh Ubuntu 12.04 system.  I knew there would
> be missing bits and have seen the "sanity" messages in the past, so I thought I'd
> just carry on.  Today's experience was not pretty and would it not for my experience
> with this, I would have been very perplexed...

There are two issues there, firstly the scripts/bitbake binary is doing
a really bad job, secondly, one of the improved debugging patches I
added to bitbake, regressed things in this case.

I posted a patch to bitbake last night, I've just posted a fix for
scripts/bitbake now. These two together should improve this. I agree
that particular error would create a poor first impression, thanks for
reporting it.

Cheers,

Richard



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

* Re: Poor first impression
  2013-05-21  9:10 ` Richard Purdie
@ 2013-05-21 18:13   ` Gary Thomas
  2013-05-21 22:56     ` Richard Purdie
  0 siblings, 1 reply; 9+ messages in thread
From: Gary Thomas @ 2013-05-21 18:13 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer

On 2013-05-21 03:10, Richard Purdie wrote:
> On Fri, 2013-05-17 at 07:26 -0600, Gary Thomas wrote:
>> I just tried to run Poky/Yocto on a fresh Ubuntu 12.04 system.  I knew there would
>> be missing bits and have seen the "sanity" messages in the past, so I thought I'd
>> just carry on.  Today's experience was not pretty and would it not for my experience
>> with this, I would have been very perplexed...
>
> There are two issues there, firstly the scripts/bitbake binary is doing
> a really bad job, secondly, one of the improved debugging patches I
> added to bitbake, regressed things in this case.
>
> I posted a patch to bitbake last night, I've just posted a fix for
> scripts/bitbake now. These two together should improve this. I agree
> that particular error would create a poor first impression, thanks for
> reporting it.

With this patch, no 'git' and a fresh build I still get this:

Traceback (most recent call last):
   File "/home/local/poky-multi/bitbake/bin/bitbake", line 293, in <module>
     ret = main()
   File "/home/local/poky-multi/bitbake/bin/bitbake", line 260, in main
     event = server.event_queue.get(block=False)
   File "/usr/lib/python2.6/multiprocessing/queues.py", line 104, in get
     raise Empty
Empty
Pseudo is not present but is required, building this first before the main build
Traceback (most recent call last):
   File "/home/local/poky-multi/bitbake/bin/bitbake", line 293, in <module>
     ret = main()
   File "/home/local/poky-multi/bitbake/bin/bitbake", line 260, in main
     event = server.event_queue.get(block=False)
   File "/usr/lib/python2.6/multiprocessing/queues.py", line 104, in get
     raise Empty
Empty
ERROR:  OE-core'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 install the following missing utilities: git

Still not very pretty.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: Poor first impression
  2013-05-21 18:13   ` Gary Thomas
@ 2013-05-21 22:56     ` Richard Purdie
  2013-05-22 11:57       ` Gary Thomas
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Purdie @ 2013-05-21 22:56 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Patches and discussions about the oe-core layer

On Tue, 2013-05-21 at 12:13 -0600, Gary Thomas wrote:
> On 2013-05-21 03:10, Richard Purdie wrote:
> > On Fri, 2013-05-17 at 07:26 -0600, Gary Thomas wrote:
> >> I just tried to run Poky/Yocto on a fresh Ubuntu 12.04 system.  I knew there would
> >> be missing bits and have seen the "sanity" messages in the past, so I thought I'd
> >> just carry on.  Today's experience was not pretty and would it not for my experience
> >> with this, I would have been very perplexed...
> >
> > There are two issues there, firstly the scripts/bitbake binary is doing
> > a really bad job, secondly, one of the improved debugging patches I
> > added to bitbake, regressed things in this case.
> >
> > I posted a patch to bitbake last night, I've just posted a fix for
> > scripts/bitbake now. These two together should improve this. I agree
> > that particular error would create a poor first impression, thanks for
> > reporting it.
> 
> With this patch, no 'git' and a fresh build I still get this:
> 
> Traceback (most recent call last):
>    File "/home/local/poky-multi/bitbake/bin/bitbake", line 293, in <module>
>      ret = main()
>    File "/home/local/poky-multi/bitbake/bin/bitbake", line 260, in main
>      event = server.event_queue.get(block=False)
>    File "/usr/lib/python2.6/multiprocessing/queues.py", line 104, in get
>      raise Empty
> Empty
> Pseudo is not present but is required, building this first before the main build
> Traceback (most recent call last):
>    File "/home/local/poky-multi/bitbake/bin/bitbake", line 293, in <module>
>      ret = main()
>    File "/home/local/poky-multi/bitbake/bin/bitbake", line 260, in main
>      event = server.event_queue.get(block=False)
>    File "/usr/lib/python2.6/multiprocessing/queues.py", line 104, in get
>      raise Empty
> Empty
> ERROR:  OE-core'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 install the following missing utilities: git
> 
> Still not very pretty.


Did you apply both patches, the one for bitbake and the one for OE-Core?
This looks like the bitbake one is missing.

Cheers,

Richard




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

* Re: Poor first impression
  2013-05-21 22:56     ` Richard Purdie
@ 2013-05-22 11:57       ` Gary Thomas
  0 siblings, 0 replies; 9+ messages in thread
From: Gary Thomas @ 2013-05-22 11:57 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer

On 2013-05-21 16:56, Richard Purdie wrote:
> On Tue, 2013-05-21 at 12:13 -0600, Gary Thomas wrote:
>> On 2013-05-21 03:10, Richard Purdie wrote:
>>> On Fri, 2013-05-17 at 07:26 -0600, Gary Thomas wrote:
>>>> I just tried to run Poky/Yocto on a fresh Ubuntu 12.04 system.  I knew there would
>>>> be missing bits and have seen the "sanity" messages in the past, so I thought I'd
>>>> just carry on.  Today's experience was not pretty and would it not for my experience
>>>> with this, I would have been very perplexed...
>>>
>>> There are two issues there, firstly the scripts/bitbake binary is doing
>>> a really bad job, secondly, one of the improved debugging patches I
>>> added to bitbake, regressed things in this case.
>>>
>>> I posted a patch to bitbake last night, I've just posted a fix for
>>> scripts/bitbake now. These two together should improve this. I agree
>>> that particular error would create a poor first impression, thanks for
>>> reporting it.
>>
>> With this patch, no 'git' and a fresh build I still get this:
>>
>> Traceback (most recent call last):
>>     File "/home/local/poky-multi/bitbake/bin/bitbake", line 293, in <module>
>>       ret = main()
>>     File "/home/local/poky-multi/bitbake/bin/bitbake", line 260, in main
>>       event = server.event_queue.get(block=False)
>>     File "/usr/lib/python2.6/multiprocessing/queues.py", line 104, in get
>>       raise Empty
>> Empty
>> Pseudo is not present but is required, building this first before the main build
>> Traceback (most recent call last):
>>     File "/home/local/poky-multi/bitbake/bin/bitbake", line 293, in <module>
>>       ret = main()
>>     File "/home/local/poky-multi/bitbake/bin/bitbake", line 260, in main
>>       event = server.event_queue.get(block=False)
>>     File "/usr/lib/python2.6/multiprocessing/queues.py", line 104, in get
>>       raise Empty
>> Empty
>> ERROR:  OE-core'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 install the following missing utilities: git
>>
>> Still not very pretty.
>
>
> Did you apply both patches, the one for bitbake and the one for OE-Core?
> This looks like the bitbake one is missing.

Sorry, I missed that since they went to different mailing lists.

The output is much cleaner with the other patch.

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

end of thread, other threads:[~2013-05-22 11:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-17 13:26 Poor first impression Gary Thomas
2013-05-17 14:18 ` Saul Wold
2013-05-17 14:23   ` Gary Thomas
2013-05-17 14:32     ` Burton, Ross
2013-05-17 15:03       ` Gary Thomas
2013-05-21  9:10 ` Richard Purdie
2013-05-21 18:13   ` Gary Thomas
2013-05-21 22:56     ` Richard Purdie
2013-05-22 11:57       ` Gary Thomas

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.