{"thread":{"id":"40496","subject":"[BUG?] parallel make interdepencies","startedAt":"2015-10-06T08:12:35Z","lastAt":"2015-10-06T19:39:15Z","messageCount":5,"participants":["Michael J Gruber","Johannes Schindelin","John Keeping","Philip Oakley"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"271207","messageId":"56138273.6010204@drmicha.warpmail.net","threadId":"40496","inReplyTo":null,"subject":"[BUG?] parallel make interdepencies","fromName":"Michael J Gruber","fromEmail":"git@drmicha.warpmail.net","sentAt":"2015-10-06T08:12:35Z","receivedAt":"2015-10-06T08:12:35Z","isPatch":false,"sender":{"key":"git@grubix.eu","avatar":"https://avatars.githubusercontent.com/u/233215?v=4"},"body":"\"make -j3\" just errored out on me, a follow-up \"make\" succeeded\". This\nlooks like an interdependency issue, but I don't know how to track it:\n\n    GEN git-web--browse\n    GEN git-add--interactive\n    GEN git-difftool\nmv: der Aufruf von stat für „perl.mak“ ist nicht möglich: Datei oder\nVerzeichnis nicht gefunden\n\n(cannot stat \"perl.mak\")\n\nGenerating a Unix-style perl.mak\nWriting perl.mak for Git\n    GEN git-archimport\nWriting MYMETA.yml and MYMETA.json\nGenerating a Unix-style perl.mak\nWriting perl.mak for Git\nmake[2]: *** [perl.mak] Error 1\nmake[1]: *** [instlibdir] Error 2\nMakefile:1769: recipe for target 'git-difftool' failed\nmake: *** [git-difftool] Error 2\nmake: *** Warte auf noch nicht beendete Prozesse...\nWriting MYMETA.yml and MYMETA.json\nmake[2]: *** [perl.mak] Error 1\nmake[1]: *** [instlibdir] Error 2\nMakefile:1769: recipe for target 'git-add--interactive' failed\nmake: *** [git-add--interactive] Error 2\nGenerating a Unix-style perl.mak\nWriting perl.mak for Git\nWriting MYMETA.yml and MYMETA.json\n\n(This is on next)\n"},{"id":"271216","messageId":"e76ba2a01053392526a499ec9bff0d37@dscho.org","threadId":"40496","inReplyTo":"56138273.6010204@drmicha.warpmail.net","subject":"Re: [BUG?] parallel make interdepencies","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2015-10-06T13:13:05Z","receivedAt":"2015-10-06T13:13:05Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi Michael,\n\nOn 2015-10-06 10:12, Michael J Gruber wrote:\n> \"make -j3\" just errored out on me, a follow-up \"make\" succeeded\". This\n> looks like an interdependency issue, but I don't know how to track it:\n> \n>     GEN git-web--browse\n>     GEN git-add--interactive\n>     GEN git-difftool\n> mv: der Aufruf von stat für „perl.mak“ ist nicht möglich: Datei oder\n> Verzeichnis nicht gefunden\n> \n> (cannot stat \"perl.mak\")\n\nThis one sounds awfully familiar. Although I only encountered this if I specified `make -j15 clean all`, i.e. *both* \"clean\" and \"all\"...\n\nCiao,\nDscho\n"},{"id":"271223","messageId":"20151006133341.GS17201@serenity.lan","threadId":"40496","inReplyTo":"e76ba2a01053392526a499ec9bff0d37@dscho.org","subject":"Re: [BUG?] parallel make interdepencies","fromName":"John Keeping","fromEmail":"john@keeping.me.uk","sentAt":"2015-10-06T13:33:41Z","receivedAt":"2015-10-06T13:33:41Z","isPatch":false,"sender":{"key":"john@keeping.me.uk","avatar":"https://avatars.githubusercontent.com/u/1702081?v=4"},"body":"On Tue, Oct 06, 2015 at 03:13:05PM +0200, Johannes Schindelin wrote:\n> Hi Michael,\n> \n> On 2015-10-06 10:12, Michael J Gruber wrote:\n> > \"make -j3\" just errored out on me, a follow-up \"make\" succeeded\". This\n> > looks like an interdependency issue, but I don't know how to track it:\n> > \n> >     GEN git-web--browse\n> >     GEN git-add--interactive\n> >     GEN git-difftool\n> > mv: der Aufruf von stat für „perl.mak“ ist nicht möglich: Datei oder\n> > Verzeichnis nicht gefunden\n> > \n> > (cannot stat \"perl.mak\")\n> \n> This one sounds awfully familiar. Although I only encountered this if\n> I specified `make -j15 clean all`, i.e. *both* \"clean\" and \"all\"...\n\nI've seen something like this after upgrading perl (I can't remember the\nexact error, so it may not be the same problem but I'm pretty sure it\ninvolves perl.mak).  The problem was a result of the perl library path\nchanging, but I never got around to creating a patch.\n\nI thought I remembered someone else posting a patch to address this, but\nI can't find it so perhaps I'm remembering commit 07981dc (Makefile:\nrebuild perl scripts when perl paths change, 2013-11-18).\n"},{"id":"271231","messageId":"5613D98C.1020103@drmicha.warpmail.net","threadId":"40496","inReplyTo":"20151006133341.GS17201@serenity.lan","subject":"Re: [BUG?] parallel make interdepencies","fromName":"Michael J Gruber","fromEmail":"git@drmicha.warpmail.net","sentAt":"2015-10-06T14:24:12Z","receivedAt":"2015-10-06T14:24:12Z","isPatch":false,"sender":{"key":"git@grubix.eu","avatar":"https://avatars.githubusercontent.com/u/233215?v=4"},"body":"John Keeping venit, vidit, dixit 06.10.2015 15:33:\n> On Tue, Oct 06, 2015 at 03:13:05PM +0200, Johannes Schindelin wrote:\n>> Hi Michael,\n>>\n>> On 2015-10-06 10:12, Michael J Gruber wrote:\n>>> \"make -j3\" just errored out on me, a follow-up \"make\" succeeded\". This\n>>> looks like an interdependency issue, but I don't know how to track it:\n>>>\n>>>     GEN git-web--browse\n>>>     GEN git-add--interactive\n>>>     GEN git-difftool\n>>> mv: der Aufruf von stat für „perl.mak“ ist nicht möglich: Datei oder\n>>> Verzeichnis nicht gefunden\n>>>\n>>> (cannot stat \"perl.mak\")\n>>\n>> This one sounds awfully familiar. Although I only encountered this if\n>> I specified `make -j15 clean all`, i.e. *both* \"clean\" and \"all\"...\n> \n> I've seen something like this after upgrading perl (I can't remember the\n> exact error, so it may not be the same problem but I'm pretty sure it\n> involves perl.mak).  The problem was a result of the perl library path\n> changing, but I never got around to creating a patch.\n> \n> I thought I remembered someone else posting a patch to address this, but\n> I can't find it so perhaps I'm remembering commit 07981dc (Makefile:\n> rebuild perl scripts when perl paths change, 2013-11-18).\n> \n\nAt least I'm in good company, then. The statistical evidence is 100%\nclear: It's a John-related issue.\n\nMichael J(ohannes)\n"},{"id":"271243","messageId":"316BD1414B4A4B45BD9214872096A236@PhilipOakley","threadId":"40496","inReplyTo":"20151006133341.GS17201@serenity.lan","subject":"Re: [BUG?] parallel make interdepencies","fromName":"Philip Oakley","fromEmail":"philipoakley@iee.org","sentAt":"2015-10-06T19:39:15Z","receivedAt":"2015-10-06T19:39:15Z","isPatch":false,"sender":{"key":"philipoakley@iee.email","avatar":"https://avatars.githubusercontent.com/u/914343?v=4"},"body":"From: \"John Keeping\" <john@keeping.me.uk>\n> On Tue, Oct 06, 2015 at 03:13:05PM +0200, Johannes Schindelin wrote:\n>> Hi Michael,\n>>\n>> On 2015-10-06 10:12, Michael J Gruber wrote:\n>> > \"make -j3\" just errored out on me, a follow-up \"make\" succeeded\". This\n>> > looks like an interdependency issue, but I don't know how to track it:\n>> >\n>> >     GEN git-web--browse\n>> >     GEN git-add--interactive\n>> >     GEN git-difftool\n>> > mv: der Aufruf von stat für „perl.mak“ ist nicht möglich: Datei oder\n>> > Verzeichnis nicht gefunden\n>> >\n>> > (cannot stat \"perl.mak\")\n>>\n>> This one sounds awfully familiar. Although I only encountered this if\n>> I specified `make -j15 clean all`, i.e. *both* \"clean\" and \"all\"...\n>\n> I've seen something like this after upgrading perl (I can't remember the\n> exact error, so it may not be the same problem but I'm pretty sure it\n> involves perl.mak).  The problem was a result of the perl library path\n> changing, but I never got around to creating a patch.\n>\n> I thought I remembered someone else posting a patch to address this, but\n> I can't find it so perhaps I'm remembering commit 07981dc (Makefile:\n> rebuild perl scripts when perl paths change, 2013-11-18).\n\nThis bug hit me when updating the MSVC-build script in contrib.\n\nIn a fully cleaned installation there is no PM.stamp file and the perl.mak \nfile fails with a message that can easily be misunderstood. In my case I was \ndoing a `make` dry run, so the rebuilding of the perlscrip list (commit \n07981dc) never happened.\n\nThe wider patch series somehow never made it onto vger (don't know why) but \nthe original is at \nhttps://groups.google.com/d/msg/msysgit/aj4v9ZpMIJo/2BA68P0saT0J\n\nMy fix was (expect whitesapace damage)\n---\nperl/Makefile | 2 ++\n 1 file changed, 2 insertions(+)\n\ndiff --git a/perl/Makefile b/perl/Makefile\nindex 15d96fc..5b86aac 100644\n--- a/perl/Makefile\n+++ b/perl/Makefile\n@@ -22,7 +22,9 @@ clean:\n  $(RM) $(makfile).old\n  $(RM) PM.stamp\n\n+ifneq (,$(wildcard PM.stamp))\n $(makfile): PM.stamp\n+endif\n\n ifdef NO_PERL_MAKEMAKER\n instdir_SQ = $(subst ','\\'',$(prefix)/lib)\n-- \n2.4.2.windows.1.5.gd32afb6\n\n--\nPhilip\n"}]}