[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compilation dies loading vc-arch.el if the source is actually in arc
From: |
Miles Bader |
Subject: |
Re: compilation dies loading vc-arch.el if the source is actually in arch |
Date: |
Thu, 12 Apr 2007 08:18:32 +0900 |
Chong Yidong <address@hidden> writes:
>> The source directories below are of course in an arch working directory
>> (/home/m/miles/src/emacs/devo). I imagine most people don't have
>> problems because they're not using arch...
>
> What do you mean by "arch working directory"? I just pulled a copy of
> Emacs from the sv.gnu.org arch repository, and make bootstrap
> completes fine.
That the Emacs source directory is checked-out from arch -- e.g., it has
an {arch} subdirectory. I could be totally wrong about the necessary
preconditions, of course. :-)
It also happens that I build in a separate build-directory, which might
affect things (my build dir = /home/m/miles/build/emacs/devo, source dir
= /srv/data/home/m/miles/src/emacs/devo).
Hmmm, also I wonder if the presence of things like {arch}/,,inode-sigs
affects things -- I notice that vc-arch.el tends to load files from
there when you visit a file checked out from arch.
$ ls {arch}/,,inode-sigs
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
Any ideas on how to debug it? I can reproduce the error in an
interactive emacs, by doing:
$ cd /home/m/miles/build/emacs/devo/lisp
$ wins='/home/m/miles/src/emacs/devo/lisp/.
/home/m/miles/src/emacs/devo/lisp/./calc
/home/m/miles/src/emacs/devo/lisp/./calendar
/home/m/miles/src/emacs/devo/lisp/./emacs-lisp
/home/m/miles/src/emacs/devo/lisp/./emulation
/home/m/miles/src/emacs/devo/lisp/./erc
/home/m/miles/src/emacs/devo/lisp/./eshell
/home/m/miles/src/emacs/devo/lisp/./gnus
/home/m/miles/src/emacs/devo/lisp/./international
/home/m/miles/src/emacs/devo/lisp/./language
/home/m/miles/src/emacs/devo/lisp/./mail
/home/m/miles/src/emacs/devo/lisp/./mh-e
/home/m/miles/src/emacs/devo/lisp/./net
/home/m/miles/src/emacs/devo/lisp/./play
/home/m/miles/src/emacs/devo/lisp/./progmodes
/home/m/miles/src/emacs/devo/lisp/./textmodes
/home/m/miles/src/emacs/devo/lisp/./url'
$ ../src/bootstrap-emacs --no-site-file --multibyte -l autoload --eval
'(setq generated-autoload-file
"/home/m/miles/src/emacs/devo/lisp/loaddefs.el")' -f batch-update-autoloads
$wins
But I'm not sure how to get a lisp stack backtrace -- I tried adding the
command-line option --eval '(setq debug-on-error t) but it seems to have
no effect. If I subsequently try to manually invoke the same command
inside the resulting emacs session (which is still running) it succeeds!
Thanks,
-Miles
--
Love is a snowmobile racing across the tundra. Suddenly it flips over,
pinning you underneath. At night the ice weasels come. --Nietzsche