unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@gnu.org>
To: 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:25:58 -0500	[thread overview]
Message-ID: <m2siexgds9.fsf@sds-MacBook-Pro.home> (raw)
In-Reply-To: 54C69627.60702@cs.ucla.edu

> * Paul Eggert <rttreg@pf.hpyn.rqh> [2015-01-26 11:31:51 -0800]:
>
> On 01/26/2015 08:48 AM, Sam Steingold wrote:
>> Running 'autoreconf -fi -I m4' ...
>> Installing git hooks...
>> cp: .git/hooks/applypatch-msg.sample: No such file or directory
>
> My guess is that the repository was created by an older version of Git.
> Git versions before 1.6.0 didn't create .sample files for hooks.

this is certainly not my case.
I have git version 1.9.3 (Apple Git-50)

> reclone the repository from scratch.

just did, and...


$ ./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' ...
cd -
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...
cp: .git/hooks/applypatch-msg.sample: No such file or directory
$


> You should be able to patch an existing repository built with an older
> Git by running 'chmod a+x .git/hooks/applypatch-msg
> .git/hooks/pre-applypatch; cp .git/hooks/applypatch-msg
> .git/hooks/applypatch-msg.sample; cp .git/hooks/pre-applypatch
> .git/hooks/pre-applypatch.sample' (though I haven't tested this).

emacs$ ls -R .git/hooks/
total 56
8 commit-msg* 8 ctags* 8 post-checkout* 8 post-commit* 8 post-merge*
8 post-rewrite* 8 pre-commit*



-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1343
http://www.childpsy.net/ http://honestreporting.com
http://camera.org http://www.memritv.org http://dhimmi.org
People hear what they want to hear and discard the rest.




  reply	other threads:[~2015-01-27  2:25 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 [this message]
2015-01-27  5:37     ` Paul Eggert
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=m2siexgds9.fsf@sds-MacBook-Pro.home \
    --to=sds@gnu.org \
    --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 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).