all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* compilation dies loading vc-arch.el if the source is actually in arch
@ 2007-04-09 23:08 Miles Bader
  2007-04-11  2:43 ` Chong Yidong
  2007-04-24 21:18 ` Stefan Monnier
  0 siblings, 2 replies; 4+ messages in thread
From: Miles Bader @ 2007-04-09 23:08 UTC (permalink / raw)
  To: Stefan Monnier, emacs-devel

I've reported this before, but was always a bit hesitant because I
wasn't using stock Emacs sources, and figured maybe I was screwing
something up.  This time I was using a fresh CVS checkout of the trunk
though, doing "make bootstrap".

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...

[I also tried another compilation using "env - make bootstrap" in case
it was getting screwed by LANG or something, which sometimes happened in
the past, but got the same result.  The make log in that case looks
similar except that it doesn't load anything from .../lisp/international
before loading vc-arch.el.]

Here's the make log once it starts lisp compilation:

   ...
   (cd lisp; make -w bootstrap EMACS=../src/bootstrap-emacs)
   make[2]: Entering directory `/srv/data/home/m/miles/build/emacs/devo/lisp'
   wd=/home/m/miles/src/emacs/devo/lisp; subdirs=`(cd $wd; find . -type d -print)`; for file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* ) ;; *) wins="$wins $wd/$file" ;; esac; done; \
           for file in $wins; do \
              /home/m/miles/src/emacs/devo/lisp/../update-subdirs $file; \
           done;
   wd=/home/m/miles/src/emacs/devo/lisp; subdirs=`(cd $wd; find . -type d -print)`; for file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* | */obsolete | */term ) ;; *) wins="$wins $wd/$file" ;; esac; done; \
           echo Directories: $wins; \
           ../src/bootstrap-emacs -batch --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
   Directories: /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
   Loading /home/m/miles/src/emacs/devo/lisp/international/subst-ksc.el (source)...
   Loading /home/m/miles/src/emacs/devo/lisp/international/subst-gb2312.el (source)...
   Loading /home/m/miles/src/emacs/devo/lisp/international/subst-big5.el (source)...
   Loading /home/m/miles/src/emacs/devo/lisp/international/subst-jis.el (source)...
   Loading /home/m/miles/src/emacs/devo/lisp/vc-arch.el (source)...
   Lisp nesting exceeds `max-lisp-eval-depth'
   make[2]: *** [autoloads] Error 255
   make[2]: Leaving directory `/srv/data/home/m/miles/build/emacs/devo/lisp'
   make[1]: *** [bootstrap-build] Error 2
   make[1]: Leaving directory `/srv/data/home/m/miles/build/emacs/devo'
   make: *** [bootstrap] Error 2

Thanks,

-Miles
-- 
I'm beginning to think that life is just one long Yoko Ono album; no rhyme
or reason, just a lot of incoherent shrieks and then it's over.  --Ian Wolff

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: compilation dies loading vc-arch.el if the source is actually in arch
  2007-04-09 23:08 compilation dies loading vc-arch.el if the source is actually in arch Miles Bader
@ 2007-04-11  2:43 ` Chong Yidong
  2007-04-11 23:18   ` Miles Bader
  2007-04-24 21:18 ` Stefan Monnier
  1 sibling, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2007-04-11  2:43 UTC (permalink / raw)
  To: Miles Bader; +Cc: Stefan Monnier, emacs-devel

Miles Bader <miles@gnu.org> writes:

> I've reported this before, but was always a bit hesitant because I
> wasn't using stock Emacs sources, and figured maybe I was screwing
> something up.  This time I was using a fresh CVS checkout of the trunk
> though, doing "make bootstrap".
>
> 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: compilation dies loading vc-arch.el if the source is actually in arch
  2007-04-11  2:43 ` Chong Yidong
@ 2007-04-11 23:18   ` Miles Bader
  0 siblings, 0 replies; 4+ messages in thread
From: Miles Bader @ 2007-04-11 23:18 UTC (permalink / raw)
  To: Chong Yidong; +Cc: Stefan Monnier, emacs-devel

Chong Yidong <cyd@stupidchicken.com> 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
   emacs@sv.gnu.org%emacs--devo--0--patch-669
   emacs@sv.gnu.org%emacs--devo--0--patch-674
   emacs@sv.gnu.org%emacs--devo--0--patch-685
   emacs@sv.gnu.org%emacs--devo--0--patch-695
   emacs@sv.gnu.org%emacs--devo--0--patch-697

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: compilation dies loading vc-arch.el if the source is actually in arch
  2007-04-09 23:08 compilation dies loading vc-arch.el if the source is actually in arch Miles Bader
  2007-04-11  2:43 ` Chong Yidong
@ 2007-04-24 21:18 ` Stefan Monnier
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2007-04-24 21:18 UTC (permalink / raw)
  To: Miles Bader; +Cc: emacs-devel

> I've reported this before, but was always a bit hesitant because I
> wasn't using stock Emacs sources, and figured maybe I was screwing
> something up.  This time I was using a fresh CVS checkout of the trunk
> though, doing "make bootstrap".

> 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...

> [I also tried another compilation using "env - make bootstrap" in case
> it was getting screwed by LANG or something, which sometimes happened in
> the past, but got the same result.  The make log in that case looks
> similar except that it doesn't load anything from .../lisp/international
> before loading vc-arch.el.]

> Here's the make log once it starts lisp compilation:

Have you tried to reproduce the bug from GDB to get an `xbacktrace'?


        Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-04-24 21:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-09 23:08 compilation dies loading vc-arch.el if the source is actually in arch Miles Bader
2007-04-11  2:43 ` Chong Yidong
2007-04-11 23:18   ` Miles Bader
2007-04-24 21:18 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.