If you run bitbake -k doesnotexist the return code is 0: ------- snip ------- ERROR: Nothing PROVIDES 'doesnotexist' NOTE: Resolving any missing task queue dependencies NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn't need to be rerun and 0 failed. paul@helios:~/poky/poky/build$ echo $? 0 ------- snip ------- This can be bad for the autobuilder because tasks that actually failed look like they succeeded: http://autobuilder.yoctoproject.org:8010/builders/crownbay-noemgd/builds/27/steps/shell_10/logs/stdio
Fixed in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=83eacdcf13217b0aedad6e1298609440266a3291