emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failure to bootstrap on Windows


From: Eli Zaretskii
Subject: Re: Failure to bootstrap on Windows
Date: Fri, 02 Oct 2015 18:15:13 +0300

> From: Juanma Barranquero <address@hidden>
> Date: Thu, 1 Oct 2015 23:45:47 +0200
> Cc: Emacs developers <address@hidden>
> 
> $ LC_ALL=C ./temacs -batch -l loadup dump
> Loading loadup.el (source)...
> Using load-path (c:/Devel/emacs/repo/trunk/lisp)
> Loading emacs-lisp/byte-run (source)...
> Loading emacs-lisp/backquote (source)...
> Loading subr (source)...
> Loading version (source)...
> Loading widget (source)...
> Loading custom (source)...
> Loading emacs-lisp/map-ynp (source)...
> Loading international/mule (source)...
> Loading international/mule-conf (source)...
> Loading env (source)...
> Loading format (source)...
> Loading bindings (source)...
> Loading window (source)...
> Loading files.el (source)...
> Loading emacs-lisp/macroexp...
> Loading cus-face.el (source)...
> Loading faces.el (source)...
> Loading button.el (source)...
> Loading loaddefs.el (source)...
> Growing hash table to: 105000
> Loading emacs-lisp/nadvice.el (source)...
> Eager macro-expansion failure: (error "Attempt to autoload
> gv--defun-declaration while preparing to dump")
> Eager macro-expansion failure: (error "Attempt to autoload
> gv--defun-declaration while preparing to dump")
> Attempt to autoload gv--defun-declaration while preparing to dump

Actually, something here looks very wrong to me.  From the fact that
all the Lisp files are loaded in source form I conclude that they have
not yet been compiled.  But in that case, the command that should run
is not what you show, it should be this:

  ./temacs --batch --load loadup bootstrap

Also, it shows on my system a much longer load-path:

  ./temacs --batch --load loadup bootstrap
  Loading loadup.el (source)...
  Using load-path (d:/gnu/git/emacs/emacs-test/lisp 
d:/gnu/git/emacs/emacs-test/lisp/emacs-lisp 
d:/gnu/git/emacs/emacs-test/lisp/language 
d:/gnu/git/emacs/emacs-test/lisp/international 
d:/gnu/git/emacs/emacs-test/lisp/textmodes d:/gnu/git/emacs/emacs-test/lisp/vc)

Finally, the loading report looks somewhat different here:

  Loading emacs-lisp/byte-run (source)...
  Loading emacs-lisp/backquote (source)...
  Loading subr (source)...
  Loading version (source)...
  Loading widget (source)...
  Loading custom (source)...
  Loading emacs-lisp/map-ynp (source)...
  Loading international/mule (source)...
  Loading international/mule-conf (source)...
  Loading env (source)...
  Loading format (source)...
  Loading bindings (source)...
  Loading window (source)...
  Loading d:/gnu/git/emacs/emacs-test/lisp/files.el (source)...
  Loading d:/gnu/git/emacs/emacs-test/lisp/emacs-lisp/macroexp.el (source)...
  Loading d:/gnu/git/emacs/emacs-test/lisp/emacs-lisp/pcase.el (source)...
  Loading d:/gnu/git/emacs/emacs-test/lisp/emacs-lisp/macroexp.el (source)...
  Loading d:/gnu/git/emacs/emacs-test/lisp/cus-face.el (source)...
  Loading d:/gnu/git/emacs/emacs-test/lisp/faces.el (source)...
  Loading d:/gnu/git/emacs/emacs-test/lisp/button.el (source)...
  Loading d:/gnu/git/emacs/emacs-test/lisp/ldefs-boot.el (source)...
  Loading d:/gnu/git/emacs/emacs-test/lisp/emacs-lisp/nadvice.el (source)...
  Loading d:/gnu/git/emacs/emacs-test/lisp/emacs-lisp/cl-preloaded.el 
(source)...
  Loading d:/gnu/git/emacs/emacs-test/lisp/minibuffer.el (source)...
  ...

(Note that it loads ldefs-boot.el, not loaddefs.el.)  Immediately
after this command, the build proceeds to compile the Lisp files we
preload, including nadvice.el and subr.el (and many others).  When
temacs is run afterwards, it loads the preloaded files in
byte-compiled form, not in source form:

  LC_ALL=C ./temacs -batch -l loadup dump
  Loading loadup.el (source)...
  Using load-path (d:/gnu/git/emacs/emacs-test/lisp)
  Loading emacs-lisp/byte-run...
  Loading emacs-lisp/backquote...
  Loading subr...
  Loading version...
  Loading widget...
  Loading custom...
  Loading emacs-lisp/map-ynp...
  Loading international/mule...
  Loading international/mule-conf...
  Loading env...
  Loading format...
  Loading bindings...
  Loading window...
  Loading files...
  Loading emacs-lisp/macroexp...
  Loading cus-face...
  Loading faces...
  Loading button...
  Loading loaddefs.el (source)...
  Loading emacs-lisp/nadvice...
  Loading emacs-lisp/cl-preloaded...
  Loading minibuffer...
  Loading abbrev...
  Loading simple...
  Loading help...
  Loading jka-cmpr-hook...
  ...

So it sounds like something else, earlier in your build, went wrong
and left the Lisp files un-compiled.  Could you please show the full
transcript of the build, starting with the command "make bootstrap"?
(If it's too long, please send it compressed.)  Perhaps the
compilation using bootstrap-emacs.exe fails for some reason, in which
case we should be investigating that failure.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]