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: Fri, 30 Oct 2015 23:27:10 +0100 Message-ID: References: <84611ozi6c.fsf@gmail.com>, <8337ws1n6x.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 1446244104 23512 80.91.229.3 (30 Oct 2015 22:28:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Oct 2015 22:28:24 +0000 (UTC) Cc: "21789@debbugs.gnu.org" <21789@debbugs.gnu.org> To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 30 23:28:12 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 1ZsI9Z-0004L2-V5 for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Oct 2015 23:28:10 +0100 Original-Received: from localhost ([::1]:53452 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsI9Y-0004j5-Tv for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Oct 2015 18:28:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsI9V-0004iZ-Ox for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2015 18:28:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZsI9S-00054O-HY for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2015 18:28:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsI9S-00054C-Ej for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2015 18:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZsI9S-0005Gz-8a for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2015 18:28:02 -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: Fri, 30 Oct 2015 22:28:02 +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.144624405320228 (code B ref 21789); Fri, 30 Oct 2015 22:28:02 +0000 Original-Received: (at 21789) by debbugs.gnu.org; 30 Oct 2015 22:27:33 +0000 Original-Received: from localhost ([127.0.0.1]:46613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZsI8y-0005GC-HX for submit@debbugs.gnu.org; Fri, 30 Oct 2015 18:27:33 -0400 Original-Received: from dub004-omc2s34.hotmail.com ([157.55.1.173]:59472) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZsI8d-0005Fi-MD for 21789@debbugs.gnu.org; Fri, 30 Oct 2015 18:27:30 -0400 Original-Received: from DUB109-W33 ([157.55.1.138]) by DUB004-OMC2S34.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Fri, 30 Oct 2015 15:27:10 -0700 X-TMN: [KovfgN0cpXfqVYZq6wA/4HyY0R/H8A82] X-Originating-Email: [vincent.b.1@hotmail.fr] Importance: Normal In-Reply-To: X-OriginalArrivalTime: 30 Oct 2015 22:27:10.0540 (UTC) FILETIME=[1E3B98C0:01D11362] 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:108216 Archived-At: Dear Glenn & Eli=2C=0A= =0A= Just to elaborate a bit more the idea of adding some test into=0A= autogen.sh: autotools are perl and M4 scripts=2C so=2C as far as EOLs are= =0A= concerned=2C I think that what is relevant is checking what perl and M4=0A= do.=0A= =0A= I don't think that M4 does anything special with the EOL=2C it just put to= =0A= output the same EOL that are in input --- well=2C maybe my using an MSYS=0A= M4 makes me think so.=0A= =0A= So=2C the thing that really needs to be tested is whether the user is=0A= using an MSYS perl or a native MSW perl.=0A= =0A= VBR=2C=0A= =A0=A0=A0 Vincent Bela=EFche =0A= =0A= =0A= ----------------------------------------=0A= > From: vincent.b.1@hotmail.fr=0A= > To: rgm@gnu.org=0A= > CC: 21789@debbugs.gnu.org=3B eliz@gnu.org=0A= > Subject: RE: bug#21789: 25.0.50=3B Can' build Emacs (my first build since= GIT migration)=0A= > Date: Fri=2C 30 Oct 2015 21:41:09 +0100=0A= >=0A= > Dear Glenn=2C=0A= >=0A= > I don't think that my problem is the toolchain.=0A= >=0A= > But git was not configured for setting attributes to configure.ac to have= LF=0A= > EOL's. So when configure.ac was pulled from repo it got native EOL's=2C i= e=0A= > CRLF=2C and that was the root cause IMHO.=0A= >=0A= > As per your suggestion=2C I think that what could be tested is that :=0A= >=0A= > perl -e 'print "\n"'=0A= >=0A= > will output an LF=2C and not a CRLF.=0A= >=0A= > For instance on my MSYS console I did this :=0A= >=0A= > $ if perl -e 'print "x\n"' | grep -U '^x$'> /dev/null=3B then echo "ok"= =3B else echo "not ok"=3B fi=0A= > -| ok=0A= > $ if /c/Programmes/Perl64/bin/perl.exe -e 'print "x\n"' | grep -U '^x$'> = /dev/null=3B then echo "ok"=3B else echo "not ok"=3B fi=0A= > -| not ok=0A= >=0A= > In the former case the MSYS perl is used=2C so the verdict is OK=2C and i= n=0A= > the latter=2C that is the native MSW perl that is used=2C so the verdict = is=0A= > NOT OK.=0A= >=0A= > Vincent.=0A= >=0A= > ----------------------------------------=0A= >> From: rgm@gnu.org=0A= >> To: eliz@gnu.org=0A= >> CC: vincent.b.1@hotmail.fr=3B 21789@debbugs.gnu.org=0A= >> Subject: Re: bug#21789: 25.0.50=3B Can' build Emacs (my first build sinc= e GIT migration)=0A= >> Date: Fri=2C 30 Oct 2015 14:42:26 -0400=0A= >>=0A= >> Eli Zaretskii wrote:=0A= >>=0A= >>> Your Automake/Autoconf installation is not an MSYS installation=2C but = a=0A= >>> native Windows one=2C so it produces Windows CRLF EOLs=2C and that=0A= >>> confuses all kinds of scripts and/or utilities that are involved in=0A= >>> the configure process.=0A= >>=0A= >> If it is possible to test for that=2C sounds like autogen.sh should do s= o=0A= >> and reject those versions of autotools.=0A= >>=0A= >=0A= =