From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#2151: 23.0.90; Building the 23.0.90 pretest recompiles Lisp files Date: Sat, 21 Feb 2009 17:49:16 -0500 Message-ID: References: Reply-To: Stefan Monnier , 2151@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1235257485 16160 80.91.229.12 (21 Feb 2009 23:04:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Feb 2009 23:04:45 +0000 (UTC) Cc: 2151@emacsbugs.donarmstrong.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 22 00:06:00 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 1Lb0uE-00020B-57 for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Feb 2009 00:05:28 +0100 Original-Received: from localhost ([127.0.0.1]:37051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lb0st-0002Ga-OR for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Feb 2009 18:03:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lb0sn-0002Fy-Gp for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 18:03:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lb0sl-0002FK-NJ for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 18:03:40 -0500 Original-Received: from [199.232.76.173] (port=46346 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lb0sl-0002FG-K6 for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 18:03:39 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:35097) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lb0sk-0006Cd-On for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 18:03:39 -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 n1LN3a0I021557; Sat, 21 Feb 2009 15:03:36 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1LMt5MH019356; Sat, 21 Feb 2009 14:55:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 21 Feb 2009 22:55:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2151 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2151-submit@emacsbugs.donarmstrong.com id=B2151.123525656917883 (code B ref 2151); Sat, 21 Feb 2009 22:55:05 +0000 Original-Received: (at 2151) by emacsbugs.donarmstrong.com; 21 Feb 2009 22:49:29 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1LMnMLh017877 for <2151@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 14:49:23 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmQFACMUoElLd+0i/2dsb2JhbACBbdE+hA8Gg1A X-IronPort-AV: E=Sophos;i="4.38,246,1233550800"; d="scan'208";a="34193980" Original-Received: from 75-119-237-34.dsl.teksavvy.com (HELO pastel.home) ([75.119.237.34]) by ironport2-out.teksavvy.com with ESMTP; 21 Feb 2009 17:49:16 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 6FD6F4B488; Sat, 21 Feb 2009 17:49:16 -0500 (EST) In-Reply-To: (Eli Zaretskii's message of "Sun, 22 Feb 2009 00:33:12 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 21 Feb 2009 18:03:40 -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:25569 Archived-At: >> > After thinking some more about this, I don't see any easy and safe >> > solution besides adding a "bootstrap-emacs" file to the tarball. >> > Maybe in future releases we will be able to find a better way, but for >> > now this is the only one that's safe. >> >> > I will do that if you agree. >> >> I'd rather not if the patch I suggested works. Does it? > Maybe it does, but it isn't meant to solve the problem at hand, as it > builds bootstrap-emacs unconditionally. Not sure what you mean. It solves the title problem "pretest recompiles Lisp files". AFAIK the only thing it does unnecessarily is to dump Emacs twice. >> My guess is that many more people build from CVS than from the release >> tarball. Most users of the release will use a precompiled package. > Then perhaps we should stop producing releases. I don't see the relationship. The precompiled packages built from the tarball are probably used by many more people than either of the tarball or the CVS. >> > We could arrange for byte-recompile-directory at the end of the build, >> > if that is a real-life use-case. >> That wouldn't help: the problem is that such a change would trigger >> recompilation of the .elc file, which in turn will run your dummy >> bootstrap-emacs, at which point the build will presumably fail. > You are assuming too much about what I meant. > byte-recompile-directory could use the just-built Emacs binary, and > the dummy bootstrap-emacs could be a shell script that just invoked > that same binary. Without seeing the details, it's hard to know indeed. But the scenario I imagine is someone changing lisp/startup.el, which will trigger recompilation before Emacs is dumped. But yes, maybe you can come up with a clever bootstrap-emacs script which will cause a real build of a proper bootstrap-emacs. Still, I think this whole discussion is making us waste more time than users will spent waiting for the extra bit of compilation time due to having to dump Emacs twice and/or rebuild the .el files. Stefan