From 3419b77efca19b206f21d6fe23006b4227933641 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 16 Nov 2023 16:32:31 +0300 Subject: Fix pkg-build by denying dropping package if it has dependents --- bpkg/pkg-build.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bpkg/pkg-build.cxx') 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 -- cgit v1.1