From a10ce78ead5516ed1348bbcdae58160fff70b898 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Wed, 29 Jan 2025 15:29:18 -0700 Subject: [PATCH] tests/local.mk: fix dependencies for generating the wrapper template Generating the tests wrapper template currently depends on the dependencies needed for the frozen lib/m4sugar/m4sh.m4f. However, it also requires that frozen sugar to actually be generated, or the build will fail if it is not (or at least if it is in the process of being generated). Change the dependency to actually depend on the generated file, rather than on its dependencies. This kind of failure has been noticed on highly parallel builds on very loaded machines. Copyright-paperwork-exempt: yes --- tests/local.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/local.mk b/tests/local.mk index 5c45d9ee..6a2c06a8 100644 --- a/tests/local.mk +++ b/tests/local.mk @@ -63,7 +63,7 @@ CLEANFILES += \ tests/wrapper.in \ $(wrappers) -tests/wrapper.in: $(srcdir)/tests/wrapper.as $(m4sh_m4f_dependencies) +tests/wrapper.in: $(srcdir)/tests/wrapper.as lib/m4sugar/m4sh.m4f $(MY_AUTOM4TE) --language=M4sh $(srcdir)/tests/wrapper.as -o $@ edit_wrapper = sed \