Hi, all!
The build-to-subdirectory change apparently broke parallel builds of fossil
(e.g. make -j2).
step...@ludo:~/cvs/fossil/fossil$ m
(m = alias for 'make -j2')
...
gcc -o ./bld/makeheaders ./src/makeheaders.c
awk '{ printf "#define MANIFEST_UUID \"%s\"\n", $1}' ./src/../manifest.uuid
>./bld/VERSION.h
make: *** No rule to make target `bld/add.h', needed by `bld/add.o'. Stop.
make: *** Waiting for unfinished jobs....
It's caused by makeheaders still running (or still being compiled) when
add.o starts to build.
The solution is to fix one line (#233 in checkout 315048eef6b3) in
src/makemake.tcl:
foreach s [lsort $src] {
writeln "\$(OBJDIR)/${s}_.c:\t\$(SRCDIR)/$s.c \$(OBJDIR)/translate"
writeln "\t\$(OBJDIR)/translate \$(SRCDIR)/$s.c >\$(OBJDIR)/${s}_.c\n"
writeln "\$(OBJDIR)/$s.o:\t\$(OBJDIR)/${s}_.c \$(OBJDIR)/$s.h $extra_h($s)
\$(SRCDIR)/config.h"
writeln "\t\$(XTCC) -o \$(OBJDIR)/$s.o -c \$(OBJDIR)/${s}_.c\n"
----> HERE---> writeln "$s.h:\t\$(OBJDIR)/headers"
}
That line should be:
writeln "\$(OBJDIR)/$s.h:\t\$(OBJDIR)/headers"
Could someone with commit access please make this change?
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users