[bitbake-devel] bitbake hang due to dpkg error
chmorgan at gmail.com
Tue Jul 9 16:50:33 UTC 2013
I'm not sure if this was the right place to report a bitbake bug (or
at least what I believe is a bitbake bug).
Ubuntu 13.04 here. The issue I had was that something had interrupted
dpkg, this left around some kind of a lock. I ran a bitbake command,
in this case:
MACHINE=beagleboard ./oebb.sh bitbake console-image
And it hung, almost no cpu usage on the system.
I ended up aborting the tasks and at some point tried to do a dpkg
command like 'sudo dpkg --remove blah' and got:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure
-a' to correct the problem.
After running 'sudo dpkg --configure -a' I re-ran the bitbake command
and everything seems happy. It appears that bitbake was issuing an apt
or dpkg command and hitting the same issue I saw with the 'dpkg was
interrupted' error but it isn't handling that appropriately and was
What I'm not sure of is exactly where the hang was, I don't yet
understand bitbake. Here are the tasks that appeared to have been
cmorgan at cmorgan-laptop:~$ ps aux |grep bitbake
cmorgan 19494 0.0 0.0 12532 1664 pts/21 S+ 11:32 0:00
/bin/bash ./oebb.sh bitbake console-image
cmorgan 20987 0.0 0.0 12420 1520 pts/21 S+ 11:32 0:00
cmorgan 21009 0.0 2.6 261484 214384 pts/21 S+ 11:32 0:02
cmorgan 21020 0.0 2.6 337316 212824 pts/21 Sl+ 11:32 0:00
cmorgan 21023 0.0 2.6 337316 211376 ? S 11:32 0:00
cmorgan 21232 0.0 0.0 9436 952 pts/25 S+ 12:37 0:00 grep
I can provide more information if it would be helpful, and if this
isn't the correct place just let me know and I'd appreciate if you
could point me in the right direction.
More information about the bitbake-devel