From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#2151: 23.0.90; Building the 23.0.90 pretest recompiles Lisp files Date: Sun, 22 Feb 2009 00:33:12 +0200 Message-ID: References: Reply-To: Eli Zaretskii , 2151@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1235256233 12941 80.91.229.12 (21 Feb 2009 22:43:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Feb 2009 22:43:53 +0000 (UTC) Cc: 2151@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 21 23:45:09 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 1Lb0aq-00050P-5A for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Feb 2009 23:45:08 +0100 Original-Received: from localhost ([127.0.0.1]:42947 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lb0ZV-0002a4-NA for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Feb 2009 17:43:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lb0ZR-0002Zq-G1 for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 17:43:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lb0ZP-0002Zd-23 for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 17:43:40 -0500 Original-Received: from [199.232.76.173] (port=38944 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lb0ZO-0002Za-U0 for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 17:43:38 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47068) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lb0ZO-0003TQ-Cn for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 17:43:38 -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 n1LMhabV016643; Sat, 21 Feb 2009 14:43:36 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1LMe36f015499; Sat, 21 Feb 2009 14:40:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 21 Feb 2009 22:40:03 +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.123525564414241 (code B ref 2151); Sat, 21 Feb 2009 22:40:03 +0000 Original-Received: (at 2151) by emacsbugs.donarmstrong.com; 21 Feb 2009 22:34:04 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout7.012.net.il (mtaout7.012.net.il [84.95.2.19]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1LMY0Rv014235 for <2151@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 14:34:02 -0800 Original-Received: from conversion-daemon.i-mtaout7.012.net.il by i-mtaout7.012.net.il (HyperSendmail v2007.08) id <0KFF00D00T7LCZ00@i-mtaout7.012.net.il> for 2151@emacsbugs.donarmstrong.com; Sun, 22 Feb 2009 00:33:14 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.228.82.14]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KFF00LQKTBDOYC0@i-mtaout7.012.net.il>; Sun, 22 Feb 2009 00:33:14 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 21 Feb 2009 17:43: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:25568 Archived-At: > From: Stefan Monnier > Cc: 2151@emacsbugs.donarmstrong.com > Date: Sat, 21 Feb 2009 15:54:01 -0500 > > > 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. > > In any case, it sounds wrong to me to have the distribution biased in > > favor of people who build Emacs out of CVS. > > 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 do think the patch I proposed fixes the problem and doesn't make the > code significantly more hairy, so I'm willing to install it. Go ahead, and let's see what it does to the next pretest. > >> >> Also, I'd like to make sure that if some wants to change some .el files > >> >> and then recompile, it still works correctly. > >> > It will, I think, because we can copy emacs to bootstrap-emacs at the > >> > end of the build. > >> What if they edit .el files before building a first `emacs'? > > 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.