Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sat, 15 Apr 2017 12:32:23
Message-Id: 1492259533.c387db6118ecadd196aec77eb6edc326bd0f2535.mgorny@gentoo
1 commit: c387db6118ecadd196aec77eb6edc326bd0f2535
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 15 12:30:07 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 15 12:32:13 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c387db61
7
8 multibuild.eclass: Revert "Reap stray subjobs before exiting sub-phase"
9
10 The code wrongly relies on 'bash -n' which is not available in bash 4.2.
11
12 Bug: https://bugs.gentoo.org/615642
13 Reverts: e5e4a35151f64b423c4201a30270a236dab3bf58
14
15 eclass/multibuild.eclass | 12 ------------
16 1 file changed, 12 deletions(-)
17
18 diff --git a/eclass/multibuild.eclass b/eclass/multibuild.eclass
19 index a29218d8d84..0f89e4ec0b8 100644
20 --- a/eclass/multibuild.eclass
21 +++ b/eclass/multibuild.eclass
22 @@ -125,18 +125,6 @@ multibuild_foreach_variant() {
23 _multibuild_run "${@}" \
24 > >(exec tee -a "${T}/build-${MULTIBUILD_ID}.log") 2>&1
25 lret=${?}
26 -
27 - # make sure no processes are left over
28 - local leftovers=
29 - while :; do
30 - wait -n
31 - [[ ${?} -eq 127 ]] && break || leftovers=1
32 - done
33 -
34 - if [[ ${leftovers} ]]; then
35 - ewarn "The multibuild function has left one or more processes running"
36 - ewarn "in the background. Please report a bug."
37 - fi
38 done
39 [[ ${ret} -eq 0 && ${lret} -ne 0 ]] && ret=${lret}