diff options
-rw-r--r-- | bpkg/pkg-build-collect.cxx | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/bpkg/pkg-build-collect.cxx b/bpkg/pkg-build-collect.cxx index 2be737e..d251a77 100644 --- a/bpkg/pkg-build-collect.cxx +++ b/bpkg/pkg-build-collect.cxx @@ -603,11 +603,12 @@ namespace bpkg // { set<package_key> printed; - pkgs.print_constraints (dr, - dk, - indent, - printed, - true /* selected_dependent */); + pkgs.print_constraints ( + dr, + dk, + indent, + printed, + (verb >= 2 ? optional<bool> () : true) /* selected_dependent */); } // If the dependency we failed to up/downgrade is not explicitly @@ -655,16 +656,20 @@ namespace bpkg } indent += " "; - pkgs.print_constraints (dr, - package_key (pvk.db, pvk.name), - indent, - printed, - false /* selected_dependent */); + pkgs.print_constraints ( + dr, + package_key (pvk.db, pvk.name), + indent, + printed, + (verb >= 2 ? optional<bool> () : false) /* selected_dependent */); indent.resize (indent.size () - 2); } } + if (verb < 2) + dr << info << "re-run with -v for additional dependency information"; + dr << info << "consider re-trying with --upgrade|-u potentially combined " << "with --recursive|-r" << info << "or explicitly request up/downgrade of package " << dk.name << |