From e7e9fe1b7ec36abc50506e5ca1153c9245b24651 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sun, 20 Jul 2025 13:10:35 -0400 Subject: [PATCH] common/xbps-src/shutils/common: give better error if masterdir isn't init'd so many people ask how to fix this error, especially now that `-a` implies the matching libc's `-A`, so let's make it more clear --- common/xbps-src/shutils/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/xbps-src/shutils/common.sh b/common/xbps-src/shutils/common.sh index e0a67bc8a5e..a64f091b6e6 100644 --- a/common/xbps-src/shutils/common.sh +++ b/common/xbps-src/shutils/common.sh @@ -502,7 +502,7 @@ setup_pkg() { # Check if base-chroot is already installed. if [ -z "$bootstrap" -a -z "$CHROOT_READY" -a "z$show_problems" != "zignore-problems" ]; then msg_red "${pkg} is not a bootstrap package and cannot be built without it.\n" - msg_error "Please install bootstrap packages and try again.\n" + msg_error "Please run '${PROGNAME} -A ${XBPS_MACHINE} binary-bootstrap' or install bootstrap packages, then try again.\n" fi sourcepkg="${pkgname}"