Poor first impression
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
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 8 lines · Gary Thomas
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!
Quoted 46 lines
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,chrpathERROR: Execution of event handler '
check_sanity_eventhandler' failed
Quoted 11 lines · Saul Wold
Quoted 8 lines · Gary Thomas
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
Quoted 46 lines
Quoted 46 lines
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,chrpathERROR: Execution of event handler '
check_sanity_eventhandler' failed
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 1 line · Gary Thomas
Master, updated 2013-05-16
Definitely worth updating again, there were some incompatibility with Python 2.6 that were fixed yesterday.
Ross
Quoted 5 lines · Ross
Quoted 1 line · Gary Thomas
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
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 4 lines · Gary Thomas
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
Quoted 6 lines · Richard Purdie
Quoted 4 lines · Gary Thomas
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...
Quoted 8 lines
There are two issues there, firstly the
scripts/bitbakebinary 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/bitbakenow. 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.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 39 lines · Gary Thomas
Quoted 6 lines · Richard Purdie
Quoted 4 lines · Gary Thomas
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...
Quoted 8 lines
There are two issues there, firstly the
scripts/bitbakebinary 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/bitbakenow. 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:
Quoted 3 lines
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
Quoted 40 lines · Richard Purdie
Quoted 39 lines · Gary Thomas
Quoted 6 lines · Richard Purdie
Quoted 4 lines · Gary Thomas
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...
Quoted 8 lines
There are two issues there, firstly the
scripts/bitbakebinary 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/bitbakenow. 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:
Quoted 7 lines
Quoted 3 lines
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
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------