git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [spurious parallel build bug] make -j fails with: "mv: mv: cannot stat `perl.mak': No such file or directory"

From
Jeff King <peff@peff.net>
Date
Apr 27, 2009, 20:19 UTC
Message-ID
<20090427201920.GD4067@coredump.intra.peff.net>
In-Reply-To
<20090427183451.GA23862@elte.hu>
On Mon, Apr 27, 2009 at 08:34:51PM +0200, Ingo Molnar wrote:
Show 6 quoted lines
> > I've seen this a few times on the master machine at k.org but 
> > haven't seen it elsewhere, perhaps because I do not have an access 
> > to 8-way parallelism anywhere else.
> 
> btw, this happened on a plain dual-core box. But i couldnt reproduce 
> after that.

I've seen it occasionally on a dual-core, as well, but was never able to track it down. I suspect it is caused by the fact that there are two rules which recurse into the perl subdir: perl/perl.mak, if needed, will recurse, as will "all". So I think we are losing the usual parallelism guard there, and we have two makes running inside "perl" at the same time, both of which then try to make perl.mak and step on each other.

But I still can't reproduce it at will, so it is hard to test.
-Peff
Previous: Ingo Molnar
Message 4 of 4 in “[spurious parallel build bug] make -j fails with: "mv: mv: cannot stat `perl.mak': No such file or directory"”
  1. Ingo MolnarApr 27, 2009
  2. Junio C HamanoApr 27, 2009
  3. Ingo MolnarApr 27, 2009
  4. Jeff KingApr 27, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.