From 86e913235c7991fe34f78f1fb72bf62971928ec3 Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Wed, 24 Apr 2024 14:38:11 -0700 Subject: [PATCH] ci: suggest setting PMBOOTSTRAP_CMD when unable to locate pmbootstrap.py (MR 5033) When running locally, sometimes pmbootstrap in PATH is not a symlink and the auto-detection stuff fails. This can be resolved by setting PMBOOTSTRAP_CMD=/path/to/pmbootstrap.py, so the error has been improved to suggest doing this. [ci:skip-build]: already built successfully in CI --- .ci/testcases/add_pmbootstrap_to_import_path/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/testcases/add_pmbootstrap_to_import_path/__init__.py b/.ci/testcases/add_pmbootstrap_to_import_path/__init__.py index 5b3a01d01..6ae686ef7 100755 --- a/.ci/testcases/add_pmbootstrap_to_import_path/__init__.py +++ b/.ci/testcases/add_pmbootstrap_to_import_path/__init__.py @@ -34,7 +34,7 @@ def path_pmbootstrap(): return directory # Symlink not set up properly - print("ERROR: 'pmbootstrap' is not a symlink to pmbootstrap.py") + print("ERROR: unable to find path to pmbootstrap.py. Try setting 'PMBOOTSTRAP_CMD'.") sys.exit(1)