[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New mirrors for my Emacs arch archive: miles@gnu.org--gnu-2005



Hi,

        Miles, thanks for the branch.

        Romain, How about adding these to debian/rules?
----------------------------------------------------------------------
confflags += --with-xpm
confflags += --with-jpeg
confflags += --with-tiff
confflags += --with-png
----------------------------------------------------------------------
        We already have "confflags += --with-gif" (may need to adjust
 build-depends, of course)

        The branch builds fine from source, but I ran into no end of
 problems while trying to use the debian emacs-snapshot branch with
 yours -- firstly, since src/xfns.c fails to build with gcc 4.01 in
 Sid, since src/frame.h defines Qdisplay as an extern Lisp_Object, but
 xfns.c defines it as a static Lisp_Object (on line 5286 or so), and
 gcc barfs on it now. Either Qdisplay is meant to be a shared resource
 (hence the extrern) or purely a local one (hence the static); I made
 it a shared resource by removing the static qualifier, but it should
 be checked by someone.

        But the show stopper is:
,----[ Lisp nesting exceeds `max-lisp-eval-depth' ]
| for el in \
|  /usr/local/src/arch/others/tmp/build/lisp/emacs-lisp/byte-opt.el \
|  /usr/local/src/arch/others/tmp/build/lisp/emacs-lisp/bytecomp.el \
|  /usr/local/src/arch/others/tmp/build/lisp/subr.el \
|  /usr/local/src/arch/others/tmp/build/lisp/progmodes/cc-mode.el \
|  /usr/local/src/arch/others/tmp/build/lisp/progmodes/cc-vars.el $els; \
|  do \ 
|   if test -f $el; \
|   then \
|     echo Compiling $el; \
|     EMACSLOADPATH=/usr/local/src/arch/others/tmp/build/lisp \
|       ../src/bootstrap-emacs -batch --no-site-file --multibyte -f \
|       batch-byte-compile-if-not-done $el || exit 1; \ 
|   fi \
| done
| Compiling /usr/local/src/arch/others/tmp/build/lisp/emacs-lisp/byte-opt.el
| >>Error occurred processing
|     /usr/local/src/arch/others/tmp/build/lisp/emacs-lisp/byte-opt.el:
|     error (("Lisp nesting exceeds `max-lisp-eval-depth'")) 
| make[2]: *** [compile] Error 1
| make[2]: Leaving directory `/usr/local/src/arch/others/tmp/build/lisp'
| make[1]: *** [bootstrap-build] Error 2
| make[1]: Leaving directory `/usr/local/src/arch/others/tmp/build'
| make: *** [build-stamp] Error 2
`----

        I even tried gross hacks like 
  find lisp -type f -name \*.el | while read el; do emacs -batch \
    --no-site-file --multibyte -f batch-byte-compile-if-not-done $$el;\
  done 
 in the rules file, but always there was something else that would
 fail.

        Am I missing something simple?

        manoj
-- 
I think we're in trouble. Han Solo
Manoj Srivastava   <srivasta@debian.org>  <http://www.debian.org/%7Esrivasta/>
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



Reply to: