solenv/gbuild/AllLangMoTarget.mk | 1 +
1 file changed, 1 insertion(+)
New commits:
commit f12343f4cf698a9e62d4eaf88c7b8f31fa26c2b4
Author: Stephan Bergmann <[email protected]>
AuthorDate: Wed Aug 28 07:48:44 2024 +0200
Commit: Stephan Bergmann <[email protected]>
CommitDate: Thu Oct 3 21:54:21 2024 +0200
Put back the mkdir
...that 1c84943890afea8eaa8fdaeabbd4394680d657f9 "run msguniq .. | msgfmt
in a
subshell to help out wsl1", and which caused all kinds of from-scratch
builds to
fail now with
> [build MO ] accde
> msgfmt: error while opening
"/home/tdf/lode/jenkins/workspace/lo_ubsan/workdir/MoTarget/accde.mo" for
writing: No such file or directory
> make[1]: ***
[/home/tdf/lode/jenkins/workspace/lo_ubsan/solenv/gbuild/AllLangMoTarget.mk:40:
/home/tdf/lode/jenkins/workspace/lo_ubsan/workdir/MoTarget/accde.mo] Error 1
etc. (<https://ci.libreoffice.org/job/lo_ubsan/3288/>
Change-Id: I756ebdf68f09367d24181ed47b6b5735c45aebf9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172484
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <[email protected]>
(cherry picked from commit 07fda011173917aaad75678b86e2b0570e004f93)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174443
Tested-by: Stephan Bergmann <[email protected]>
diff --git a/solenv/gbuild/AllLangMoTarget.mk b/solenv/gbuild/AllLangMoTarget.mk
index f590f4d84ac0..3811ff4ee478 100644
--- a/solenv/gbuild/AllLangMoTarget.mk
+++ b/solenv/gbuild/AllLangMoTarget.mk
@@ -37,6 +37,7 @@ $(call gb_MoTarget_get_clean_target,%) :
$(call gb_MoTarget_get_target,%) : $(gb_Helper_MISCDUMMY)
$(call gb_Output_announce,$*,$(true),MO ,2)
$(call gb_Trace_StartRange,$*,MO )
+ $(call gb_Helper_abbreviate_dirs,mkdir -p $(dir $@)) && \
$(call gb_Helper_wsl_path,$(WSL) /bin/sh -c "$(MSGUNIQ) --force-po
$(gb_POLOCATION)/$(LANGUAGE)/$(POLOCATION)/messages.po | $(MSGFMT) - -o $@")
$(call gb_Trace_EndRange,$*,MO )