unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: sds@gnu.org, emacs-devel@gnu.org
Subject: Re: make bootstrap fails: cp: .git/hooks/applypatch-msg.sample: No such file or directory
Date: Mon, 26 Jan 2015 21:37:25 -0800	[thread overview]
Message-ID: <54C72415.5080507@cs.ucla.edu> (raw)
In-Reply-To: <m2siexgds9.fsf@sds-MacBook-Pro.home>

[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]

Sam Steingold wrote:
> this is certainly not my case.
> I have git version 1.9.3 (Apple Git-50)

Unfortunately I cannot reproduce the problem with git 1.9.3 (which I just now 
built from source on Fedora 21 x86-64).  Please see the attached transcript.  I 
can reproduce the problem with git 1.5.6.6 but that's so old that we don't 
support it.

How did you clone your copy of Emacs?

If you run the following commands on your host, what's the output?

$ git --version
git version 1.9.3
$ mkdir newdir
$ cd newdir
$ git init
Initialized empty Git repository in /home/eggert/junk/newdir/.git/
$ ls -l .git/hooks
total 40
-rwxr-xr-x. 1 eggert eggert  452 Jan 26 21:34 applypatch-msg.sample
-rwxr-xr-x. 1 eggert eggert  896 Jan 26 21:34 commit-msg.sample
-rwxr-xr-x. 1 eggert eggert  189 Jan 26 21:34 post-update.sample
-rwxr-xr-x. 1 eggert eggert  398 Jan 26 21:34 pre-applypatch.sample
-rwxr-xr-x. 1 eggert eggert 1642 Jan 26 21:34 pre-commit.sample
-rwxr-xr-x. 1 eggert eggert 1239 Jan 26 21:34 prepare-commit-msg.sample
-rwxr-xr-x. 1 eggert eggert 1352 Jan 26 21:34 pre-push.sample
-rwxr-xr-x. 1 eggert eggert 4951 Jan 26 21:34 pre-rebase.sample
-rwxr-xr-x. 1 eggert eggert 3611 Jan 26 21:34 update.sample


[-- Attachment #2: transcript.txt --]
[-- Type: text/plain, Size: 2069 bytes --]

980-Penguin $ git --version
git version 1.9.3
980-Penguin $ git clone git://git.savannah.gnu.org/emacs.git
Cloning into 'emacs'...
remote: Counting objects: 720838, done.
remote: Compressing objects: 100% (132536/132536), done.
remote: Total 720838 (delta 589155), reused 719010 (delta 587631)
Receiving objects: 100% (720838/720838), 189.95 MiB | 226.00 KiB/s, done.
Resolving deltas: 100% (589155/589155), done.
Checking connectivity... done.
981-Penguin $ cd emacs
982-Penguin $ ls -l .git/hooks
total 40
-rwxr-xr-x. 1 eggert eggert  452 Jan 26 20:44 applypatch-msg.sample
-rwxr-xr-x. 1 eggert eggert  896 Jan 26 20:44 commit-msg.sample
-rwxr-xr-x. 1 eggert eggert  189 Jan 26 20:44 post-update.sample
-rwxr-xr-x. 1 eggert eggert  398 Jan 26 20:44 pre-applypatch.sample
-rwxr-xr-x. 1 eggert eggert 1642 Jan 26 20:44 pre-commit.sample
-rwxr-xr-x. 1 eggert eggert 1239 Jan 26 20:44 prepare-commit-msg.sample
-rwxr-xr-x. 1 eggert eggert 1352 Jan 26 20:44 pre-push.sample
-rwxr-xr-x. 1 eggert eggert 4951 Jan 26 20:44 pre-rebase.sample
-rwxr-xr-x. 1 eggert eggert 3611 Jan 26 20:44 update.sample
983-Penguin $ ./autogen.sh
Checking whether you have the necessary tools...
(Read INSTALL.REPO for more details on building Emacs)

Checking for autoconf (need at least version 2.65)...
ok
Checking for automake (need at least version 1.11)...
ok
Your system has the required tools.
Running 'autoreconf -fi -I m4' ...
configure.ac:760: installing 'build-aux/compile'
configure.ac:139: installing 'build-aux/config.guess'
configure.ac:139: installing 'build-aux/config.sub'
configure.ac:136: installing 'build-aux/install-sh'
configure.ac:136: installing 'build-aux/missing'
lib/Makefile.am: installing 'build-aux/depcomp'
Installing git hooks...
‘build-aux/git-hooks/commit-msg’ -> ‘.git/hooks/commit-msg’
‘build-aux/git-hooks/pre-commit’ -> ‘.git/hooks/pre-commit’
‘.git/hooks/applypatch-msg.sample’ -> ‘.git/hooks/applypatch-msg’
‘.git/hooks/pre-applypatch.sample’ -> ‘.git/hooks/pre-applypatch’
You can now run './configure'.
984-Penguin $

  reply	other threads:[~2015-01-27  5:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-26 16:48 make bootstrap fails: cp: .git/hooks/applypatch-msg.sample: No such file or directory Sam Steingold
2015-01-26 19:31 ` Paul Eggert
2015-01-27  2:25   ` Sam Steingold
2015-01-27  5:37     ` Paul Eggert [this message]
2015-01-27  5:46       ` Sam Steingold
2015-01-27  6:50         ` Paul Eggert
2015-01-27  7:57           ` chad
2015-01-27  9:11           ` Jan D.
2015-01-27 17:39             ` Eli Zaretskii
2015-01-27 18:07               ` Jan D.
2015-01-27 20:59                 ` Sam Steingold
2015-01-27 21:09               ` Sam Steingold
2015-01-27 22:44                 ` Paul Eggert
2015-01-27 17:53           ` Sam Steingold

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54C72415.5080507@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    --cc=sds@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).