It happens for me every once in a while that I add a line to a multiline SRC_URI or DEPENDS and forget the trailing \ In that case bitbake crashes with SIGTERM, but the lock file is still there Can we catch this situation and give a proper error message and remove the lock file please?
I tried to reproduce this with master, removing the "\" from the middle of SRC_URI for acpid: $ bitbake bash Loading cache: 100% |#######################################################################################################################################| Time: 0:00:01 Loaded 1688 entries from dependency cache. ERROR: ParseError at /media/build/poky/meta/recipes-bsp/acpid/acpid.inc:14: unparsed line: 'SRC_URI = "${SOURCEFORGE_MIRROR}/acpid2/acpid-${PV}.tar.xz file://init' ERROR: Parsing halted due to errors, see error messages above and I could rerun the command repeatedly, always giving the same error message. Which release are you seeing the issue in? I suspect we fixed something in recent releases in this area, certainly master seems to work fine. Please reopen if you can give us a way to reproduce this on master.