From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vincent =?UTF-8?Q?Bela=C3=AFche?= Newsgroups: gmane.emacs.bugs Subject: bug#21789: 25.0.50; Can' build Emacs (my first build since GIT migration) Date: Sat, 31 Oct 2015 14:26:41 +0100 Message-ID: References: <84611ozi6c.fsf@gmail.com> <8337ws1n6x.fsf@gnu.org> , <83lhakyu71.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1446298112 30738 80.91.229.3 (31 Oct 2015 13:28:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Oct 2015 13:28:32 +0000 (UTC) Cc: "21789@debbugs.gnu.org" <21789@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 31 14:28:20 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZsWCh-0001Q5-I0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Oct 2015 14:28:19 +0100 Original-Received: from localhost ([::1]:55664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsWCb-0003X2-BO for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Oct 2015 09:28:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsWCW-0003UB-VY for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2015 09:28:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZsWCS-0006d5-TZ for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2015 09:28:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsWCS-0006ck-PT for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2015 09:28:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZsWCS-0004OL-FD for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2015 09:28:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vincent =?UTF-8?Q?Bela=C3=AFche?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Oct 2015 13:28:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21789 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21789-submit@debbugs.gnu.org id=B21789.144629802616815 (code B ref 21789); Sat, 31 Oct 2015 13:28:03 +0000 Original-Received: (at 21789) by debbugs.gnu.org; 31 Oct 2015 13:27:06 +0000 Original-Received: from localhost ([127.0.0.1]:46777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZsWBU-0004N8-HO for submit@debbugs.gnu.org; Sat, 31 Oct 2015 09:27:05 -0400 Original-Received: from dub004-omc2s27.hotmail.com ([157.55.1.166]:50724) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZsWB8-0004MX-IE for 21789@debbugs.gnu.org; Sat, 31 Oct 2015 09:27:01 -0400 Original-Received: from DUB109-W64 ([157.55.1.136]) by DUB004-OMC2S27.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sat, 31 Oct 2015 06:26:41 -0700 X-TMN: [bbfx4BGLELPocOLlgmIW+UhpWobeDMkD] X-Originating-Email: [vincent.b.1@hotmail.fr] Importance: Normal In-Reply-To: <83lhakyu71.fsf@gnu.org> X-OriginalArrivalTime: 31 Oct 2015 13:26:41.0469 (UTC) FILETIME=[C769CED0:01D113DF] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108231 Archived-At: Dear Eli=2C=0A= =0A= =0A= ----------------------------------------=0A= > Date: Fri=2C 30 Oct 2015 22:31:30 +0200=0A= > From: eliz@gnu.org=0A= > Subject: Re: bug#21789: 25.0.50=3B Can' build Emacs (my first build since= GIT migration)=0A= > To: vincent.b.1@hotmail.fr=0A= > CC: 21789@debbugs.gnu.org=0A= >=0A= >> From: Vincent Bela=EFche =0A= >> CC: "21789@debbugs.gnu.org" <21789@debbugs.gnu.org>=0A= >> Date: Fri=2C 30 Oct 2015 19:17:28 +0100=0A= >>=0A= >> Thank you for your kind help. After some checking=2C it proved out that= =0A= >> file configure.ac contained CRLF EOL's.=0A= >=0A= > Ah=2C that's another gotcha: you should configure Git to checkout "as=0A= > is". See the instructions in nt/INSTALL=2C near its beginning.=0A= >=0A= =0A= Well=2C I must admit that I hadn't read this file=2C I just used my same=0A= usual script where I had replaced bzr instruction by equivalent git=0A= instruction. And=2C as a matter of fact=2C I had:=0A= =0A= =A0$ git config --system --get core.autocrlf=0A= -| true=0A= =0A= >> After doing some dos2unix on configure.ac=2C the ./autogen.sh runs=0A= >> normally and I get a configure script --- which I have not yet used.=0A= >=0A= > If you run dos2unix or a similar program on these files=2C Git will=0A= > think they are modified. So this is a bad idea.=0A= =0A= That was just a test=2C I re-checked-it-out just after doing this.=0A= =0A= > Instead=2C remove the Git repository=2C re-install Git as instructed in= =0A= > nt/INSTALL=2C then re-clone the repository again.=0A= =0A= Ok=2C I will do that. It surprises me that you need to tamper with the git= =0A= system setting that affect all the projects using git=2C just for the sake= =0A= of one project. I am using git also for fmtcount and I have some changes=0A= pending=2C so I think that I will have to restore the original system=0A= settings when I come back to fmtcount. That is not a very practical=0A= solution.=0A= =0A= I am quite novice with git=2C but just wondering whether it isn't possible= =0A= to get the same effect with affecting emacs only by writing in the local=0A= config file (emacs/.git/config) some setting that would supersede the=0A= global and system settings=2C e.g. you would have=0A= =0A= [core]=0A= autocrlf =3D=0A= =0A= in the local config.=0A= =0A= Another idea would be to set the eol attribute explicitly in the local=0A= .gitattributes=2C which should not be too difficult using a wildcard.=0A= =0A= VBR=2C=0A= =A0=A0=A0 Vincent Bela=EFche =0A= =0A= =