From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.devel Subject: Re: Weird build problem Date: Sat, 11 Sep 2004 14:59:53 -0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <200409111459.53367.pogonyshev@gmx.net> References: <200409110224.32213.pogonyshev@gmx.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1094904380 15394 80.91.224.253 (11 Sep 2004 12:06:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Sep 2004 12:06:20 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 11 14:06:13 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C66dw-0005t5-00 for ; Sat, 11 Sep 2004 14:06:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C66jN-0007T2-0s for ged-emacs-devel@m.gmane.org; Sat, 11 Sep 2004 08:11:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C66jE-0007Sl-RQ for emacs-devel@gnu.org; Sat, 11 Sep 2004 08:11:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C66jE-0007SS-15 for emacs-devel@gnu.org; Sat, 11 Sep 2004 08:11:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C66jD-0007SP-TS for emacs-devel@gnu.org; Sat, 11 Sep 2004 08:11:39 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1C66cv-0001pN-Jn for emacs-devel@gnu.org; Sat, 11 Sep 2004 08:05:10 -0400 Original-Received: (qmail 28456 invoked by uid 65534); 11 Sep 2004 12:04:59 -0000 Original-Received: from unknown (EHLO localhost.localdomain) (195.50.12.118) by mail.gmx.net (mp013) with SMTP; 11 Sep 2004 14:04:59 +0200 X-Authenticated: #16844820 Original-To: emacs-devel@gnu.org User-Agent: KMail/1.4.3 In-Reply-To: <200409110224.32213.pogonyshev@gmx.net> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27006 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27006 I wrote: > I stumble into this problem when building Emacs (when > `bootstrap-emacs' is run for the first time from `lisp/'): > > =09Cannot 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=3D'-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/p= aul/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) (124= 28 . 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 . 4= 3) (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 . 4= 3) (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/p= aul/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/./esh= ell /home/paul/emacs/lisp/./international /home/paul/emacs/lisp/./languag= e /home/paul/emacs/lisp/./mail /home/paul/emacs/lisp/./mh-e /home/paul/em= acs/lisp/./net /home/paul/emacs/lisp/./obsolete /home/paul/emacs/lisp/./p= lay /home/paul/emacs/lisp/./term /home/paul/emacs/lisp/./toolbar /home/pa= ul/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=3D/home/paul/emacs/lisp ./bootstrap-em= acs --batch Cannot open load file: cl-macs [paul 14:54:30 src]$ EMACSLOADPATH=3D/home/paul/emacs/lisp:/home/paul/ema= cs/lisp/emacs-lisp ./bootstrap-emacs --batch --- Note that when `emacs-lisp' is added to load path, everything works -= -- [paul 14:55:22 src]$ EMACSLOADPATH=3D/home/paul/emacs/lisp gdb --args ./b= ootstrap-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 conditi= ons. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for detail= s. This GDB was configured as "i386-redhat-linux"... DISPLAY =3D :0 TERM =3D 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=3D143542739, noerror=3D138610609, nomessage=3D1= 38610609, nosuffix=3D138610609, must_suffix=3D138610657) at lread.c:673 673 register int fd =3D -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=3D143542739, noerror=3D138610609, nomessage=3D1= 38610609, nosuffix=3D138610609, must_suffix=3D138610657) at lread.c:673 673 register int fd =3D -1; (gdb) call debug_print (file) "cl-macs" (gdb) ret Make Fload return now? (y or n) y #0 0x08186973 in do_autoload (fundef=3D143600445, funname=3D138863417) a= t 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=3D143243477) 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