On Monday, February 11, 2008 at 21:06:43, Toby Allsopp wrote:
> On Mon, Feb 11 2008, Robert Widhopf-Fenk wrote:
> 
> > On Sunday, February 10, 2008 at 19:41:09, Toby Allsopp wrote:
> >> I just installed xemacs 21.4 on my Debian system and it seems to compile
> >> okay.  There are a lot of errors like:
> >
> > Which Debian are you running?
> >
> > I am running stable with xemacs21-nomule/21.4.19-2 and
> > still get this error.
> 
> I'm running testing.  I installed the xemacs21-mule-21.4.21-1+b1 package
> and it worked.  I just uninstalled that and installed
> xemacs21-nomule-21.4.21-1+b1 and I can reproduce your error:
> 
> --8<---------------cut here---------------start------------->8---
> cd lisp; make
> make[1]: Entering directory `/home/toby/Projects/dvc/xemacs/lisp'
> lispdir=/usr/local/lib/xemacs/site-packages/lisp/dvc srcdir=. otherdirs="" 
> builddir="." xemacs -batch -no-site-file -no-autoloads -l ./dvc-build.el -f 
> package-maint-clean-some-elc
> Symbol's function definition is void: defstruct
> xemacs exiting
> --8<---------------cut here---------------end--------------->8---
> 
> So, the problem appears to be related to mule.  For me, removing
> -no-autoloads from FLAGS in the Makefile makes the problem go away.  I
> don't know anything about XEmacs, so I won't debug any further.
> Hopefully an XEmacs expert will offer some more intelligent advice, but
> you can try using the xemacs21-mule package or removing -no-autoloads
> for now.

Well, I am kind of XEmacs expert, but since DVC switched to
package-maint I experience built problems which are had to
debug as no backtrace is generated 

In order to track down things like that I once added the
(setq debug-on-error t) below.

=== modified file 'lisp/dvc-build.el'
--- lisp/dvc-build.el   2008-02-06 09:01:20 +0000
+++ lisp/dvc-build.el   2008-02-12 22:39:00 +0000
@@ -50,7 +50,7 @@
             (add-to-list 'load-path dir)))
        (split-string otherdirs " "))
 
-;(setq debug-on-error t)
+(setq debug-on-error t)
 
 ;; The name of our package
 (setq package-maint-pkg "dvc")

But my actual question was, how to debug these.  You could
cause similar problems in GNU Emacs, so how do you debug
them? 

Robert

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to