threads / discuss / 33342

transient build error after 'Writing MYMETA.yml and MYMETA.json'

Subject: transient build error after 'Writing MYMETA.yml and MYMETA.json'

## tl;dr

3 messages between Apr 1, 2013 and Apr 2, 2013.

replies: 2people: 3as markdown or json

Phil Hord· Apr 1, 2013, 16:38 UTC · lore

I have not seen this before, which makes me think it is something new in the makefiles. But maybe it was a one-time fluke. When I ran 'make' again, it proceeded as normal.

My previous build was on pre-rebase 'next' at c1ece63. I did not try a 'make clean' in between, but I have since. I tried to reproduce it and I cannot. I am building on Ubuntu 12.04.

I do not see any significant differences in the Makefile between my last build point and this one.

Is this expected or easily explained?
$ make prefix=/home/hordp all doc man
...
    GEN git-add--interactive
Writing perl.mak for Git
Writing MYMETA.yml and MYMETA.json
make[2]: *** [perl.mak] Error 1
make[1]: *** [instlibdir] Error 2
make: *** [git-add--interactive] Error 2
$ make prefix=/home/hordp all doc man
    GEN perl/PM.stamp
    SUBDIR perl
/usr/bin/perl Makefile.PL PREFIX='/home/hordp' INSTALL_BASE=''
--localedir='/home/hordp/share/locale'
Writing perl.mak for Git
Writing MYMETA.yml and MYMETA.json
    GEN git-add--interactive
    GEN git-difftool
    GEN git-archimport
Phil
Junio C Hamano· Apr 1, 2013, 17:28 UTC · re: Phil Hord · lore

Re: transient build error after 'Writing MYMETA.yml and MYMETA.json'

Phil Hord <phil.hord@gmail.com> writes:
Show 22 quoted lines
> I have not seen this before, which makes me think it is something new
> in the makefiles.  But maybe it was a one-time fluke. When I ran
> 'make' again, it proceeded as normal.
> ...
> $ make prefix=/home/hordp all doc man
> ...
>     GEN git-add--interactive
> Writing perl.mak for Git
> Writing MYMETA.yml and MYMETA.json
> make[2]: *** [perl.mak] Error 1
> make[1]: *** [instlibdir] Error 2
> make: *** [git-add--interactive] Error 2
> $ make prefix=/home/hordp all doc man
>     GEN perl/PM.stamp
>     SUBDIR perl
> /usr/bin/perl Makefile.PL PREFIX='/home/hordp' INSTALL_BASE=''
> --localedir='/home/hordp/share/locale'
> Writing perl.mak for Git
> Writing MYMETA.yml and MYMETA.json
>     GEN git-add--interactive
>     GEN git-difftool
>     GEN git-archimport

I've also seen build failure with -j<something> in perl/ subdirectory from time to time, but the failure has been fairly elusive for me that I haven't had a chance to look into what triggers it.

Jeff King· Apr 2, 2013, 05:22 UTC · re: Junio C Hamano · lore

Re: transient build error after 'Writing MYMETA.yml and MYMETA.json'

On Mon, Apr 01, 2013 at 10:28:04AM -0700, Junio C Hamano wrote:
Show 29 quoted lines
> Phil Hord <phil.hord@gmail.com> writes:
> 
> > I have not seen this before, which makes me think it is something new
> > in the makefiles.  But maybe it was a one-time fluke. When I ran
> > 'make' again, it proceeded as normal.
> > ...
> > $ make prefix=/home/hordp all doc man
> > ...
> >     GEN git-add--interactive
> > Writing perl.mak for Git
> > Writing MYMETA.yml and MYMETA.json
> > make[2]: *** [perl.mak] Error 1
> > make[1]: *** [instlibdir] Error 2
> > make: *** [git-add--interactive] Error 2
> > $ make prefix=/home/hordp all doc man
> >     GEN perl/PM.stamp
> >     SUBDIR perl
> > /usr/bin/perl Makefile.PL PREFIX='/home/hordp' INSTALL_BASE=''
> > --localedir='/home/hordp/share/locale'
> > Writing perl.mak for Git
> > Writing MYMETA.yml and MYMETA.json
> >     GEN git-add--interactive
> >     GEN git-difftool
> >     GEN git-archimport
> 
> I've also seen build failure with -j<something> in perl/
> subdirectory from time to time, but the failure has been fairly
> elusive for me that I haven't had a chance to look into what
> triggers it.

The one I have seen usually involves errors around "perl.mak"; this might be a new form of it, or it might be different.

Previous analysis and a patch (which I have no idea if it helps or not, as I can't reproduce the problem at will):

  http://article.gmane.org/gmane.comp.version-control.git/158251
-Peff

← back to recent threads