Ralf Wildenhues wrote: > * Jim Meyering wrote on Fri, Apr 10, 2009 at 02:07:53PM CEST: >> On a quad-core system, building "make -j7 distcheck" >> fails consistently like this: (note the parallel builds of rmdir.o) >> >> CC nohup.o >> CC readlink.o >> CC rm.o >> CC rmdir.o >> make[3]: Entering directory `/c/coreutils/src' > > This looks fishy. It shouldn't ever enter src twice. > I bet that's a missing entry in AM_RECURSIVE_TARGETS (or > ALL_RECURSIVE_TARGETS). Proposed patch below. > >> CC readlink.o >> CC stat.o >> AR libver.a >> CC sync.o >> CC shred.o >> CC rmdir.o >> CC touch.o >> CC unlink.o >> mv: cannot stat `.deps/rmdir.Tpo': No such file or directory >> make[3]: *** [rmdir.o] Error 1 >> make[3]: *** Waiting for unfinished jobs.... > > 2009-04-10 Ralf Wildenhues <ralf.wildenh...@gmx.de> > > Fix parallel distcheck failure. > * maint.mk (ALL_RECURSIVE_TARGETS): Add patch-check, > check-AUTHORS, maintainer-distcheck, vc-dist, taint-distcheck, > my-distcheck, alpha, beta, major.
Hi Ralf, Thanks for that patch. I should have mentioned that I'd tried a few ALL_RECURSIVE_TARGETS additions before resorting to the kludge. Unfortunately even with your more complete list (which I expect to commit) I still see the same failure: make[3]: Entering directory `/c/coreutils/src' CC prog-fprintf.o AR libver.a CC ls.o CC mkfifo.o CC prog-fprintf.o CC mknod.o CC mkfifo.o CC mktemp.o CC mknod.o CC mktemp.o info: Writing node (libc.info.gz)Formatting Calendar Time... info: Done. CC mv.o CC remove.o CC nohup.o mv: cannot stat `.deps/mktemp.Tpo': No such file or directory make[3]: *** [mktemp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/c/coreutils/src' make[2]: *** [sc_tight_scope] Error 2 make[2]: *** Waiting for unfinished jobs.... CC readlink.o CC rm.o ... CCLD su make[3]: Leaving directory `/c/coreutils/src' make[2]: Leaving directory `/c/coreutils' make[1]: *** [distcheck-hook] Error 2 make[1]: Leaving directory `/c/coreutils' make: *** [distcheck] Error 2 [Exit 2]