multibuild.eclass: Reap stray subjobs before exiting sub-phase
authorMichał Górny <mgorny@gentoo.org>
Thu, 23 Mar 2017 17:52:12 +0000 (18:52 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 14 Apr 2017 16:27:52 +0000 (18:27 +0200)
commite5e4a35151f64b423c4201a30270a236dab3bf58
treeb764ee1565e81f56ddf9e63451f830a8ef1d57e2
parent16c504f37e471540d3835e7f2fe6beb1f133e29b
multibuild.eclass: Reap stray subjobs before exiting sub-phase

Alike the PMS-defined phases, sub-phases do not support leaving jobs
behind. To avoid leaving something accidentally, make sure to reap all
jobs (i.e. wait) post running the command. Warn if any stray processes
are found since that indicates a bug in ebuild.
eclass/multibuild.eclass