Gentoo Archives: gentoo-python

From: "Michał Górny" <mgorny@g.o>
To: gentoo-python@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-python] [PATCH] Always create split logs, even with non-parallel builds.
Date: Thu, 03 Jan 2013 16:59:52
Message-Id: 1357232378-19285-1-git-send-email-mgorny@gentoo.org
1 They are handy, and this also avoids trouble when ebuild uses
2 partially-parallel build.
3 ---
4 gx86/eclass/distutils-r1.eclass | 2 +-
5 1 file changed, 1 insertion(+), 1 deletion(-)
6
7 diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass
8 index 1b32748..d1af92c 100644
9 --- a/gx86/eclass/distutils-r1.eclass
10 +++ b/gx86/eclass/distutils-r1.eclass
11 @@ -388,7 +388,7 @@ distutils-r1_run_phase() {
12 mkdir -p "${TMPDIR}" || die
13
14 if [[ ${DISTUTILS_NO_PARALLEL_BUILD} ]]; then
15 - "${@}"
16 + "${@}" 2>&1 | tee -a "${T}/build-${EPYTHON}.log"
17 else
18 (
19 multijob_child_init
20 --
21 1.8.1

Replies