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: Tue, 03 Feb 2009 16:24:54 -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 1233697724 22246 80.91.229.12 (3 Feb 2009 21:48:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2009 21:48:44 +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 Tue Feb 03 22:49:58 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 1LUT9U-0007aq-Ch for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Feb 2009 22:49:52 +0100 Original-Received: from localhost ([127.0.0.1]:48197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUT8B-0001SA-MO for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Feb 2009 16:48:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LUT3R-0005lw-AJ for bug-gnu-emacs@gnu.org; Tue, 03 Feb 2009 16:43:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUT3P-0005kP-I5 for bug-gnu-emacs@gnu.org; Tue, 03 Feb 2009 16:43:36 -0500 Original-Received: from [199.232.76.173] (port=57082 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUT3O-0005k4-N1 for bug-gnu-emacs@gnu.org; Tue, 03 Feb 2009 16:43:34 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53838) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LUT3O-00025p-1e for bug-gnu-emacs@gnu.org; Tue, 03 Feb 2009 16:43:34 -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 n13LhVTG012515; Tue, 3 Feb 2009 13:43:31 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n13LU4TL009004; Tue, 3 Feb 2009 13:30:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 03 Feb 2009 21:30: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.12336963007670 (code B ref 2151); Tue, 03 Feb 2009 21:30:03 +0000 Original-Received: (at 2151) by emacsbugs.donarmstrong.com; 3 Feb 2009 21:25:00 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from chene.dit.umontreal.ca (chene.dit.umontreal.ca [132.204.246.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n13LOuTQ007664 for <2151@emacsbugs.donarmstrong.com>; Tue, 3 Feb 2009 13:24:57 -0800 Original-Received: from alfajor.home (vpn-132-204-232-163.acd.umontreal.ca [132.204.232.163]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n13LOsuE017977; Tue, 3 Feb 2009 16:24:54 -0500 Original-Received: by alfajor.home (Postfix, from userid 20848) id 8D322A22D1; Tue, 3 Feb 2009 16:24:54 -0500 (EST) In-Reply-To: (Eli Zaretskii's message of "Mon, 02 Feb 2009 22:42:43 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3203=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 03 Feb 2009 16:43: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:24906 Archived-At: > I feared you'd say that. All I can say is that I think it's > fundamentally wrong to have Lisp files compile as part of the build > (Yes, I know we compile Leim files, presumably to conserve space in > the tarball, but I think that's wrong, too.) The result is that a > successful build becomes less predictable, and we can no longer depend > on having the same good .elc files on all platforms. OTOH, I feel like it's fundamentally wrong to provide pre-built files in our tarball. It's also fundamentally wrong to have such very different build-"rules" between the "checkout from CVS" and "untarred" cases. It makes maintenance more difficult. > (It is also a major headache for the DOS port, since lisp/Makefile > needs a Unixy shell, and I always avoided requiring that for building > an official release.) Good point. So removing the .elc files would require more work. >> Getting make to understand the nature of the dependencies here is pretty >> tricky, so you can get it to work right for the tarball or you can get >> it to work right for the "cvs update" case, but it's pretty painful >> to get it to work right in both cases. > I think it shouldn't be too hard, and the ideas you suggested further > in your mail are my evidence. Have you tried it? It seems to work OK for the "checkout from CVS" case, so maybe it's a good solution. > I don't think we need a bootstrap-emacs in a released version at all. > We could add some file to the tarball, generated at make-dist time, to > signal that bootstrap-emacs is not needed. That file could actually > be named `bootstrap-emacs', which should resolve the problem nicely > (assuming we manage to have it older than the oldest .elc file). Maybe we can get that to work, but it sounds terribly hackish. Also, I'd like to make sure that if some wants to change some .el files and then recompile, it still works correctly. Stefan