The bb.fatal() is defined as: def fatal(*args): logger.critical(''.join(args)) sys.exit(1) So anything after bb.fatal() in the same code block doesn't have any effect, e.g.: bb.fatal("%s_%s: %s" % (var, pkg, e)) raise e The "raise e" should be removed.
Merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=51c3e9df28619bfa5a6c22a7c91c7c7093080c87
Verified with poky (master:676fd3f394a0c0576b63c77ed2184bf5f42c29b6) All same block code under bb.fatal() have been removed.