* [BUG?] parallel make interdepencies
@ 2015-10-06 8:12 Michael J Gruber
2015-10-06 13:13 ` Johannes Schindelin
0 siblings, 1 reply; 5+ messages in thread
From: Michael J Gruber @ 2015-10-06 8:12 UTC (permalink / raw)
To: Git Mailing List
"make -j3" just errored out on me, a follow-up "make" succeeded". This
looks like an interdependency issue, but I don't know how to track it:
GEN git-web--browse
GEN git-add--interactive
GEN git-difftool
mv: der Aufruf von stat für „perl.mak“ ist nicht möglich: Datei oder
Verzeichnis nicht gefunden
(cannot stat "perl.mak")
Generating a Unix-style perl.mak
Writing perl.mak for Git
GEN git-archimport
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style perl.mak
Writing perl.mak for Git
make[2]: *** [perl.mak] Error 1
make[1]: *** [instlibdir] Error 2
Makefile:1769: recipe for target 'git-difftool' failed
make: *** [git-difftool] Error 2
make: *** Warte auf noch nicht beendete Prozesse...
Writing MYMETA.yml and MYMETA.json
make[2]: *** [perl.mak] Error 1
make[1]: *** [instlibdir] Error 2
Makefile:1769: recipe for target 'git-add--interactive' failed
make: *** [git-add--interactive] Error 2
Generating a Unix-style perl.mak
Writing perl.mak for Git
Writing MYMETA.yml and MYMETA.json
(This is on next)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [BUG?] parallel make interdepencies
2015-10-06 8:12 [BUG?] parallel make interdepencies Michael J Gruber
@ 2015-10-06 13:13 ` Johannes Schindelin
2015-10-06 13:33 ` John Keeping
0 siblings, 1 reply; 5+ messages in thread
From: Johannes Schindelin @ 2015-10-06 13:13 UTC (permalink / raw)
To: Michael J Gruber; +Cc: Git Mailing List
Hi Michael,
On 2015-10-06 10:12, Michael J Gruber wrote:
> "make -j3" just errored out on me, a follow-up "make" succeeded". This
> looks like an interdependency issue, but I don't know how to track it:
>
> GEN git-web--browse
> GEN git-add--interactive
> GEN git-difftool
> mv: der Aufruf von stat für „perl.mak“ ist nicht möglich: Datei oder
> Verzeichnis nicht gefunden
>
> (cannot stat "perl.mak")
This one sounds awfully familiar. Although I only encountered this if I specified `make -j15 clean all`, i.e. *both* "clean" and "all"...
Ciao,
Dscho
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [BUG?] parallel make interdepencies
2015-10-06 13:13 ` Johannes Schindelin
@ 2015-10-06 13:33 ` John Keeping
2015-10-06 14:24 ` Michael J Gruber
2015-10-06 19:39 ` Philip Oakley
0 siblings, 2 replies; 5+ messages in thread
From: John Keeping @ 2015-10-06 13:33 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: Michael J Gruber, Git Mailing List
On Tue, Oct 06, 2015 at 03:13:05PM +0200, Johannes Schindelin wrote:
> Hi Michael,
>
> On 2015-10-06 10:12, Michael J Gruber wrote:
> > "make -j3" just errored out on me, a follow-up "make" succeeded". This
> > looks like an interdependency issue, but I don't know how to track it:
> >
> > GEN git-web--browse
> > GEN git-add--interactive
> > GEN git-difftool
> > mv: der Aufruf von stat für „perl.mak“ ist nicht möglich: Datei oder
> > Verzeichnis nicht gefunden
> >
> > (cannot stat "perl.mak")
>
> This one sounds awfully familiar. Although I only encountered this if
> I specified `make -j15 clean all`, i.e. *both* "clean" and "all"...
I've seen something like this after upgrading perl (I can't remember the
exact error, so it may not be the same problem but I'm pretty sure it
involves perl.mak). The problem was a result of the perl library path
changing, but I never got around to creating a patch.
I thought I remembered someone else posting a patch to address this, but
I can't find it so perhaps I'm remembering commit 07981dc (Makefile:
rebuild perl scripts when perl paths change, 2013-11-18).
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [BUG?] parallel make interdepencies
2015-10-06 13:33 ` John Keeping
@ 2015-10-06 14:24 ` Michael J Gruber
2015-10-06 19:39 ` Philip Oakley
1 sibling, 0 replies; 5+ messages in thread
From: Michael J Gruber @ 2015-10-06 14:24 UTC (permalink / raw)
To: John Keeping, Johannes Schindelin; +Cc: Git Mailing List
John Keeping venit, vidit, dixit 06.10.2015 15:33:
> On Tue, Oct 06, 2015 at 03:13:05PM +0200, Johannes Schindelin wrote:
>> Hi Michael,
>>
>> On 2015-10-06 10:12, Michael J Gruber wrote:
>>> "make -j3" just errored out on me, a follow-up "make" succeeded". This
>>> looks like an interdependency issue, but I don't know how to track it:
>>>
>>> GEN git-web--browse
>>> GEN git-add--interactive
>>> GEN git-difftool
>>> mv: der Aufruf von stat für „perl.mak“ ist nicht möglich: Datei oder
>>> Verzeichnis nicht gefunden
>>>
>>> (cannot stat "perl.mak")
>>
>> This one sounds awfully familiar. Although I only encountered this if
>> I specified `make -j15 clean all`, i.e. *both* "clean" and "all"...
>
> I've seen something like this after upgrading perl (I can't remember the
> exact error, so it may not be the same problem but I'm pretty sure it
> involves perl.mak). The problem was a result of the perl library path
> changing, but I never got around to creating a patch.
>
> I thought I remembered someone else posting a patch to address this, but
> I can't find it so perhaps I'm remembering commit 07981dc (Makefile:
> rebuild perl scripts when perl paths change, 2013-11-18).
>
At least I'm in good company, then. The statistical evidence is 100%
clear: It's a John-related issue.
Michael J(ohannes)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [BUG?] parallel make interdepencies
2015-10-06 13:33 ` John Keeping
2015-10-06 14:24 ` Michael J Gruber
@ 2015-10-06 19:39 ` Philip Oakley
1 sibling, 0 replies; 5+ messages in thread
From: Philip Oakley @ 2015-10-06 19:39 UTC (permalink / raw)
To: John Keeping, Johannes Schindelin; +Cc: Michael J Gruber, Git Mailing List
From: "John Keeping" <john@keeping.me.uk>
> On Tue, Oct 06, 2015 at 03:13:05PM +0200, Johannes Schindelin wrote:
>> Hi Michael,
>>
>> On 2015-10-06 10:12, Michael J Gruber wrote:
>> > "make -j3" just errored out on me, a follow-up "make" succeeded". This
>> > looks like an interdependency issue, but I don't know how to track it:
>> >
>> > GEN git-web--browse
>> > GEN git-add--interactive
>> > GEN git-difftool
>> > mv: der Aufruf von stat für „perl.mak“ ist nicht möglich: Datei oder
>> > Verzeichnis nicht gefunden
>> >
>> > (cannot stat "perl.mak")
>>
>> This one sounds awfully familiar. Although I only encountered this if
>> I specified `make -j15 clean all`, i.e. *both* "clean" and "all"...
>
> I've seen something like this after upgrading perl (I can't remember the
> exact error, so it may not be the same problem but I'm pretty sure it
> involves perl.mak). The problem was a result of the perl library path
> changing, but I never got around to creating a patch.
>
> I thought I remembered someone else posting a patch to address this, but
> I can't find it so perhaps I'm remembering commit 07981dc (Makefile:
> rebuild perl scripts when perl paths change, 2013-11-18).
This bug hit me when updating the MSVC-build script in contrib.
In a fully cleaned installation there is no PM.stamp file and the perl.mak
file fails with a message that can easily be misunderstood. In my case I was
doing a `make` dry run, so the rebuilding of the perlscrip list (commit
07981dc) never happened.
The wider patch series somehow never made it onto vger (don't know why) but
the original is at
https://groups.google.com/d/msg/msysgit/aj4v9ZpMIJo/2BA68P0saT0J
My fix was (expect whitesapace damage)
---
perl/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/perl/Makefile b/perl/Makefile
index 15d96fc..5b86aac 100644
--- a/perl/Makefile
+++ b/perl/Makefile
@@ -22,7 +22,9 @@ clean:
$(RM) $(makfile).old
$(RM) PM.stamp
+ifneq (,$(wildcard PM.stamp))
$(makfile): PM.stamp
+endif
ifdef NO_PERL_MAKEMAKER
instdir_SQ = $(subst ','\'',$(prefix)/lib)
--
2.4.2.windows.1.5.gd32afb6
--
Philip
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-10-06 19:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-06 8:12 [BUG?] parallel make interdepencies Michael J Gruber
2015-10-06 13:13 ` Johannes Schindelin
2015-10-06 13:33 ` John Keeping
2015-10-06 14:24 ` Michael J Gruber
2015-10-06 19:39 ` Philip Oakley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).