Bitbake console-image, hangs at parsing

Hello,

So, last week (and this monday) i was working on rebuilding the
kernel(worked with the SPI in the board file). I could run commands
such as bitbake console-image, -f -c compile linux-xx.xx, deploy-
xx,xx. But today when i try anything with bitbake i get stuck at
parsing in the begining. I even tried installing ubuntu on another
computer and setup everything again to see if it would make any
differance, but it didnt, it still hangs up at parsing 0%. Have any
one else ran into this problem or might now how to fix it? Because as
far as i'm conserned i have not made any changes to the bitbake files,
it worked on monday, and on thuesday it didnt.

Below is what happends when i run the console-image.
Any help would be greatly appritiated.

tomas@tomas-VirtualBox:~/Downloads/bygga-image/setup-scripts$
MACHINE=beagleboard ./oebb.sh bitbake console-image
Configured layers:

layer repository name: bitbake
layer uri: git://github.com/openembedded/bitbake.git
layer branch/revision: master/HEAD
Updating layer at layers/bitbake
Current branch master is up to date.

Layers present in repository:

layer repository name: meta-angstrom
layer uri: git://git.angstrom-distribution.org/meta-angstrom
layer branch/revision: master/HEAD
Updating layer at layers/meta-angstrom
Current branch master is up to date.

Layers present in repository:
meta-angstrom

layer repository name: meta-openembedded
layer uri: git://github.com/openembedded/meta-oe.git
layer branch/revision: master/HEAD
Updating layer at layers/meta-openembedded
Current branch master is up to date.

Layers present in repository:
meta-openembedded/meta-gpe
meta-openembedded/meta-efl
meta-openembedded/meta-oe
meta-openembedded/meta-xfce
meta-openembedded/meta-gnome

layer repository name: meta-ti
layer uri: git://git.angstrom-distribution.org/meta-texasinstruments
layer branch/revision: master/HEAD
Updating layer at layers/meta-ti
Current branch master is up to date.

Layers present in repository:
meta-ti

layer repository name: meta-ettus
layer uri: git://github.com/balister/meta-ettus.git
layer branch/revision: master/HEAD
Updating layer at layers/meta-ettus
Current branch master is up to date.

Layers present in repository:
meta-ettus

layer repository name: meta-efikamx
layer uri: git://github.com/kraj/meta-efikamx.git
layer branch/revision: master/HEAD
Updating layer at layers/meta-efikamx
Current branch master is up to date.

Layers present in repository:
meta-efikamx

layer repository name: meta-nslu2
layer uri: git://github.com/kraj/meta-nslu2.git
layer branch/revision: master/HEAD
Updating layer at layers/meta-nslu2
Current branch master is up to date.

Layers present in repository:
meta-nslu2

layer repository name: meta-smartphone
layer uri: http://git.shr-project.org/repo/meta-smartphone.git
layer branch/revision: master/HEAD
Updating layer at layers/meta-smartphone
Current branch master is up to date.

Layers present in repository:
meta-smartphone/meta-osmocombb
meta-smartphone/meta-aurora
meta-smartphone/meta-palm
meta-smartphone/meta-nokia
meta-smartphone/meta-fso
meta-smartphone/meta-samsung
meta-smartphone/meta-htc
meta-smartphone/meta-openmoko
meta-smartphone/meta-shr

layer repository name: meta-intel
layer uri: git://git.yoctoproject.org/meta-intel
layer branch/revision: master/HEAD
Updating layer at layers/meta-intel
Current branch master is up to date.

Layers present in repository:
meta-intel/meta-cedartrail
meta-intel/meta-n450
meta-intel/meta-jasperforest
meta-intel
meta-intel/meta-emenlow
meta-intel/meta-sys940x
meta-intel/meta-sugarbay
meta-intel/meta-tlk
meta-intel/meta-fri2
meta-intel/meta-crownbay
meta-intel/meta-fishriver
meta-intel/meta-romley

layer repository name: meta-xilinx
layer uri: git://git.yoctoproject.org/meta-xilinx
layer branch/revision: master/HEAD
Updating layer at layers/meta-xilinx
Current branch master is up to date.

Layers present in repository:
meta-xilinx

layer repository name: meta-openpandora
layer uri: git://github.com/openpandora/meta-openpandora.git
layer branch/revision: master/HEAD
Updating layer at layers/meta-openpandora
Current branch master is up to date.

Layers present in repository:
meta-openpandora

layer repository name: meta-handheld
layer uri: git://git.openembedded.org/meta-handheld
layer branch/revision: master/HEAD
Updating layer at layers/meta-handheld
Current branch master is up to date.

Layers present in repository:
meta-handheld

layer repository name: meta-opie
layer uri: git://github.com/bluelightning/meta-opie.git
layer branch/revision: master/HEAD
Updating layer at layers/meta-opie
Current branch master is up to date.

Layers present in repository:
meta-opie

layer repository name: meta-java
layer uri: git://github.com/woglinde/meta-java.git
layer branch/revision: master/HEAD
Updating layer at layers/meta-java
Current branch master is up to date.

Layers present in repository:
meta-java

layer repository name: meta-mozilla
layer uri: git://github.com/OSSystems/meta-mozilla.git
layer branch/revision: master/HEAD
Updating layer at layers/meta-mozilla
Current branch master is up to date.

Layers present in repository:
meta-mozilla

layer repository name: openembedded-core
layer uri: git://github.com/openembedded/oe-core.git
layer branch/revision: master/HEAD
Updating layer at layers/openembedded-core
Current branch master is up to date.

Layers present in repository:
openembedded-core/meta-skeleton
openembedded-core/meta

Using /home/tomas/.oe/environment-oecore to setup needed variables. It
is recommended to do '. /home/tomas/.oe/environment-oecore' and run
'bitbake something' without using ./oebb.sh as wrapper
Executing: MACHINE=beagleboard bitbake console-image
Pseudo is not present but is required, building this first before the
main build
Parsing recipes: 0% | |
ETA: --:--:--

I managed to solve the problem, and i'm going to post what i did, in
case other run into the same problem(especially linux beginners like
me).

As i described earlier, one day the bitbake worked, the other it
didnt. So i went to https://github.com/openembedded/bitbake/ and saw
that there were some recent commits, perhaps it were these recent
commits that caused my problem. I clicked on "tags"
https://github.com/openembedded/bitbake/tags and saw there there was
about a 1 month old commit there(Tag 1.15.1), so i downloaded it and
replaced my bitbake file in sources with it. I also opened the
layers.txt file and comment out git://github.com/openembedded/bitbake.git,master,HEAD.

After this everything works again, so i can now continue my work.

Best regards,
Tomas

I had this issue too. What’s more, keyboard interrupts didn’t work, so I had to close the whole console.

Thank you for posting your solution, Tomas.

JKSH