aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-build.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-11-16 16:32:31 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-11-17 17:10:48 +0300
commit3419b77efca19b206f21d6fe23006b4227933641 (patch)
tree2ff545ded981f1b63253c7eb9d567f09741f61eb /bpkg/pkg-build.cxx
parentbee8c4afc182e20de9b7e7bd907bee72cfa55889 (diff)
Fix pkg-build by denying dropping package if it has dependents
Diffstat (limited to 'bpkg/pkg-build.cxx')
-rw-r--r--bpkg/pkg-build.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/bpkg/pkg-build.cxx b/bpkg/pkg-build.cxx
index c1dd312..51e1fb1 100644
--- a/bpkg/pkg-build.cxx
+++ b/bpkg/pkg-build.cxx
@@ -4858,6 +4858,10 @@ namespace bpkg
++i;
}
+ if (scratch_exe)
+ l5 ([&]{trace << "one of dependency evaluation decisions has "
+ << "changed, re-collecting from scratch";});
+
// If the execute_plan() call was noop, there are no user expectations
// regarding any dependency, and no upgrade is requested, then the
// only possible refinement outcome can be recommendations to drop