Samuel Thibault wrote:
> Actually, I wonder how it works by luck on linux-any

Hi. I also wonder the same. In my setup, it fails to build 100% of the
time when I try on systems with 1 CPU, so this is not really
architecture-specific.

One LLM told me this is "the classic VPATH + ylwrap problem: automake
expects sources in srcdir but the generated files must be written in
builddir" and suggested this:

--- texlive-bin.orig/texk/detex/Makefile.am
+++ texlive-bin/texk/detex/Makefile.am
@@ -28,6 +28,9 @@ detex_SOURCES = \
        @DETEX_TREE@/detex.h \
                @DETEX_TREE@/detex.l
                 
+# Ensure the flex-generated source is treated as a built file
+BUILT_SOURCES = @DETEX_TREE@/detex.c
+
 LDADD = $(KPATHSEA_LIBS)

Is there an automake expert in the house? (who can tell if
the above make sense, I have not had time to test it yet)

Thanks.

Reply via email to