From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QXIE9-0004mA-Qc for garchives@archives.gentoo.org; Thu, 16 Jun 2011 19:27:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C201D1C039; Thu, 16 Jun 2011 19:27:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 960211C039 for ; Thu, 16 Jun 2011 19:27:31 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0042C1B401C for ; Thu, 16 Jun 2011 19:27:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 044688003C for ; Thu, 16 Jun 2011 19:27:30 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <9a3b6af0aeaf475b21f4fe318a5c8a2ac2e27ff3.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/package/ebuild/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/package/ebuild/prepare_build_dirs.py X-VCS-Directories: pym/portage/package/ebuild/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 9a3b6af0aeaf475b21f4fe318a5c8a2ac2e27ff3 Date: Thu, 16 Jun 2011 19:27:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: c96fcca56665a5a72999f6213120ab76 commit: 9a3b6af0aeaf475b21f4fe318a5c8a2ac2e27ff3 Author: Zac Medico gentoo org> AuthorDate: Thu Jun 16 19:23:26 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu Jun 16 19:23:26 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D9a3b6af0 prepare_build_dirs: skip FEATURES dirs more We don't need to prepare ccache/distcc FEATURES dirs for pkg_info or pkg_pretend phases. This will fix bug #371909. --- pym/portage/package/ebuild/prepare_build_dirs.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pym/portage/package/ebuild/prepare_build_dirs.py b/pym/porta= ge/package/ebuild/prepare_build_dirs.py index 74cf556..992d2ba 100644 --- a/pym/portage/package/ebuild/prepare_build_dirs.py +++ b/pym/portage/package/ebuild/prepare_build_dirs.py @@ -105,7 +105,7 @@ def prepare_build_dirs(myroot=3DNone, settings=3DNone= , cleanup=3DFalse): pass =20 _prepare_workdir(mysettings) - if mysettings.get('EBUILD_PHASE') !=3D 'fetch': + if mysettings.get("EBUILD_PHASE") not in ("info", "fetch", "pretend"): # Avoid spurious permissions adjustments when fetching with # a temporary PORTAGE_TMPDIR setting (for fetchonly). _prepare_features_dirs(mysettings)