From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Failure to bootstrap on Windows Date: Sat, 03 Oct 2015 11:35:00 +0300 Message-ID: <83mvw04aff.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1443861336 26785 80.91.229.3 (3 Oct 2015 08:35:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Oct 2015 08:35:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 03 10:35:27 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 1ZiIHt-0000s8-Ei for ged-emacs-devel@m.gmane.org; Sat, 03 Oct 2015 10:35:25 +0200 Original-Received: from localhost ([::1]:37444 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiIHs-0001TD-PI for ged-emacs-devel@m.gmane.org; Sat, 03 Oct 2015 04:35:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiIHf-0001Sz-Kr for emacs-devel@gnu.org; Sat, 03 Oct 2015 04:35:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZiIHc-0001bc-E5 for emacs-devel@gnu.org; Sat, 03 Oct 2015 04:35:11 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:49999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiIHc-0001Yf-19 for emacs-devel@gnu.org; Sat, 03 Oct 2015 04:35:08 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NVM00H00Y7OZ800@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Sat, 03 Oct 2015 11:35:06 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NVM00HZUYIHT560@a-mtaout20.012.net.il>; Sat, 03 Oct 2015 11:35:06 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:190777 Archived-At: > From: Juanma Barranquero > Date: Fri, 2 Oct 2015 23:49:43 +0200 > Cc: Emacs developers > > > Please show the full transcript of such a build in a freshly cloned > > repository. > > Attached. Thanks. Here's the problem: > 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/symref ./cedet/semantic/wisent ./cedet/srecode ./emacs-lisp ./emulation ./erc ./eshell ./gnus ./international ./language ./leim ./leim/quail ./mail ./mh-e ./net ./nxml ./org ./play ./progmodes ./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' > GEN ../etc/DOC On my system, after generating loaddefs.el, the build proceeds to compile many Lisp files: make -C ../lisp autoloads EMACS="../src/bootstrap-emacs.exe" make[3]: Entering directory `/d/gnu/git/emacs/emacs-test/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/symref ./cedet/semantic/wisent ./cedet/srecode ./emacs-lisp ./emulation ./erc ./eshell ./gnus ./international ./language ./leim ./leim/ja-dic ./leim/quail ./mail ./mh-e ./net ./nxml ./org ./play ./progmodes ./textmodes ./url ./vc GEN loaddefs.el Making generated-autoload-file local to *autoload-file* while let-bound! make[3]: Leaving directory `/d/gnu/git/emacs/emacs-test/lisp' make[3]: Entering directory `/d/gnu/git/emacs/emacs-test/lisp' ELC ../lisp/abbrev.elc In abbrev--default-expand: abbrev.el:845:8:Warning: `with-wrapper-hook' is an obsolete macro (as of 24.4); use a -function variable modified by `add-function'. make[3]: Leaving directory `/d/gnu/git/emacs/emacs-test/lisp' make[3]: Entering directory `/d/gnu/git/emacs/emacs-test/lisp' ELC ../lisp/bindings.elc make[3]: Leaving directory `/d/gnu/git/emacs/emacs-test/lisp' make[3]: Entering directory `/d/gnu/git/emacs/emacs-test/lisp' ELC ../lisp/buff-menu.elc make[3]: Leaving directory `/d/gnu/git/emacs/emacs-test/lisp' make[3]: Entering directory `/d/gnu/git/emacs/emacs-test/lisp' ELC ../lisp/button.elc But on your system, this step is skipped, and the build proceeds directly to generating etc/DOC, leaving all the Lisp files un-compiled. 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. If this guess is correct, we need to look at what happens when this file is generated. That file is also not regenerated each bootstrap, which might explain why re-running "make" didn't fix the problem for you. 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. > CC image.o > In file included from c:/Devel/emacs/include/X11/xpm.h:70:0, > from image.c:3154: > c:/Devel/emacs/include/X11/simx.h:143:0: warning: "close" redefined [enabled by default] > #define close _close > ^ > In file included from ./conf_post.h:32:0, > from ./config.h:1890, > from image.c:20: > c:/Devel/emacs/repo/fresh/nt/inc/ms-w32.h:221:0: note: this is the location of the previous definition > #define close sys_close > ^ > In file included from c:/Devel/emacs/include/X11/xpm.h:70:0, > from image.c:3154: > c:/Devel/emacs/include/X11/simx.h:146:0: warning: "open" redefined [enabled by default] > #define open _open > ^ > In file included from ./conf_post.h:32:0, > from ./config.h:1890, > from image.c:20: > c:/Devel/emacs/repo/fresh/nt/inc/ms-w32.h:234:0: note: this is the location of the previous definition > #define open sys_open > ^ These are problems in the header included in my port of libXpm. They are not fatal, but they are problems nonetheless. I will fix them and upload a new distribution. Please use that when it's available. Thanks.