public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Magnus Granberg" <zorry@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/zorry:master commit in: gobs/pym/
Date: Wed, 27 Jun 2012 14:39:01 +0000 (UTC)	[thread overview]
Message-ID: <1340807928.541e65103ae30fbf83a7d49ff6a05205a069e9e2.zorry@gentoo> (raw)

commit:     541e65103ae30fbf83a7d49ff6a05205a069e9e2
Author:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 27 14:38:48 2012 +0000
Commit:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Wed Jun 27 14:38:48 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/zorry.git;a=commit;h=541e6510

fix for depgraph

---
 gobs/pym/build_queru.py |   98 +++++++++++++++++++++++-----------------------
 1 files changed, 49 insertions(+), 49 deletions(-)

diff --git a/gobs/pym/build_queru.py b/gobs/pym/build_queru.py
index 068c879..3d2ef11 100644
--- a/gobs/pym/build_queru.py
+++ b/gobs/pym/build_queru.py
@@ -150,57 +150,57 @@ class queruaction(object):
 			root_config = trees[settings["ROOT"]]["root_config"]
 			display_missing_pkg_set(root_config, e.value)
 			build_dict['type_fail'] = "depgraph fail"
-			if not success:
-				if mydepgraph._dynamic_config._needed_p_mask_changes:
-					build_dict['type_fail'] = "Mask packages"
-					build_dict['check_fail'] = True
-					mydepgraph.display_problems()
-					self.log_fail_queru(build_dict, settings)
-					return 1, settings, trees, mtimedb
-				if mydepgraph._dynamic_config._needed_use_config_changes:
-					repeat = True
-					repeat_times = 0
-					while repeat:
-						mydepgraph._display_autounmask()
-						settings, trees, mtimedb = load_emerge_config()
-						myparams = create_depgraph_params(myopts, myaction)
-						try:
-							success, mydepgraph, favorites = backtrack_depgraph(
-							settings, trees, myopts, myparams, myaction, myfiles, spinner)
-						except portage.exception.PackageSetNotFound as e:
-							root_config = trees[settings["ROOT"]]["root_config"]
-							display_missing_pkg_set(root_config, e.value)
-						if not success and mydepgraph._dynamic_config._needed_use_config_changes:
-							print("repaet_times:", repeat_times)
-							if repeat_times is 2:
-								build_dict['type_fail'] = "Need use change"
-								build_dict['check_fail'] = True
-								mydepgraph.display_problems()
-								repeat = False
-								repeat = False
-							else:
-								repeat_times = repeat_times + 1
-						else:
+		if not success:
+			if mydepgraph._dynamic_config._needed_p_mask_changes:
+				build_dict['type_fail'] = "Mask packages"
+				build_dict['check_fail'] = True
+				mydepgraph.display_problems()
+				self.log_fail_queru(build_dict, settings)
+				return 1, settings, trees, mtimedb
+			if mydepgraph._dynamic_config._needed_use_config_changes:
+				repeat = True
+				repeat_times = 0
+				while repeat:
+					mydepgraph._display_autounmask()
+					settings, trees, mtimedb = load_emerge_config()
+					myparams = create_depgraph_params(myopts, myaction)
+					try:
+						success, mydepgraph, favorites = backtrack_depgraph(
+						settings, trees, myopts, myparams, myaction, myfiles, spinner)
+					except portage.exception.PackageSetNotFound as e:
+						root_config = trees[settings["ROOT"]]["root_config"]
+						display_missing_pkg_set(root_config, e.value)
+					if not success and mydepgraph._dynamic_config._needed_use_config_changes:
+						print("repaet_times:", repeat_times)
+						if repeat_times is 2:
+							build_dict['type_fail'] = "Need use change"
+							build_dict['check_fail'] = True
+							mydepgraph.display_problems()
 							repeat = False
+							repeat = False
+						else:
+							repeat_times = repeat_times + 1
+					else:
+						repeat = False
+
+			if mydepgraph._dynamic_config._unsolvable_blockers:
+				mydepgraph.display_problems()
+				build_dict['type_fail'] = "Blocking packages"
+				build_dict['check_fail'] = True
+				self.log_fail_queru(build_dict, settings)
+				return 1, settings, trees, mtimedb
 
-				if mydepgraph._dynamic_config._unsolvable_blockers:
-					mydepgraph.display_problems()
-					build_dict['type_fail'] = "Blocking packages"
-					build_dict['check_fail'] = True
-					self.log_fail_queru(build_dict, settings)
-					return 1, settings, trees, mtimedb
-
-				if mydepgraph._dynamic_config._slot_collision_info:
-					mydepgraph.display_problems()
-					build_dict['type_fail'] = "Slot blocking"
-					build_dict['check_fail'] = True
-					self.log_fail_queru(build_dict, settings)
-					return 1, settings, trees, mtimedb
-
-				if not success:
-					build_dict['type_fail'] = "Dep calc fail"
-					build_dict['check_fail'] = True
-					mydepgraph.display_problems()
+			if mydepgraph._dynamic_config._slot_collision_info:
+				mydepgraph.display_problems()
+				build_dict['type_fail'] = "Slot blocking"
+				build_dict['check_fail'] = True
+				self.log_fail_queru(build_dict, settings)
+				return 1, settings, trees, mtimedb
+
+			if not success:
+				build_dict['type_fail'] = "Dep calc fail"
+				build_dict['check_fail'] = True
+				mydepgraph.display_problems()
 
 		if build_dict['check_fail'] is True:
 				self.log_fail_queru(build_dict, settings)



             reply	other threads:[~2012-06-27 14:39 UTC|newest]

Thread overview: 174+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-27 14:39 Magnus Granberg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-04-25  0:34 [gentoo-commits] dev/zorry:master commit in: gobs/pym/ Magnus Granberg
2013-04-24  0:37 Magnus Granberg
2013-04-24  0:11 Magnus Granberg
2013-03-22 19:05 Magnus Granberg
2013-01-27 12:03 Magnus Granberg
2013-01-26 22:23 Magnus Granberg
2013-01-22 21:06 Magnus Granberg
2013-01-22 20:59 Magnus Granberg
2013-01-22 20:56 Magnus Granberg
2012-12-29 12:12 Magnus Granberg
2012-12-27 23:52 Magnus Granberg
2012-12-27 23:09 Magnus Granberg
2012-12-22 11:45 Magnus Granberg
2012-12-21 23:50 Magnus Granberg
2012-12-21 23:31 Magnus Granberg
2012-12-21 23:23 Magnus Granberg
2012-12-21 20:41 Magnus Granberg
2012-12-21 20:31 Magnus Granberg
2012-12-21 17:33 Magnus Granberg
2012-12-21  2:24 Magnus Granberg
2012-12-21  2:11 Magnus Granberg
2012-12-21  1:50 Magnus Granberg
2012-12-21  1:49 Magnus Granberg
2012-12-21  1:44 Magnus Granberg
2012-12-19  2:17 Magnus Granberg
2012-12-17  1:18 Magnus Granberg
2012-12-17  0:33 Magnus Granberg
2012-12-16 20:50 Magnus Granberg
2012-12-16 20:45 Magnus Granberg
2012-12-15 16:14 Magnus Granberg
2012-12-15  0:31 Magnus Granberg
2012-12-14 14:17 Magnus Granberg
2012-12-13 22:57 Magnus Granberg
2012-12-13 15:18 Magnus Granberg
2012-12-13 15:15 Magnus Granberg
2012-12-13 15:09 Magnus Granberg
2012-12-12  0:29 Magnus Granberg
2012-12-12  0:14 Magnus Granberg
2012-12-12  0:11 Magnus Granberg
2012-12-12  0:09 Magnus Granberg
2012-12-12  0:04 Magnus Granberg
2012-12-12  0:00 Magnus Granberg
2012-12-11 23:52 Magnus Granberg
2012-12-11 23:48 Magnus Granberg
2012-12-11 23:38 Magnus Granberg
2012-12-07 14:58 Magnus Granberg
2012-12-07 14:33 Magnus Granberg
2012-12-07 14:29 Magnus Granberg
2012-12-07 14:22 Magnus Granberg
2012-12-07  0:07 Magnus Granberg
2012-12-07  0:02 Magnus Granberg
2012-12-06 23:56 Magnus Granberg
2012-12-06 23:52 Magnus Granberg
2012-12-06  2:51 Magnus Granberg
2012-12-06  2:41 Magnus Granberg
2012-12-06  2:34 Magnus Granberg
2012-12-06  2:22 Magnus Granberg
2012-12-06  2:18 Magnus Granberg
2012-12-06  0:11 Magnus Granberg
2012-12-06  0:08 Magnus Granberg
2012-12-06  0:04 Magnus Granberg
2012-12-02 11:53 Magnus Granberg
2012-12-02 11:49 Magnus Granberg
2012-12-02  0:06 Magnus Granberg
2012-12-02  0:05 Magnus Granberg
2012-12-01 23:58 Magnus Granberg
2012-12-01 23:35 Magnus Granberg
2012-12-01 23:33 Magnus Granberg
2012-12-01 23:28 Magnus Granberg
2012-12-01 23:24 Magnus Granberg
2012-12-01 23:12 Magnus Granberg
2012-12-01 23:03 Magnus Granberg
2012-12-01 22:58 Magnus Granberg
2012-12-01 11:31 Magnus Granberg
2012-12-01 11:26 Magnus Granberg
2012-07-18  0:10 Magnus Granberg
2012-07-17 15:02 Magnus Granberg
2012-07-17 13:00 Magnus Granberg
2012-07-17  1:07 Magnus Granberg
2012-07-17  0:38 Magnus Granberg
2012-07-17  0:18 Magnus Granberg
2012-06-27 15:26 Magnus Granberg
2012-06-27 15:15 Magnus Granberg
2012-06-27 14:57 Magnus Granberg
2012-06-27 14:43 Magnus Granberg
2012-06-27 14:24 Magnus Granberg
2012-06-27 14:19 Magnus Granberg
2012-06-27 14:14 Magnus Granberg
2012-06-27 14:11 Magnus Granberg
2012-06-27 14:07 Magnus Granberg
2012-06-04 23:45 Magnus Granberg
2012-06-03 22:18 Magnus Granberg
2012-05-25  0:15 Magnus Granberg
2012-05-20 14:33 Magnus Granberg
2012-05-20 14:29 Magnus Granberg
2012-05-09 23:12 Magnus Granberg
2012-05-07 23:44 Magnus Granberg
2012-05-07 23:39 Magnus Granberg
2012-05-07 23:35 Magnus Granberg
2012-05-07 23:31 Magnus Granberg
2012-05-07 23:25 Magnus Granberg
2012-05-06 10:47 Magnus Granberg
2012-05-02 14:33 Magnus Granberg
2012-05-01 10:00 Magnus Granberg
2012-05-01  0:15 Magnus Granberg
2012-05-01  0:02 Magnus Granberg
2012-04-30 16:45 Magnus Granberg
2012-04-30 14:33 Magnus Granberg
2012-04-30 14:17 Magnus Granberg
2012-04-30 14:15 Magnus Granberg
2012-04-30 13:13 Magnus Granberg
2012-04-30 13:12 Magnus Granberg
2012-04-29 15:56 Magnus Granberg
2012-04-29 13:24 Magnus Granberg
2012-04-29 13:17 Magnus Granberg
2012-04-28 19:29 Magnus Granberg
2012-04-28 17:24 Magnus Granberg
2012-04-28 17:03 Magnus Granberg
2012-04-28 16:09 Magnus Granberg
2012-04-28 16:07 Magnus Granberg
2012-04-28 16:05 Magnus Granberg
2012-04-28 14:29 Magnus Granberg
2012-04-28 14:20 Magnus Granberg
2012-04-28 14:01 Magnus Granberg
2012-04-28 12:37 Magnus Granberg
2012-04-28  1:53 Magnus Granberg
2012-04-28  1:25 Magnus Granberg
2012-04-28  0:51 Magnus Granberg
2012-04-27 21:03 Magnus Granberg
2012-04-27 20:42 Magnus Granberg
2012-04-27 20:33 Magnus Granberg
2012-04-27 18:27 Magnus Granberg
2012-04-27 18:23 Magnus Granberg
2011-10-31 21:32 Magnus Granberg
2011-10-29 22:48 Magnus Granberg
2011-10-29 22:38 Magnus Granberg
2011-10-29 22:28 Magnus Granberg
2011-10-29 22:24 Magnus Granberg
2011-10-29  0:21 Magnus Granberg
2011-10-29  0:19 Magnus Granberg
2011-10-19 21:31 Magnus Granberg
2011-10-19 21:28 Magnus Granberg
2011-10-19 20:20 Magnus Granberg
2011-10-13 10:41 Magnus Granberg
2011-10-12 10:33 Magnus Granberg
2011-10-12 10:26 Magnus Granberg
2011-10-11 23:51 Magnus Granberg
2011-10-11 23:32 Magnus Granberg
2011-10-11 11:20 Magnus Granberg
2011-10-10 23:57 Magnus Granberg
2011-10-10 23:49 Magnus Granberg
2011-10-10 23:46 Magnus Granberg
2011-10-10 23:43 Magnus Granberg
2011-10-10 23:30 Magnus Granberg
2011-10-09 21:49 Magnus Granberg
2011-09-30 13:38 Magnus Granberg
2011-09-30 13:33 Magnus Granberg
2011-09-30 13:17 Magnus Granberg
2011-09-28  1:41 Magnus Granberg
2011-09-28  1:39 Magnus Granberg
2011-09-28  1:04 Magnus Granberg
2011-09-27 23:43 Magnus Granberg
2011-09-27 11:05 Magnus Granberg
2011-09-13 23:06 Magnus Granberg
2011-09-13  1:02 Magnus Granberg
2011-09-01 23:34 Magnus Granberg
2011-08-31 23:31 Magnus Granberg
2011-08-31  2:05 Magnus Granberg
2011-08-30 23:41 Magnus Granberg
2011-07-29 15:31 Magnus Granberg
2011-04-24 22:21 Magnus Granberg
2011-04-23 15:26 Magnus Granberg
2011-04-23 14:28 Magnus Granberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1340807928.541e65103ae30fbf83a7d49ff6a05205a069e9e2.zorry@gentoo \
    --to=zorry@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox