It turns out to have been a memory issue, but a little different from what peteru was suggesting.
I set the verbose option on the bitbake in the image target in the main Makefile, and it did three things: the first two were that it gave a proper error message on the failure, and it stopped the hang of the bitbake processes.
The error was:
Code: Select all
ERROR: ExpansionError during parsing /home/prl/openvix/openembedded-core/meta/recipes-core/meta/meta-environment.bb
Traceback (most recent call last):
bb.data_smart.ExpansionError: Failure expanding variable METADATA_REVISION, expression was ${@base_detect_revision(d)} which triggered exception CmdError: Execution of 'git rev-parse HEAD' failed: [Errno 12] Cannot allocate memory
So not enough memory, but in git, not bitbake. It's possibly caused by bitbake, but not happening in bitbake.
The third thing that it did was that when re-run, it got further before falling over because of the lack of memory:
Code: Select all
ERROR: ExpansionError during parsing /home/prl/openvix/meta-oe-alliance/meta-brands/meta-azbox/recipes-enigma2/enigma2-plugin-extensions-aziptv.bb
Traceback (most recent call last):
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-ZAfGH3Wkyj"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/prl/openvix/openembedded-core/scripts:/home/prl/openvix/builds/openvix/developer/inihdx/tmp/sysroots/x86_64-linux/usr/bin/mipsel-oe-linux:/home/prl/openvix/builds/openvix/developer/inihdx/tmp/sysroots/inihdx/usr/bin/crossscripts:/home/prl/openvix/builds/openvix/developer/inihdx/tmp/sysroots/x86_64-linux/usr/sbin:/home/prl/openvix/builds/openvix/developer/inihdx/tmp/sysroots/x86_64-linux/usr/bin:/home/prl/openvix/builds/openvix/developer/inihdx/tmp/sysroots/x86_64-linux/sbin:/home/prl/openvix/builds/openvix/developer/inihdx/tmp/sysroots/x86_64-linux/bin:/home/prl/openvix/openembedded-core/scripts:/home/prl/openvix/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/prl"; git -c core.fsyncobjectfiles=0 ls-remote git://github.com/OpenAZBox/AZIPTV.git could not be run:
[Errno 12] Cannot allocate memory
Again, what looks like a failure due to lack of memory, but in git rather than in bitbake.
Anyway, I pumped up the memory allocation for the VM from 2GB to 3GB (out of 4GB of physical memory), started it off again, and it's now happily running bitbake tasks that seem to be building stuff.