summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/distutils-r1.eclass8
2 files changed, 10 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index f40180f641eb..59a52e700d4c 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.549 2012/12/07 17:57:46 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.550 2012/12/07 17:59:12 mgorny Exp $
+
+ 07 Dec 2012; Michał Górny <mgorny@gentoo.org> distutils-r1.eclass:
+ Write split build logs for easier debugging.
07 Dec 2012; Michał Górny <mgorny@gentoo.org> distutils-r1.eclass:
Use multiprocessing post-fork wait mode to avoid early output when all jobs
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