Error building debs for multi-tty
I have been trying to build amd64 debs of the multi-tty branch of
emacs (http://lorentey.hu/project/emacs.html.en) and I have been
having an odd problem. If I do a ./configure && make bootstrap &&
make, there is no problem. I get an emacs that is functional, does UTF
and everything else.
However, if I build it using dpkg-buildpackage (the scripts are also
by the developer), I get an error when updating the leim list. After
some probing, I found that the error in fact occurs in vc-arch.el as
evidenced in the debug-on-error log.
I do not think that this error is particularly restricted to
emacs-multi-tty as any CVS emacs that I get usually results in this
error. Nor does the architecture seem to have any role: i386 has the
same problem.
The interesting part of the logs I have pasted below.
---error-log---
if [ x`(cd /home/alok/src/emacs/multi-tty/leim && /bin/pwd)` = x`(/bin/pwd)` ] ; then \
EMACSLOADPATH=/home/alok/src/emacs/multi-tty/leim/../lisp LC_ALL=C ../src/emacs -batch --no-init-file --no-site-file --multibyte -l /home/alok/src/emacs/multi-tty/leim/../lisp/international/quail \
--eval "(progn (toggle-debug-on-error) (update-leim-list-file \".\"))" ; \
else \
EMACSLOADPATH=/home/alok/src/emacs/multi-tty/leim/../lisp LC_ALL=C ../src/emacs -batch --no-init-file --no-site-file --multibyte -l /home/alok/src/emacs/multi-tty/leim/../lisp/international/quail \
--eval "(update-leim-list-file \".\" \"/home/alok/src/emacs/multi-tty/leim\")" ; \
fi
Debug on Error enabled
Updating /home/alok/src/emacs/multi-tty/leim/leim-list.el ...
Loading vc-arch...
Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
logand(nil 128)
vc-mode-line("/home/alok/src/emacs/multi-tty/leim/leim-list.el")
vc-find-file-hook()
run-hooks(find-file-hook)
after-find-file(t t)
find-file-noselect-1(#<buffer leim-list.el> "~/src/emacs/multi-tty/leim/leim-list.el" nil nil "~/src/emacs/multi-tty/leim/leim-list.el" nil)
find-file-noselect("/home/alok/src/emacs/multi-tty/leim/leim-list.el")
quail-update-leim-list-file(".")
apply(quail-update-leim-list-file ".")
update-leim-list-file(".")
(progn (toggle-debug-on-error) (update-leim-list-file "."))
eval((progn (toggle-debug-on-error) (update-leim-list-file ".")))
command-line-1(("-l" "/home/alok/src/emacs/multi-tty/leim/../lisp/international/quail" "--eval" "(progn (toggle-debug-on-error) (update-leim-list-file \".\"))"))
command-line()
normal-top-level()
---error-log---
--
Alok
Hedonist for hire... no job too easy!
Reply to: