Fails to byte compile in latest commit

York Zhao gtdplatform at gmail.com
Thu Aug 11 01:04:31 CEST 2011


Hi Frank,

Thanks for your works. But it still seems to be problematic. Here's the
detailed messages and hope that helps.

$ make
rm -f .depend
for f in evil-common.el evil-compatibility.el evil-digraphs.el evil-ex.el
evil-insert.el evil-integration.el evil-interactive.el evil-maps.el evil
-motions.el evil-operators.el evil-repeat.el evil-replace.el evil-search.el
evil-states.el evil-types.el evil-undo.el evil-vars.el evil-visual.el
evil-window.el evil.el; do \
            sed -n "s/(require '\(evil-.*\))/${f}c: \1.el/p" $f >> .depend;\
        done
emacs --batch -Q -L . -L lib -f batch-byte-compile evil-common.el
Source file `d:/Persistent/emacs/lisp/evil/evil-vars.el' newer than
byte-compiled file
Wrote d:/Persistent/emacs/lisp/evil/evil-common.elc
emacs --batch -Q -L . -L lib -f batch-byte-compile evil-digraphs.el
Source file `d:/Persistent/emacs/lisp/evil/evil-vars.el' newer than
byte-compiled file
Wrote d:/Persistent/emacs/lisp/evil/evil-digraphs.elc
emacs --batch -Q -L . -L lib -f batch-byte-compile evil-ex.el
Source file `d:/Persistent/emacs/lisp/evil/evil-vars.el' newer than
byte-compiled file

In toplevel form:
evil-ex.el:10:13:Warning: reference to free variable `evil-ex-keymap'

In evil-ex-state-p:
evil-ex.el:14:8:Warning: reference to free variable `evil-ex-current-buffer'

In evil-ex-complete-command:
evil-ex.el:264:32:Warning: reference to free variable `evil-ex-commands'

In evil-ex-complete-argument:
evil-ex.el:291:39:Warning: reference to free variable
    `evil-ex-arg-types-alist'

In evil-ex-argument-handler-file:
evil-ex.el:312:45:Warning: reference to free variable
`evil-ex-current-buffer'

In evil-ex-update:
evil-ex.el:356:11:Warning: reference to free variable `evil-ex-current-cmd'
evil-ex.el:372:47:Warning: assignment to free variable `evil-ex-current-cmd'
evil-ex.el:365:27:Warning: assignment to free variable `evil-ex-current-arg'
evil-ex.el:359:40:Warning: assignment to free variable
    `evil-ex-current-cmd-end'
evil-ex.el:359:40:Warning: reference to free variable
    `evil-ex-current-cmd-end'
evil-ex.el:359:11:Warning: assignment to free variable
    `evil-ex-current-cmd-begin'
evil-ex.el:360:11:Warning: assignment to free variable
    `evil-ex-current-cmd-force'
evil-ex.el:364:13:Warning: assignment to free variable
`evil-ex-current-range'
evil-ex.el:366:25:Warning: reference to free variable `evil-ex-current-arg'
evil-ex.el:373:47:Warning: reference to free variable `evil-ex-commands'
evil-ex.el:380:65:Warning: reference to free variable
    `evil-ex-arg-types-alist'
evil-ex.el:382:15:Warning: reference to free variable
    `evil-ex-current-arg-handler'
evil-ex.el:385:15:Warning: assignment to free variable
    `evil-ex-current-arg-handler'

In evil-ex-binding:
evil-ex.el:392:29:Warning: reference to free variable `evil-ex-commands'

In evil-ex-completed-binding:
evil-ex.el:399:52:Warning: reference to free variable `evil-ex-commands'

In evil-ex-call-current-command:
evil-ex.el:404:45:Warning: reference to free variable `evil-ex-current-cmd'
evil-ex.el:406:30:Warning: reference to free variable
`evil-ex-current-buffer'
evil-ex.el:411:26:Warning: reference to free variable
`evil-ex-current-range'

In evil-ex-get-current-range:
evil-ex.el:436:14:Warning: reference to free variable
`evil-ex-current-range'

In evil-ex-teardown:
evil-ex.el:499:9:Warning: reference to free variable
    `evil-ex-current-arg-handler'

In evil-ex-read-command:
evil-ex.el:506:42:Warning: reference to free variable `evil-ex-keymap'
Wrote d:/Persistent/emacs/lisp/evil/evil-ex.elc
emacs --batch -Q -L . -L lib -f batch-byte-compile evil-interactive.el
Wrote d:/Persistent/emacs/lisp/evil/evil-interactive.elc
emacs --batch -Q -L . -L lib -f batch-byte-compile evil-maps.el
Source file `d:/Persistent/emacs/lisp/evil/evil-vars.el' newer than
byte-compiled file
Source file `d:/Persistent/emacs/lisp/evil/evil-operators.el' newer than
byte-compiled file

In toplevel form:
evil-maps.el:9:1:Error: Symbol's value as variable is void: evil-ex-keymap
make: *** [evil-maps.elc] Error 1

Thanks,

York


On Wed, Aug 10, 2011 at 2:12 PM, Frank Fischer <
frank.fischer at mathematik.tu-chemnitz.de> wrote:
Am Wed, 10 Aug 2011 11:12:22 -0400
schrieb York Zhao <gtdplatform at gmail.com>:

> Hi,
>
> I just pulled the latest version of evil and noticed some errors and
> lots of warnings when I did "make" to byte compile. I then checked
> the time stamp of the .elc files and noticed that some of the some
> files haven't been byte compiled.

The problem was that the dependencies between the single source files
had not been tracked. This is no problem if "make compile" compiles all
sources files each time it is invoked. But the new Makefile compiles
only those files that have changed. Commit 6f2e622 should
automatically detect those dependencies.

Frank

_______________________________________________
implementations-list mailing list
implementations-list at lists.ourproject.org
https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ourproject.org/pipermail/implementations-list/attachments/20110810/648ad7a8/attachment-0001.htm 


More information about the implementations-list mailing list