From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: Bootstrap failure on MS-Windows Date: Fri, 08 Nov 2013 13:34:20 +0000 Message-ID: References: <134n7uab5v.fsf@fencepost.gnu.org> <83r4au7li4.fsf@gnu.org> <83mwli7gwq.fsf@gnu.org> <837gcl7917.fsf@gnu.org> <838uwz5f7k.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1383917690 30509 80.91.229.3 (8 Nov 2013 13:34:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Nov 2013 13:34:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 08 14:34:55 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VemD9-0002jH-1u for ged-emacs-devel@m.gmane.org; Fri, 08 Nov 2013 14:34:55 +0100 Original-Received: from localhost ([::1]:45829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VemD8-0006Bh-JV for ged-emacs-devel@m.gmane.org; Fri, 08 Nov 2013 08:34:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VemD0-0006BW-28 for emacs-devel@gnu.org; Fri, 08 Nov 2013 08:34:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VemCu-0007NY-27 for emacs-devel@gnu.org; Fri, 08 Nov 2013 08:34:46 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:52725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VemCt-0007M8-Qp for emacs-devel@gnu.org; Fri, 08 Nov 2013 08:34:39 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VemCp-0002Rc-UN for emacs-devel@gnu.org; Fri, 08 Nov 2013 14:34:35 +0100 Original-Received: from uk.solarflare.com ([193.34.186.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Nov 2013 14:34:35 +0100 Original-Received: from andrewjmoreton by uk.solarflare.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Nov 2013 14:34:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: uk.solarflare.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) Cancel-Lock: sha1:6N9ZdlwNbTjN0nxZic0BLM2vP7c= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:165072 Archived-At: On Fri 08 Nov 2013, Eli Zaretskii wrote: >> From: Andy Moreton >> Date: Fri, 08 Nov 2013 10:32:02 +0000 >> >> The scenario that goes wrong is: >> 1) Begin with a clean bzr checkout >> 2) Run 'autogen.sh" and 'nt/msysconfig.sh' and 'make' as usual >> 3) Time passes, and configure.ac is updated after a bzr pull >> 4) Run 'make bootstrap', and observe that the CONFIG_SITE file >> is not used when configure is run from the make, leading to >> incorrect configure results and a failed bootstrap. > > Don't do 4). Instead, just do "make", and let it decide whether it > needs to regenerate configure. > > The problem here is that "make bootstrap", when invoked outside of the > source tree, does not see the file GNUmakefile, which arranges for CFG > to have the proper value. Thanks Eli, I hadn't noticed that. This does rely on the value of MSYSTEM in the environment, which is only set if the msys bash shell was invoked via "mingw/msys/1.0/msys.bat" i.e. it is not set by msys bash itself. I'll set MSYSTEM in my wrapper script and see if it helps. AndyM