diff options
author | 2011-02-28 19:54:52 +0000 | |
---|---|---|
committer | 2011-02-28 20:13:47 +0000 | |
commit | 108e65608bb7e5bb27339f3d4c7faf0afe45ebfe (patch) | |
tree | ea45d8e9a8f22f3caa19c362d243308aa082299f | |
parent | dfee795ea8980d78aa1b13d18f0bd39aff29bbce (diff) | |
download | paludis-108e65608bb7e5bb27339f3d4c7faf0afe45ebfe.tar.gz paludis-108e65608bb7e5bb27339f3d4c7faf0afe45ebfe.tar.xz |
Even more contexts
-rw-r--r-- | paludis/resolver/decider.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/paludis/resolver/decider.cc b/paludis/resolver/decider.cc index e47d74caa..1c8554d63 100644 --- a/paludis/resolver/decider.cc +++ b/paludis/resolver/decider.cc @@ -1345,6 +1345,8 @@ Decider::find_any_score( /* best: blocker that doesn't match anything */ if (is_block) { + Context sub_context("When working out whether it's acs_vacuous_blocker:"); + const std::shared_ptr<const PackageIDSequence> ids((*_imp->env)[selection::BestVersionOnly( generator::Matches(spec, our_id, { mpo_ignore_additional_requirements }) | filter::SupportsAction<InstallAction>() | filter::NotMasked() @@ -1355,6 +1357,8 @@ Decider::find_any_score( /* next: already installed */ { + Context sub_context("When working out whether it's acs_already_installed:"); + const std::shared_ptr<const PackageIDSequence> installed_ids((*_imp->env)[selection::BestVersionOnly( generator::Matches(spec, our_id, { }) | filter::InstalledAtRoot(_imp->env->system_root_key()->value()))]); @@ -1365,6 +1369,8 @@ Decider::find_any_score( /* next: already installed, except with the wrong options */ if (! is_block && spec.additional_requirements_ptr()) { + Context sub_context("When working out whether it's acs_wrong_options_installed:"); + const std::shared_ptr<const PackageIDSequence> installed_ids((*_imp->env)[selection::BestVersionOnly( generator::Matches(spec, our_id, { mpo_ignore_additional_requirements }) | filter::InstalledAtRoot(_imp->env->system_root_key()->value()))]); @@ -1419,6 +1425,8 @@ Decider::find_any_score( /* next: blocks installed package */ if (is_block) { + Context sub_context("When working out whether it's acs_blocks_installed:"); + const std::shared_ptr<const PackageIDSequence> installed_ids((*_imp->env)[selection::BestVersionOnly( generator::Matches(spec, our_id, { }) | filter::InstalledAtRoot(_imp->env->system_root_key()->value()))]); @@ -1429,6 +1437,8 @@ Decider::find_any_score( /* next: exists */ if (! is_block) { + Context sub_context("When working out whether it's acs_exists:"); + const std::shared_ptr<const PackageIDSequence> ids((*_imp->env)[selection::BestVersionOnly( generator::Matches(spec, our_id, { mpo_ignore_additional_requirements }) )]); |