diff options
author | 2012-12-07 17:59:12 +0000 | |
---|---|---|
committer | 2012-12-07 17:59:12 +0000 | |
commit | 53d1ce8995e3bab0012a8165d40dd4ac64aad3fc (patch) | |
tree | 2544ada0ba1ad971fba51e8cff83264b58cb34d4 /eclass/distutils-r1.eclass | |
parent | Stable for x86, wrt bug #441154 (diff) | |
download | gentoo-2-53d1ce8995e3bab0012a8165d40dd4ac64aad3fc.tar.gz gentoo-2-53d1ce8995e3bab0012a8165d40dd4ac64aad3fc.tar.bz2 gentoo-2-53d1ce8995e3bab0012a8165d40dd4ac64aad3fc.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 |