From: Eli Zaretskii <eliz@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Failure to bootstrap on Windows
Date: Sat, 03 Oct 2015 11:35:00 +0300 [thread overview]
Message-ID: <83mvw04aff.fsf@gnu.org> (raw)
In-Reply-To: <CAAeL0SRqdaT2L3xjC=qFjSHnPheMipSCvZM3tNSANjzXYobfsA@mail.gmail.com>
> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Fri, 2 Oct 2015 23:49:43 +0200
> Cc: Emacs developers <emacs-devel@gnu.org>
>
> > 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 <foo>-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.
next prev parent reply other threads:[~2015-10-03 8:35 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-30 8:29 Failure to bootstrap on Windows Juanma Barranquero
2015-10-01 9:55 ` Eli Zaretskii
2015-10-01 14:07 ` Juanma Barranquero
2015-10-01 16:47 ` Dani Moncayo
2015-10-01 21:34 ` Juanma Barranquero
2015-10-01 17:02 ` Eli Zaretskii
2015-10-01 20:52 ` Juanma Barranquero
2015-10-01 21:01 ` Eli Zaretskii
2015-10-01 21:45 ` Juanma Barranquero
2015-10-02 6:41 ` Eli Zaretskii
2015-10-02 7:13 ` Juanma Barranquero
2015-10-02 8:36 ` Eli Zaretskii
2015-10-02 9:58 ` Juanma Barranquero
2015-10-02 10:14 ` Eli Zaretskii
2015-10-02 10:21 ` Juanma Barranquero
2015-10-02 15:15 ` Eli Zaretskii
2015-10-02 15:45 ` Juanma Barranquero
2015-10-02 17:47 ` Eli Zaretskii
2015-10-02 18:48 ` Juanma Barranquero
2015-10-02 19:07 ` Eli Zaretskii
2015-10-02 21:49 ` Juanma Barranquero
2015-10-03 8:35 ` Eli Zaretskii [this message]
2015-10-03 10:01 ` Eli Zaretskii
2015-10-03 21:17 ` Juanma Barranquero
2015-10-04 2:53 ` Juanma Barranquero
2015-10-04 6:56 ` Eli Zaretskii
2015-10-04 10:07 ` Juanma Barranquero
2015-10-04 10:18 ` Werner LEMBERG
2015-10-04 11:00 ` Eli Zaretskii
2015-10-04 11:48 ` Juanma Barranquero
2015-10-04 10:59 ` Eli Zaretskii
2015-10-04 11:51 ` Juanma Barranquero
2015-10-04 12:02 ` Eli Zaretskii
2015-10-04 14:41 ` Stephen Leake
2015-10-04 16:56 ` Eli Zaretskii
2015-10-04 6:36 ` Eli Zaretskii
2015-10-02 8:37 ` martin rudalics
2015-10-02 9:37 ` Juanma Barranquero
2015-10-02 9:52 ` martin rudalics
2015-10-02 13:01 ` Stephen Leake
2015-10-02 13:32 ` Juanma Barranquero
2015-10-02 13:55 ` Eli Zaretskii
2015-10-02 15:02 ` Juanma Barranquero
2015-10-02 15:20 ` Eli Zaretskii
2015-10-02 15:31 ` Juanma Barranquero
2015-10-02 16:23 ` martin rudalics
2015-10-02 18:03 ` Eli Zaretskii
2015-10-03 8:31 ` martin rudalics
2015-10-03 10:00 ` Eli Zaretskii
2015-10-02 10:04 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83mvw04aff.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.