diff options
author | Michał Górny <mgorny@gentoo.org> | 2012-12-07 17:59:12 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2012-12-07 17:59:12 +0000 |
commit | 26e6769b8511891079cf864c2ea3bca43193ca61 (patch) | |
tree | 8ddfdc8af2f8779316b371ea2b62276801c497c9 /eclass/distutils-r1.eclass | |
parent | Stable for x86, wrt bug #441154 (diff) | |
download | historical-26e6769b8511891079cf864c2ea3bca43193ca61.tar.gz historical-26e6769b8511891079cf864c2ea3bca43193ca61.tar.bz2 historical-26e6769b8511891079cf864c2ea3bca43193ca61.zip |
Write split build logs for easier debugging.
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index cdce6939c122..bb58d59d8f58 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.27 2012/12/07 17:57:46 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.28 2012/12/07 17:59:12 mgorny Exp $ # @ECLASS: distutils-r1 # @MAINTAINER: @@ -382,7 +382,11 @@ distutils-r1_run_phase() { if [[ ${DISTUTILS_NO_PARALLEL_BUILD} ]]; then "${@}" else - multijob_child_init --post "${@}" + ( + multijob_child_init + "${@}" 2>&1 | tee -a "${T}/build-${EPYTHON}.log" + ) & + multijob_post_fork fi if [[ ${DISTUTILS_IN_SOURCE_BUILD} ]]; then |