From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2151: 23.0.90; Building the 23.0.90 pretest recompiles Lisp files Date: Mon, 02 Feb 2009 01:03:52 -0500 Message-ID: Reply-To: Eli Zaretskii , 2151@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1233555863 29536 80.91.229.12 (2 Feb 2009 06:24:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2009 06:24:23 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 02 07:25:37 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LTsEx-0003Ev-Pi for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Feb 2009 07:25:04 +0100 Original-Received: from localhost ([127.0.0.1]:37805 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTsDf-0001Bt-0x for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Feb 2009 01:23:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTsDY-0001AM-UA for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 01:23:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTsDX-00019V-RW for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 01:23:36 -0500 Original-Received: from [199.232.76.173] (port=48437 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTsDX-00019M-EF for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 01:23:35 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56100) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LTsDW-0006Yc-O3 for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 01:23:35 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n126NVeS001282; Sun, 1 Feb 2009 22:23:31 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n126F3l8031484; Sun, 1 Feb 2009 22:15:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 02 Feb 2009 06:15:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2151 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123355474130135 (code B ref -1); Mon, 02 Feb 2009 06:15:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 2 Feb 2009 06:05:41 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1265bUm030129 for ; Sun, 1 Feb 2009 22:05:39 -0800 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LTruS-0007aY-4Y for emacs-pretest-bug@gnu.org; Mon, 02 Feb 2009 01:03:52 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 02 Feb 2009 01:23:35 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24807 gmane.emacs.pretest.bugs:23813 Archived-At: Building the pretest recompiles many Lisp files, which it shouldn't IMO. Looking at the Makefile's, I think the problem is in this snippet from src/Makefile.in (near the end): /* Since the .el.elc rule cannot specify an extra dependency, we do it here. */ ${lisp} ${SOME_MACHINE_LISP}: $(BOOTSTRAPEMACS) ${lispsource}loaddefs.el: $(BOOTSTRAPEMACS) cd ../lisp; $(MAKE) $(MFLAGS) autoloads EMACS=../src/bootstrap-emacs${EXEEXT} /* Dump an Emacs executable named bootstrap-emacs containing the files from loadup.el in source form. */ bootstrap-emacs${EXEEXT}: temacs${EXEEXT} cd ../lisp; $(MAKE) $(MFLAGS) update-subdirs #ifdef CANNOT_DUMP ln -f temacs${EXEEXT} bootstrap-emacs${EXEEXT} #else $(RUN_TEMACS) --batch --load loadup bootstrap mv -f emacs${EXEEXT} bootstrap-emacs${EXEEXT} #endif /* ! defined (CANNOT_DUMP) */ @: Compile some files earlier to speed up further compilation. cd ../lisp; $(MAKE) $(MFLAGS) compile-first EMACS=../src/bootstrap-emacs${EXEEXT} It goes like this: since temacs is built, the last rule says to produce bootstrap-emacs${EXEEXT}. The new bootstrap-emacs then triggers the 2 rules before it, which rebuild loaddefs.el and recompile the Lisp files in ${lisp} and ${SOME_MACHINE_LISP}. In GNU Emacs 23.0.90.1 (x86_64-unknown-linux-gnu) of 2009-02-02 on fencepost configured using `configure '--without-x'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t global-auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC O D ESC O D ESC O D DEL ESC O B ESC O D a t SPC s t a r t u p SPC w h e n SPC y o u r SPC ~ / . e m a c s SPC s e t s SPC t h a t SPC v a r i a b ESC DEL o p t i o n s DEL . ESC b ESC b ESC b ESC d c u s t o m i z e s ESC b ESC b ESC b ESC b ESC b ESC f ESC d SPC i f ESC q ESC O B ESC O B ESC O B ESC O A ESC O B ESC O B DEL ESC O A ESC O A ESC O B ESC O B ESC O A ESC M-q M-k ESC O A ESC O B ESC O B C-x M-m C-x o C-x o ESC x f i n d - f i l e - l i t TAB RET m a i l . n e w RET C-s c y d ESC [ 6 ~ ESC [ 6 ~ ESC O A ESC O B ESC O B ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O D C-@ C-e ESC w ESC [ 6 ~ C-x b RET C-x b RET C-x b RET C-c C-c y e s RET C-x 4 f e m a c s . c v TAB e m a TAB ESC DEL p r e TAB e m a TAB 3 TAB / t y TAB RET C-x o ESC x ESC O A ESC O A RET Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark saved where search started Quit Making completion list... [3 times] Mark saved where search started Auto-saving...done Auto-saving...done Mark saved where search started Mark set Sending...done