From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Re: Git help please - checking out old commit doesn't find lib/gnulib.mk.in.
Date: Sun, 12 Nov 2017 19:24:48 +0100 [thread overview]
Message-ID: <87tvxztkwf.fsf@wanadoo.es> (raw)
In-Reply-To: 20171112180959.GB20916@ACM
Alan Mackenzie <acm@muc.de> writes:
> Hello, Emacs.
>
> 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.
> (System: 64-bit GNU (Gentoo)).
lib/gnulib.mk.in was introduced on March 2017 while the version you are
checking out corresponds to February 2016. Hence it is expected that the
file is missing.
It seems that you are re-using a build directory, so the problem you see
is expected as well.
As the build system (and Emacs in general) changed quite a bit since,
I'll start with a pristine state. In you emacs checkout:
$ git clean -f -d -x
This will delete everything that is not versioned (build artifacts,
etc). Then create a new build directory and proceed as usual.
next prev parent reply other threads:[~2017-11-12 18:24 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-12 18:09 Git help please - checking out old commit doesn't find lib/gnulib.mk.in Alan Mackenzie
2017-11-12 18:22 ` Andreas Schwab
2017-11-12 18:24 ` Óscar Fuentes [this message]
2017-11-12 18:25 ` Lele Gaifax
2017-11-12 18:28 ` John Wiegley
2017-11-12 18:29 ` Eli Zaretskii
2017-11-12 20:06 ` Alan Mackenzie
2017-11-12 20:28 ` Eli Zaretskii
2017-11-12 20:40 ` Stefan Monnier
2017-11-12 21:23 ` Paul Eggert
2017-11-12 21:55 ` Alan Mackenzie
2017-11-12 23:51 ` Óscar Fuentes
2017-11-13 1:58 ` Stefan Monnier
2017-11-13 2:34 ` Óscar Fuentes
2017-11-13 3:17 ` Stefan Monnier
2017-11-13 1:42 ` Yasushi SHOJI
2017-11-13 8:21 ` Andreas Schwab
2017-11-13 3:30 ` Eli Zaretskii
2017-11-13 18:53 ` Alan Mackenzie
2017-11-13 19:13 ` Paul Eggert
2017-11-13 19:31 ` Alan Mackenzie
2017-11-13 19:17 ` Eli Zaretskii
2017-11-13 19:27 ` Alan Mackenzie
2017-11-13 19:35 ` Eli Zaretskii
2017-11-13 20:30 ` Alan Mackenzie
2017-11-13 20:42 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tvxztkwf.fsf@wanadoo.es \
--to=ofv@wanadoo.es \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.