From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: Failure to bootstrap on Windows Date: Sat, 3 Oct 2015 23:17:44 +0200 Message-ID: References: <83io6qap6y.fsf@gnu.org> <83vbaq8quk.fsf@gnu.org> <837fn68fsj.fsf@gnu.org> <83k2r55mke.fsf@gnu.org> <83fv1t5fij.fsf@gnu.org> <8337xt5bt0.fsf@gnu.org> <83mvw04aff.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3c47c1229fa052139d240 X-Trace: ger.gmane.org 1443907122 392 80.91.229.3 (3 Oct 2015 21:18:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Oct 2015 21:18:42 +0000 (UTC) Cc: Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 03 23:18:35 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZiUCQ-00058S-8V for ged-emacs-devel@m.gmane.org; Sat, 03 Oct 2015 23:18:34 +0200 Original-Received: from localhost ([::1]:40042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiUCP-0006ux-Gs for ged-emacs-devel@m.gmane.org; Sat, 03 Oct 2015 17:18:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiUCL-0006un-Ua for emacs-devel@gnu.org; Sat, 03 Oct 2015 17:18:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZiUCK-0002pY-Fv for emacs-devel@gnu.org; Sat, 03 Oct 2015 17:18:29 -0400 Original-Received: from mail-la0-x231.google.com ([2a00:1450:4010:c03::231]:35674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiUCI-0002lj-4a; Sat, 03 Oct 2015 17:18:26 -0400 Original-Received: by lackq9 with SMTP id kq9so194419lac.2; Sat, 03 Oct 2015 14:18:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=jQGNRJQ3y3Fd1/dISDmkl0SkGtqs8MDwdAAPB3hEdRI=; b=dBNZZ0Ex4XxMV35nCdoKSDACt4cm4m7KPwcWUr8FzfvyRpeaVP3Q7DCmTGKPFFVMlY xVwbR9QesCaFWn5joNWzQ3n/CyE0nUx0JlDt6GLTip8Py0Yg7fGxbyic9n50yHnlJIem qGMDOp5YRQgGbL0+lsWj7hgzo52KK3lPaZAYBIE1C2ZsjxYk+PtVTWeZT89tF2IgHfvP /fgtks7AsP1kLntRefyNBKP0GUaeVJkv8HaYq37M/HLtOKR+Q2b3SDl2jk4mkk8x6cgK RclnOoDdfxab+bOIdRNyiS7aogtvKI598TL7ZMVMu56Rxx06TIrJrpVx5pM/kH6EcR06 zs1A== X-Received: by 10.112.17.34 with SMTP id l2mr8228390lbd.117.1443907104809; Sat, 03 Oct 2015 14:18:24 -0700 (PDT) Original-Received: by 10.25.217.135 with HTTP; Sat, 3 Oct 2015 14:17:44 -0700 (PDT) In-Reply-To: <83mvw04aff.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:190830 Archived-At: --001a11c3c47c1229fa052139d240 Content-Type: text/plain; charset=UTF-8 On Sat, Oct 3, 2015 at 10:35 AM, Eli Zaretskii wrote: > The question is why. My first suspect is the file lisp.mk. It should > define the value of the Make variable shortlisp to hold a long list of > preloaded Lisp files -- these are the ones that should have been > compiled at that step. I'm guessing that file is empty on your > system, or maybe garbled. And you're right: $ cat lisp.mk shortlisp = \ > If you decide to remove lisp.mk and regenerate it, please use > "make V=1", so you could see if the command issued by Make has > anything weird in it. $ rm lisp.mk $ make V=1 lisp.mk GEN lisp.mk sed: -e expression #1, char 11: unterminated `s' command make: 'lisp.mk' is up to date. It complains at the \\ in sed -e 's/$$/.elc \\/' After changing src/Makefile.in so it generates a valid lisp.mk, bootstrapping goes a bit further: mv -f emacs.exe bootstrap-emacs.exe c:/Devel/emacs/build/bin/make -C ../lisp compile-first EMACS="../src/bootstrap-emacs.exe" make[2]: Entering directory 'c:/Devel/emacs/repo/fresh/lisp' ELC emacs-lisp/macroexp.elc ELC emacs-lisp/cconv.elc ELC emacs-lisp/byte-opt.elc ELC emacs-lisp/bytecomp.elc ELC emacs-lisp/autoload.elc make[2]: Leaving directory 'c:/Devel/emacs/repo/fresh/lisp' c:/Devel/emacs/build/bin/make -C ../lisp autoloads EMACS="../src/bootstrap-emacs.exe" make[2]: Entering directory 'c:/Devel/emacs/repo/fresh/lisp' GEN calendar/cal-loaddefs.el GEN calendar/diary-loaddefs.el GEN calendar/hol-loaddefs.el GEN mh-e/mh-loaddefs.el GEN net/tramp-loaddefs.el Directories for loaddefs: . ./calc ./calendar ./cedet ./cedet/ede ./cedet/semantic ./cedet/semantic/analyze ./cedet/semantic/bovine ./cedet/semantic/decorate ./cedet/semantic/symre f ./cedet/semantic/wisent ./cedet/srecode ./emacs-lisp ./emulation ./erc ./eshell ./gnus ./international ./language ./leim ./leim/quail ./mail ./mh-e ./net ./nxml ./org ./play ./pr ogmodes ./textmodes ./url ./vc GEN loaddefs.el Making generated-autoload-file local to *autoload-file* while let-bound! make[2]: Leaving directory 'c:/Devel/emacs/repo/fresh/lisp' make[2]: Entering directory 'c:/Devel/emacs/repo/fresh/lisp' ELC ../lisp/abbrev.elc /usr/bin/sh: ../src/bootstrap-emacs.exe THEFILE=../lisp/abbrev.el: No such file or directory Makefile:269: recipe for target '../lisp/abbrev.elc' failed make[2]: *** [../lisp/abbrev.elc] Error 127 make[2]: Leaving directory 'c:/Devel/emacs/repo/fresh/lisp' Makefile:693: recipe for target '../lisp/abbrev.elc' failed make[1]: *** [../lisp/abbrev.elc] Error 2 make[1]: Leaving directory 'c:/Devel/emacs/repo/fresh/src' Makefile:398: recipe for target 'src' failed make: *** [src] Error 2 --001a11c3c47c1229fa052139d240 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Sat, Oct 3, 2015 at 10:35 AM, Eli Zaretskii <eliz@gnu.org> wrote:
<= br>
> The question is why.=C2=A0 My first suspect is the file lisp.mk.=C2=A0 It should
>= define the value of the Make variable shortlisp to hold a long list of
= > preloaded Lisp files -- these are the ones that should have been
&g= t; compiled at that step.=C2=A0 I'm guessing that file is empty on your=
> system, or maybe garbled.

And you're = right:

$ cat lisp.mk
shortlisp =3D \

> If you decide to remove lisp.mk and regenerate it, please use
> "ma= ke V=3D1", so you could see if the command issued by Make has
> = anything weird in it.

$ rm lisp.mk

$ make V=3D1 lisp.mk
=C2=A0 GE= N =C2=A0 =C2=A0 =C2=A0lisp.mk<= /a>




mv -f emacs.exe bootstrap-emacs= .exe
c:/Devel/emacs/build/bin/make -C ../lisp compile-first EMACS= =3D"../src/bootstrap-emacs.exe"
make[2]: Entering direc= tory 'c:/Devel/emacs/repo/fresh/lisp'
=C2=A0 ELC =C2=A0 = =C2=A0 =C2=A0emacs-lisp/macroexp.elc
=C2=A0 ELC =C2=A0 =C2=A0 =C2= =A0emacs-lisp/cconv.elc
=C2=A0 ELC =C2=A0 =C2=A0 =C2=A0emacs-lisp= /byte-opt.elc
=C2=A0 ELC =C2=A0 =C2=A0 =C2=A0emacs-lisp/bytecomp.= elc
=C2=A0 ELC =C2=A0 =C2=A0 =C2=A0emacs-lisp/autoload.elc
<= div>make[2]: Leaving directory 'c:/Devel/emacs/repo/fresh/lisp'
c:/Devel/emacs/build/bin/make -C ../lisp autoloads EMACS=3D"../= src/bootstrap-emacs.exe"
make[2]: Entering directory 'c:= /Devel/emacs/repo/fresh/lisp'
=C2=A0 GEN =C2=A0 =C2=A0 =C2=A0= calendar/cal-loaddefs.el
=C2=A0 GEN =C2=A0 =C2=A0 =C2=A0calendar/= diary-loaddefs.el
=C2=A0 GEN =C2=A0 =C2=A0 =C2=A0calendar/hol-loa= ddefs.el
=C2=A0 GEN =C2=A0 =C2=A0 =C2=A0mh-e/mh-loaddefs.el
=
=C2=A0 GEN =C2=A0 =C2=A0 =C2=A0net/tramp-loaddefs.el
Directo= ries for loaddefs: . ./calc ./calendar ./cedet ./cedet/ede ./cedet/semantic= ./cedet/semantic/analyze ./cedet/semantic/bovine ./cedet/semantic/decorate= ./cedet/semantic/symre
f ./cedet/semantic/wisent ./cedet/srecode= ./emacs-lisp ./emulation ./erc ./eshell ./gnus ./international ./language = ./leim ./leim/quail ./mail ./mh-e ./net ./nxml ./org ./play ./pr
= ogmodes ./textmodes ./url ./vc
=C2=A0 GEN =C2=A0 =C2=A0 =C2=A0loa= ddefs.el
Making generated-autoload-file local to =C2=A0*autoload-= file* while let-bound!
make[2]: Leaving directory 'c:/Devel/e= macs/repo/fresh/lisp'
make[2]: Entering directory 'c:/Dev= el/emacs/repo/fresh/lisp'
=C2=A0 ELC =C2=A0 =C2=A0 =C2=A0../l= isp/abbrev.elc
/usr/bin/sh: ../src/bootstrap-emacs.exe THEFILE=3D= ../lisp/abbrev.el: No such file or directory
Makefile:269: recipe= for target '../lisp/abbrev.elc' failed
make[2]: *** [../= lisp/abbrev.elc] Error 127
make[2]: Leaving directory 'c:/Dev= el/emacs/repo/fresh/lisp'
Makefile:693: recipe for target = 9;../lisp/abbrev.elc' failed
make[1]: *** [../lisp/abbrev.elc= ] Error 2
make[1]: Leaving directory 'c:/Devel/emacs/repo/fre= sh/src'
Makefile:398: recipe for target 'src' failed<= /div>
make: *** [src] Error 2


=


--001a11c3c47c1229fa052139d240--