unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Pogonyshev <pogonyshev@gmx.net>
Subject: Re: Weird build problem
Date: Sat, 11 Sep 2004 14:59:53 -0200	[thread overview]
Message-ID: <200409111459.53367.pogonyshev@gmx.net> (raw)
In-Reply-To: <200409110224.32213.pogonyshev@gmx.net>

I wrote:

> I stumble into this problem when building Emacs (when
> `bootstrap-emacs' is run for the first time from `lisp/'):
>
> 	Cannot open load file: cl-macs

So, here is `make' and `gdb' output that shows the problem.



[paul 14:51:47 emacs]$ ./configure --with-x

--- Emacs configures just fine ---



[paul 14:52:13 emacs]$ make CFLAGS='-g' -s bootstrap
Loading loadup.el (source)...
Using load-path (/home/paul/emacs/lisp /home/paul/emacs/lisp/emacs-lisp /home/paul/emacs/lisp/language /home/paul/emacs/lisp/international /home/paul/emacs/lisp/textmodes)
Loading emacs-lisp/byte-run...
Loading emacs-lisp/backquote...
Loading subr...
Loading version.el (source)...
Loading widget (source)...
Loading custom...
Loading emacs-lisp/map-ynp...
Loading env...
Loading cus-start...
Loading international/mule (source)...
Loading international/mule-conf.el (source)...
Loading format...
Loading bindings...
Loading files...
Loading cus-face...
Loading faces...
Lists of integers (garbage collection statistics) are normal output
while building Emacs; they do not indicate a problem.
((20198 . 3819) (4241 . 4) (539 . 0) 121236 27516 (10 . 1) (17 . 0) (4730 . 499))
Loading loaddefs.el (source)...
((40999 . 3612) (6806 . 0) (548 . 5) 948670 27550 (36 . 33) (17 . 0) (12428 . 46))
Loading simple (source)...
Loading help (source)...
Loading international/mule-cmds (source)...
Loading case-table...
Loading international/utf-8 (source)...
Loading international/utf-16 (source)...
Loading international/characters (source)...
Loading international/latin-1 (source)...
Loading international/latin-2 (source)...
Loading international/latin-3 (source)...
Loading international/latin-4 (source)...
Loading international/latin-5 (source)...
Loading international/latin-8 (source)...
Loading international/latin-9 (source)...
Loading language/chinese (source)...
Loading language/cyrillic (source)...
Loading language/indian (source)...
Loading language/devanagari (source)...
Loading language/malayalam (source)...
Loading language/tamil (source)...
Loading language/kannada (source)...
Loading language/english (source)...
Loading language/ethiopic (source)...
Loading language/european (source)...
Loading language/czech (source)...
Loading language/slovak (source)...
Loading language/romanian (source)...
Loading language/greek (source)...
Loading language/hebrew (source)...
Loading language/japanese (source)...
Loading language/korean (source)...
Loading language/lao (source)...
Loading language/thai (source)...
Loading language/tibetan (source)...
Loading language/vietnamese (source)...
Loading language/misc-lang (source)...
Loading language/utf-8-lang (source)...
Loading language/georgian (source)...
Loading international/ucs-tables (source)...
Loading indent (source)...
Loading window (source)...
Loading frame...
Loading term/tty-colors (source)...
Loading font-core...
Loading facemenu...
Loading mouse (source)...
Loading scroll-bar (source)...
Loading select (source)...
Loading emacs-lisp/timer...
Loading isearch (source)...
((112521 . 10215) (9763 . 0) (566 . 151) 1220883 232105 (56 . 13) (17 . 43) (19594 . 377))
Loading menu-bar (source)...
Loading paths.el (source)...
Loading startup (source)...
Loading emacs-lisp/lisp...
Loading textmodes/page (source)...
Loading register (source)...
Loading textmodes/paragraphs (source)...
Loading emacs-lisp/lisp-mode...
Loading textmodes/text-mode (source)...
Loading textmodes/fill (source)...
((132897 . 5185) (10407 . 1) (571 . 146) 1298249 235244 (58 . 11) (17 . 43) (21775 . 653))
Loading replace (source)...
Loading abbrev...
Loading buff-menu...
Loading emacs-lisp/float-sup...
((137675 . 1710) (10616 . 1) (572 . 145) 1323037 236596 (64 . 5) (17 . 43) (22287 . 204))
Loading vc-hooks (source)...
Loading ediff-hook...
((142552 . 2320) (10990 . 8) (573 . 144) 1333593 236915 (64 . 5) (17 . 43) (22817 . 304))
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under names emacs and emacs-21.3.50
73324 pure bytes used
Directories: /home/paul/emacs/lisp/. /home/paul/emacs/lisp/./calc /home/paul/emacs/lisp/./gnus /home/paul/emacs/lisp/./textmodes /home/paul/emacs/lisp/./progmodes /home/paul/emacs/lisp/./calendar /home/paul/emacs/lisp/./emacs-lisp /home/paul/emacs/lisp/./emulation /home/paul/emacs/lisp/./eshell /home/paul/emacs/lisp/./international /home/paul/emacs/lisp/./language /home/paul/emacs/lisp/./mail /home/paul/emacs/lisp/./mh-e /home/paul/emacs/lisp/./net /home/paul/emacs/lisp/./obsolete /home/paul/emacs/lisp/./play /home/paul/emacs/lisp/./term /home/paul/emacs/lisp/./toolbar /home/paul/emacs/lisp/./url
Cannot open load file: cl-macs
make[1]: *** [autoloads] Error 255
make: *** [bootstrap] Error 2



[paul 14:53:16 emacs]$ cd src
[paul 14:53:32 src]$ EMACSLOADPATH=/home/paul/emacs/lisp ./bootstrap-emacs --batch
Cannot open load file: cl-macs
[paul 14:54:30 src]$ EMACSLOADPATH=/home/paul/emacs/lisp:/home/paul/emacs/lisp/emacs-lisp ./bootstrap-emacs --batch

--- Note that when `emacs-lisp' is added to load path, everything works ---



[paul 14:55:22 src]$ EMACSLOADPATH=/home/paul/emacs/lisp gdb --args ./bootstrap-emacs --batch
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
DISPLAY = :0
TERM = xterm
Breakpoint 1 at 0x8108c4c: file emacs.c, line 428.
Breakpoint 2 at 0x80e4895: file xterm.c, line 7839.
(gdb) b Fload
Breakpoint 3 at 0x819f0ad: file lread.c, line 673.
(gdb) r
Starting program: /home/paul/emacs/src/bootstrap-emacs -geometry 80x40+0+0

Breakpoint 3, Fload (file=143542739, noerror=138610609, nomessage=138610609, nosuffix=138610609, must_suffix=138610657)
    at lread.c:673
673       register int fd = -1;
(gdb) c
Continuing.
Cannot open load file: cl-macs

--- Note that Emacs fails on the first invocation of Fload() ---

Program exited with code 0377.
(gdb) r
Starting program: /home/paul/emacs/src/bootstrap-emacs -geometry 80x40+0+0

Breakpoint 3, Fload (file=143542739, noerror=138610609, nomessage=138610609, nosuffix=138610609, must_suffix=138610657)
    at lread.c:673
673       register int fd = -1;
(gdb) call debug_print (file)
"cl-macs"
(gdb) ret
Make Fload return now? (y or n) y
#0  0x08186973 in do_autoload (fundef=143600445, funname=138863417) at eval.c:1936
1936      Fload (Fcar (Fcdr (fundef)), Qnil, noninteractive ? Qt : Qnil, Qnil, Qt);
(gdb) call debug_print (fundef)
(autoload "cl-macs" nil nil t)
(gdb) ret
Make do_autoload return now? (y or n) y
#0  0x081870e1 in Feval (form=143243477) at eval.c:2143
2143              do_autoload (fun, original_fun);
(gdb) call debug_print (form)
(dolist (dir load-path) (let ((default-directory dir)) (load (expand-file-name "subdirs.el") t t t)) (let ((default-directory dir)) (load (expand-file-name "leim-list.el") t t t)))

--- This is the form in `startup.el' I mentioned in the previous message ---

(gdb) The program is running.  Exit anyway? (y or n) y

  reply	other threads:[~2004-09-11 16:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-11  4:24 Weird build problem Paul Pogonyshev
2004-09-11 16:59 ` Paul Pogonyshev [this message]
2004-09-13 23:04 ` Richard Stallman
2004-09-14 20:53   ` Paul Pogonyshev
2004-09-15 15:43     ` Richard Stallman
2004-09-15 23:17       ` Paul Pogonyshev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200409111459.53367.pogonyshev@gmx.net \
    --to=pogonyshev@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).