At https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/multibuild.eclass#n129 are the lines # make sure no processes are left over local leftovers= while :; do wait -n [[ ${?} -eq 127 ]] && break || leftovers=1 done However, /var/tmp/portage/media-libs/freetype-2.7.1-r2/temp/environment: line 2399: wait: -n: invalid option wait: usage: wait [id] In bash 4.2, which is still available as a stable package in portage, wait does not support the -n option. This causes the freetype build to fail and probably many others.
Reverted.