* [gentoo-commits] portage r12797 - main/trunk/pym/portage
@ 2009-03-09 1:50 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-03-09 1:50 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2009-03-09 01:50:33 +0000 (Mon, 09 Mar 2009)
New Revision: 12797
Modified:
main/trunk/pym/portage/__init__.py
Log:
Bug #261675 - When doebuild() is called by emerge, don't call digestgen()
for FEATURES=digest because it's redundant and it can cause interference
with parallel-fetch and parallel builds.
Modified: main/trunk/pym/portage/__init__.py
===================================================================
--- main/trunk/pym/portage/__init__.py 2009-03-09 01:33:46 UTC (rev 12796)
+++ main/trunk/pym/portage/__init__.py 2009-03-09 01:50:33 UTC (rev 12797)
@@ -5952,6 +5952,7 @@
mycpv = "/".join((mysettings["CATEGORY"], mysettings["PF"]))
emerge_skip_distfiles = returnpid
+ emerge_skip_digest = returnpid
# Only try and fetch the files if we are going to need them ...
# otherwise, if user has FEATURES=noauto and they run `ebuild clean
# unpack compile install`, we will try and fetch 4 times :/
@@ -6008,7 +6009,7 @@
elif mydo == "digest":
return not digestgen(aalist, mysettings, overwrite=1,
myportdb=mydbapi)
- elif "digest" in mysettings.features:
+ elif not emerge_skip_digest and "digest" in mysettings.features:
digestgen(aalist, mysettings, overwrite=0, myportdb=mydbapi)
except portage.exception.PermissionDenied, e:
writemsg("!!! Permission Denied: %s\n" % (e,), noiselevel=-1)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-09 1:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-09 1:50 [gentoo-commits] portage r12797 - main/trunk/pym/portage Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox