emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Git help please - checking out old commit doesn't find lib/gnulib.mk


From: Alan Mackenzie
Subject: Re: Git help please - checking out old commit doesn't find lib/gnulib.mk.in.
Date: Sun, 12 Nov 2017 20:06:51 +0000
User-agent: Mutt/1.7.2 (2016-11-26)

Hello, Eli.

On Sun, Nov 12, 2017 at 20:29:26 +0200, Eli Zaretskii wrote:
> > Date: Sun, 12 Nov 2017 18:09:59 +0000
> > From: Alan Mackenzie <address@hidden>

> > I'm attempting to check out a moderately old version of Emacs with:

> >     $ git checkout 10c0e1c

> > .  This appears to work.  I then attempt to build it with:

> >     $ time make -j17 bootstrap

> > .  This fails with:

> >     make: *** No rule to make target 'lib/gnulib.mk.in', needed by 
> > 'Makefile'.  Stop.

> > .  It would appear that the git checkout has failed to restore the state
> > of the given commit, in that it hasn't restored the indicated file.  Is
> > this in fact the case?

> > What do I have to do to restore this version in a state I can build.

> I think you have some stale files that you need to clean up, basically
> anything that is not a versioned file.

I though that was what make bootstrap was for.  In that working
directory, I tried ./autogen.sh all.  This gave the error messages:

Running 'autoreconf -fi -I m4' ...
/usr/bin/m4:aclocal.m4:9: cannot open `m4/count-leading-zeros.m4': No such file 
or directory
+ 11 similar lines.

> For best results, I'd checkout into a separate directory, starting with
> "git worktree add".

Thanks.  In the end, I just cloned another repository from my own
emacs-26 repo and checked out that version.  This build without problems.

But it would be nice to be able to do what make bootstrap purports to do.
Maybe one of the other less used make targets will do this.

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]