Gentoo Archives: gentoo-dev

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] distutils-r1.eclass: Do not modify the HOME variable
Date: Sat, 21 May 2016 23:23:00
Message-Id: 22ce9d07-4905-0227-f0da-2e3ad206d123@gentoo.org
In Reply to: [gentoo-dev] [PATCH] distutils-r1.eclass: Do not modify the HOME variable by Mike Gilbert
1 On 05/06/2016 08:25 AM, Mike Gilbert wrote:
2 > This was only necessary when we ran phases in parallel.
3 > Also, PMS says this variable should not be modified.
4 > ---
5 > eclass/distutils-r1.eclass | 6 ------
6 > 1 file changed, 6 deletions(-)
7 >
8 > diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
9 > index 7965e91..497bed5 100644
10 > --- a/eclass/distutils-r1.eclass
11 > +++ b/eclass/distutils-r1.eclass
12 > @@ -628,12 +628,6 @@ distutils-r1_run_phase() {
13 > # in the sys.path_importer_cache)
14 > mkdir -p "${BUILD_DIR}/lib" || die
15 >
16 > - # We need separate home for each implementation, for .pydistutils.cfg.
17 > - if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then
18 > - local -x HOME=${HOME}/${EPYTHON}
19 > - mkdir -p "${HOME}" || die
20 > - fi
21 > -
22 > # Set up build environment, bug #513664.
23 > local -x AR=${AR} CC=${CC} CPP=${CPP} CXX=${CXX}
24 > tc-export AR CC CPP CXX
25 >
26
27 Thanks for this, think I reported it a while ago, can't find the bug though.
28
29 --
30 -- Matthew Thode (prometheanfire)