https://bugs.documentfoundation.org/show_bug.cgi?id=168848

--- Comment #7 from Andras Timar <[email protected]> ---
(In reply to Christian Lohmaier from comment #5)
> So remove the executable bit to make sure the scripts are run with the
> python specified for the build, either internal or the system one.

Thanks for your excellent tip.

However, I also needed this:

diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index a2daad6018d6..8d3077e69a4c 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -4176,7 +4176,7 @@ $(call
gb_ExternalExecutable_add_dependencies,python,$(call gb_GeneratedPackage_

 else

-$(call
gb_ExternalExecutable_set_internal,python,$(INSTROOT_FOR_BUILD)/$(LIBO_BIN_FOLDER)/$(if
$(filter WNT,$(OS)),python-core-$(PYTHON_VERSION)/bin/python.exe,python.bin))
+$(call
gb_ExternalExecutable_set_internal,python,$(INSTROOT_FOR_BUILD)/$(LIBO_BIN_FOLDER)/$(if
$(filter WNT,$(OS)),python-core-$(PYTHON_VERSION)/bin/python.exe,python))
 $(call gb_ExternalExecutable_set_precommand,python,$(subst
$$,$$$$,$(gb_Python_PRECOMMAND)))
 $(call gb_ExternalExecutable_add_dependencies,python,$(call
gb_Package_get_target_for_build,python3))

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to