At least version 6.2RC1 is missing some safety measures, both in make(1) code and makemaps.c helper application.
1) Race condition in top-level Makefile: msghelp.dat target calls $(TARGET), but does not depend on it. Fix is simple:
+msghelp.dat: msghelp.src $(TARGET)
2) Maps generation cannot be done in parallel, since makemaps.c program always output results to the same files, "readmaps.dat" and "writmaps.dat". To quickly fix this problem, I've written a simple patch that picks up suffix from the environment (attached). maps/makefile.husky was modified accordingly (also cleaner now).
Log in to post a comment.