Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 294945
Collapse All | Expand All

(-)pym/_emerge/depgraph.py (-4 / +10 lines)
Lines 3775-3790 Link Here
3775
					# it serves as an indicator that blocking packages
3775
					# it serves as an indicator that blocking packages
3776
					# will be temporarily installed simultaneously.
3776
					# will be temporarily installed simultaneously.
3777
					for blocker in solved_blockers:
3777
					for blocker in solved_blockers:
3778
						blocker.satisfied = True
3779
						retlist.append(blocker)
3778
						retlist.append(blocker)
3780
3779
3781
		unsolvable_blockers = set(self._dynamic_config._unsolvable_blockers.leaf_nodes())
3780
		unsolvable_blockers = set(self._dynamic_config._unsolvable_blockers.leaf_nodes())
3782
		for node in myblocker_uninstalls.root_nodes():
3781
		for node in myblocker_uninstalls.root_nodes():
3783
			unsolvable_blockers.add(node)
3782
			unsolvable_blockers.add(node)
3784
3783
3785
		for blocker in unsolvable_blockers:
3786
			retlist.append(blocker)
3787
3788
		# If any Uninstall tasks need to be executed in order
3784
		# If any Uninstall tasks need to be executed in order
3789
		# to avoid a conflict, complete the graph with any
3785
		# to avoid a conflict, complete the graph with any
3790
		# dependencies that may have been initially
3786
		# dependencies that may have been initially
Lines 3796-3801 Link Here
3796
			self._dynamic_config.myparams["complete"] = True
3792
			self._dynamic_config.myparams["complete"] = True
3797
			raise self._serialize_tasks_retry("")
3793
			raise self._serialize_tasks_retry("")
3798
3794
3795
		# Set satisfied state on blockers, but not before the
3796
		# above retry path, since we don't want to modify the
3797
		# state in that case.
3798
		for node in retlist:
3799
			if isinstance(node, Blocker):
3800
				node.satisfied = True
3801
3802
		for blocker in unsolvable_blockers:
3803
			retlist.append(blocker)
3804
3799
		if unsolvable_blockers and \
3805
		if unsolvable_blockers and \
3800
			not self._accept_blocker_conflicts():
3806
			not self._accept_blocker_conflicts():
3801
			self._dynamic_config._unsatisfied_blockers_for_display = unsolvable_blockers
3807
			self._dynamic_config._unsatisfied_blockers_for_display = unsolvable_blockers

Return to bug 294945