Test on Ubuntu 12.04 and yocto comes from: http://autobuilder.yoctoproject.org/pub/nightly/20130403-2/poky-fe336b149552b1f4f24d979c40302653298b98cc.tar.gz Followed the instructions in http://www.yoctoproject.org/docs/current/yocto-project-qs/yocto-project-qs.html and added INHERIT += "rm_work" to local.conf. Each package complained the following error. ERROR: Function failed: do_rm_work (see /folk/hv/hv-dev/cpeng/yocto/yp-beta-build/tmp/work/i586-poky-linux/eglibc-initial/2.17-r3/temp/log.do_rm_work.7776 for further information) ERROR: Logfile of failure stored in: /folk/hv/hv-dev/cpeng/yocto/yp-beta-build/tmp/work/i586-poky-linux/eglibc-initial/2.17-r3/temp/log.do_rm_work.7776 Log data follows: | DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common'] | DEBUG: Executing shell function do_rm_work | rm: cannot remove `pseudo': Directory not empty | ERROR: Function failed: do_rm_work (see /folk/hv/hv-dev/cpeng/yocto/yp-beta-build/tmp/work/i586-poky-linux/eglibc-initial/2.17-r3/temp/log.do_rm_work.7776 for further information) ERROR: Task 564 (/folk/hv/hv-dev/cpeng/yocto/beta/meta/recipes-core/eglibc/eglibc-initial_2.17.bb, do_rm_work) failed with exit code '1'
Fixed with http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=b08958bc22f67dff25390bd96a697a94915ed9bb
Verified with poky: b08958bc22f67dff25390bd96a697a94915ed9bb No do_rm_work issues anymore.