From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lute Kamstra Newsgroups: gmane.emacs.devel Subject: Re: Bootstrap problem. Date: Wed, 30 Mar 2005 13:40:25 +0200 Message-ID: <87br91bbva.fsf@xs4all.nl> References: <87u0mtsesh.fsf@xs4all.nl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1112185169 21468 80.91.229.2 (30 Mar 2005 12:19:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2005 12:19:29 +0000 (UTC) Cc: "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 30 14:19:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DGc9h-0004Re-Q5 for ged-emacs-devel@m.gmane.org; Wed, 30 Mar 2005 14:18:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DGcQA-0007vi-QD for ged-emacs-devel@m.gmane.org; Wed, 30 Mar 2005 07:35:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DGbph-0005KT-QY for emacs-devel@gnu.org; Wed, 30 Mar 2005 06:58:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DGbpd-0005JL-SZ for emacs-devel@gnu.org; Wed, 30 Mar 2005 06:57:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DGbpd-0005Hm-3X for emacs-devel@gnu.org; Wed, 30 Mar 2005 06:57:57 -0500 Original-Received: from [194.109.24.23] (helo=smtp-vbr3.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DGbYh-0003UJ-M8 for emacs-devel@gnu.org; Wed, 30 Mar 2005 06:40:31 -0500 Original-Received: from pijl (a80-127-67-124.adsl.xs4all.nl [80.127.67.124]) by smtp-vbr3.xs4all.nl (8.12.11/8.12.11) with ESMTP id j2UBeQOB036969; Wed, 30 Mar 2005 13:40:26 +0200 (CEST) (envelope-from Lute.Kamstra@xs4all.nl) Original-Received: from lute by pijl with local (Exim 3.36 #1 (Debian)) id 1DGbYf-0001lZ-00; Wed, 30 Mar 2005 13:40:25 +0200 Original-To: emacs-devel@gnu.org In-Reply-To: <87u0mtsesh.fsf@xs4all.nl> (Lute Kamstra's message of "Wed, 30 Mar 2005 10:45:18 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Original-Lines: 31 X-Virus-Scanned: by XS4ALL Virus Scanner 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:35358 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35358 Lute Kamstra writes: > Add a definition to lisp file A and make it available to other lisp > files by adding an autoload cookie. Commit the change. Then add > some code to lisp file B that depends on the presence of this > definition to compile. Commit this change as well. > > As I found out the hard way, this leads to problems in two cases: [...] > 2. Someone has a CVS tree and did the last update before the change in > file A. Then that person does per next update after the change to > file B and then does a make bootstrap. bootstrap-emacs uses the > old loaddefs.el that does not contain an autoload of the required > definition in file A and fails to compile file B. > > A second make bootstrap would work fine as this would use the new > loaddefs.el that was created during the first make bootstrap that > failed. Strange: I just looked more carefully at the bootstrap process and it seems that this second problem should not occur. From what I now understand, bootstrap already does what I want: it first updates loaddefs.el and then builds bootstrap-emacs and dumps it with the up-to-date loaddefs.el loaded. But now I don't know how to explain Chris Moore's recent bug report on emacs-pretest-bug. Lute.