{"thread":{"id":"31571","subject":"Parallel make failed in perl/perl.mak","startedAt":"2012-09-17T18:13:35Z","lastAt":"2012-09-17T19:46:40Z","messageCount":2,"participants":["Alex Riesen","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"199267","messageId":"CALxABCbzr653R4aCc_YOXNZYo8Zeu8WiU72OmyyMyz5WR+p6gw@mail.gmail.com","threadId":"31571","inReplyTo":null,"subject":"Parallel make failed in perl/perl.mak","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2012-09-17T18:13:35Z","receivedAt":"2012-09-17T18:13:35Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"mv: cannot stat `perl.mak': No such file or directory\nmv: cannot move `perl.mak' to `perl.mak.old': No such file or directory\nWriting perl.mak for Git\nWriting MYMETA.yml\nWriting perl.mak for Git\nWriting MYMETA.yml\nWriting perl.mak for Git\nWriting MYMETA.yml\nmake[2]: *** [perl.mak] Error 1\nmake[1]: *** [instlibdir] Error 2\nmake: *** [git-difftool] Error 2\nmake: *** Waiting for unfinished jobs....\nmake[2]: *** [perl.mak] Error 1\nmake[1]: *** [instlibdir] Error 2\nmake: *** [git-archimport] Error 2\nmake[2]: *** [perl.mak] Error 1\nmake[1]: *** [instlibdir] Error 2\nmake: *** [git-add--interactive] Error 2\n\nI wasn't able to reproduce it, so this message is the only thing I have.\nIt was the first compilation after I merged the current master\n(v1.7.12-464-g83379df).\nYes, I tried to jump back and forth in time, removing and touching perl.mak,\ngenerating it with previous releases and build with the current. No luck.\n\nProbably the old perl.mak is the problem, and the only thing I can think\nfor reasons why it wasn't regenerated is this:\n\ndiff --git a/perl/Makefile b/perl/Makefile\nindex 15d96fc..766d02a 100644\n--- a/perl/Makefile\n+++ b/perl/Makefile\n@@ -79,7 +79,7 @@ $(makfile): ../GIT-CFLAGS Makefile\n \techo instlibdir: >> $@\n \techo '\techo $(instdir_SQ)' >> $@\n else\n-$(makfile): Makefile.PL ../GIT-CFLAGS\n+$(makfile): Makefile.PL ../GIT-CFLAGS Makefile\n \t$(PERL_PATH) $< PREFIX='$(prefix_SQ)' INSTALL_BASE=''\n--localedir='$(localedir_SQ)'\n endif\n\nCould someone please take a look at it?\n"},{"id":"199271","messageId":"20120917194640.GA24888@sigill.intra.peff.net","threadId":"31571","inReplyTo":"CALxABCbzr653R4aCc_YOXNZYo8Zeu8WiU72OmyyMyz5WR+p6gw@mail.gmail.com","subject":"Re: Parallel make failed in perl/perl.mak","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2012-09-17T19:46:40Z","receivedAt":"2012-09-17T19:46:40Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Mon, Sep 17, 2012 at 08:13:35PM +0200, Alex Riesen wrote:\n\n> mv: cannot stat `perl.mak': No such file or directory\n> mv: cannot move `perl.mak' to `perl.mak.old': No such file or directory\n> [...]\n> I wasn't able to reproduce it, so this message is the only thing I have.\n> It was the first compilation after I merged the current master\n> (v1.7.12-464-g83379df).\n\nThis is probably the same bug that we've been hunting for years:\n\n  April 2009:\n  http://article.gmane.org/gmane.comp.version-control.git/117710\n\n  October 2010:\n  http://article.gmane.org/gmane.comp.version-control.git/158251\n\n  March 2011:\n  http://article.gmane.org/gmane.comp.version-control.git/170153\n\nI proposed a patch in the middle one, but of course we have no idea if\nit works or not, since the problem is so hard to reproduce.\n\n> Probably the old perl.mak is the problem, and the only thing I can think\n> for reasons why it wasn't regenerated is this:\n> \n> diff --git a/perl/Makefile b/perl/Makefile\n> index 15d96fc..766d02a 100644\n> --- a/perl/Makefile\n> +++ b/perl/Makefile\n> @@ -79,7 +79,7 @@ $(makfile): ../GIT-CFLAGS Makefile\n>  \techo instlibdir: >> $@\n>  \techo '\techo $(instdir_SQ)' >> $@\n>  else\n> -$(makfile): Makefile.PL ../GIT-CFLAGS\n> +$(makfile): Makefile.PL ../GIT-CFLAGS Makefile\n>  \t$(PERL_PATH) $< PREFIX='$(prefix_SQ)' INSTALL_BASE=''\n> --localedir='$(localedir_SQ)'\n>  endif\n> \n> Could someone please take a look at it?\n\nThat only takes effect if NO_PERL_MAKEMAKER is set, and I think we see\nthe bug even when it is not set. Also, I'm not clear on what part of\nMakefile that command would depend on (the GIT-CFLAGS dependency should\ncover the directory parameters).\n\n-Peff\n"}]}