tsgates/git-emacs

make gives several warning and fails

Opened this issue · 3 comments

Cloned git-emacs into new directory, ran make:

Compiling
rm -f *.elc
emacs -Q --batch ""-L /usr/share/doc/git-core/contrib/emacs -L ~/.emacs.d/"" -L . -f batch-byte-compile *.el
Ido mode enabled
Ido mode disabled

In end of data:
git--test.el:290:3:Warning: the function `git--uninstall-state-mark-modeline'
is not known to be defined.
Wrote /home/tamara/Projects/git-emacs/git--test.elc

In git-blame-filter:
git-blame.el:280:31:Warning: save-excursion' defeated byset-buffer'

In git-blame-new-commit:
git-blame.el:323:53:Warning: save-excursion' defeated byset-buffer'
git-blame.el:338:28:Warning: `goto-line' used from Lisp code
That command is designed for interactive use only
Wrote /home/tamara/Projects/git-emacs/git-blame.elc
Wrote /home/tamara/Projects/git-emacs/git-emacs-autoloads.elc

In toplevel form:
git-emacs.el:88:1:Warning: cl package required at runtime

In git--actual-push:
git-emacs.el:1030:39:Warning: reference to free variable `dry-run-output'

In git--resolve-merge-buffer:
git-emacs.el:1350:12:Warning: default-major-mode' is an obsolete variable (as of Emacs 23.2); usemajor-mode' instead.

In git--branch-mode-refresh:
git-emacs.el:2191:23:Warning: goto-line' used from Lisp code That command is designed for interactive use only git-emacs.el:2195:21:Warning:previous-line' used from Lisp code
That command is designed for interactive use only
git-emacs.el:2197:10:Warning: `next-line' used from Lisp code
That command is designed for interactive use only
Wrote /home/tamara/Projects/git-emacs/git-emacs.elc
Wrote /home/tamara/Projects/git-emacs/git-global-keys.elc

In toplevel form:
git-load-example.el:4:30:Error: Cannot open load file: soo-load
Wrote /home/tamara/Projects/git-emacs/git-log.elc
Wrote /home/tamara/Projects/git-emacs/git-modeline.elc
Wrote /home/tamara/Projects/git-emacs/git-status.elc
make: *** [compile] Error 1

thanks. fixed

Hi, thanks. That's better. However, I still got an error at the end of the make:

Running tests
emacs -Q --batch ""-L /usr/share/doc/git-core/contrib/emacs -L ~/.emacs.d/"" -L . -l git--test.el -f git-regression
Ido mode enabled
Ido mode disabled
Running unittest suite...
Created temporary test dir /tmp/git-emacs-test-9601nQo/
Initialized empty Git repository in /tmp/git-emacs-test-9601nQo/.git/
Set user.name(Tamara Temple) and user.email(tamouse@gmail.com)
Saving file /tmp/git-emacs-test-9601nQo/f1...
Wrote /tmp/git-emacs-test-9601nQo/f1
Saving file /tmp/git-emacs-tmp9601R3o...
Wrote /tmp/git-emacs-tmp9601R3o
Tagged current tree with at-first-commit
Tagged current tree with at-first-commit (previously 30d82a0)
Saving file /tmp/git-emacs-test-9601nQo/f1...
Wrote /tmp/git-emacs-test-9601nQo/f1
Reading git status...
Reading git status...
Reading git status...done
Starting new Ispell process [default] ...
Type 'C-c C-c' to commit, 'C-c C-q' to cancel
Saving file /tmp/git-emacs-tmp9601eBv...
Wrote /tmp/git-emacs-tmp9601eBv
[master 6d5963e] another test commit
1 files changed, 1 insertions(+), 1 deletions(-)
Deleted temporary test dir /tmp/git-emacs-test-9601nQo
Assertion failed: (eq (quote uptodate) (git--status-file "f1"))
make: *** [test] Error 255

I got the same error.
But it still works except for one thing. The dot supposed to display in the modeline to indicates the state of the source file is missing while there is a upper class char such as "U" "M" instead.

Running tests
emacs -Q --batch ""-L /usr/share/doc/git-core/contrib/emacs -L ~/.emacs.d/"" -L . -l git--test.el -f git-regression
Ido mode enabled
Ido mode disabled
Running unittest suite...
Created temporary test dir /tmp/git-emacs-test-6723lyJ/
Initialized empty Git repository in /tmp/git-emacs-test-6723lyJ/.git/
Set user.name(Qiang Yin) and user.email(qyin@debian-latop)
Saving file /tmp/git-emacs-test-6723lyJ/f1...
Wrote /tmp/git-emacs-test-6723lyJ/f1
Saving file /tmp/git-emacs-tmp6723ZYc...
Wrote /tmp/git-emacs-tmp6723ZYc
Tagged current tree with at-first-commit
Tagged current tree with at-first-commit (previously a7ab3bf)
Saving file /tmp/git-emacs-test-6723lyJ/f1...
Wrote /tmp/git-emacs-test-6723lyJ/f1
Reading git status...
Reading git status...
Reading git status...done
Starting new Ispell process [default] ...
Type 'C-c C-c' to commit, 'C-c C-q' to cancel
Saving file /tmp/git-emacs-tmp6723mii...
Wrote /tmp/git-emacs-tmp6723mii
[master 685ecfd] another test commit
1 files changed, 1 insertions(+), 1 deletions(-)
Deleted temporary test dir /tmp/git-emacs-test-6723lyJ
Assertion failed: (eq (quote uptodate) (git--status-file "f1"))
make: *** [test] Error 255