From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: zwz Newsgroups: gmane.emacs.devel Subject: Re: building error of latest emacs on Windowxp Date: Wed, 29 Sep 2010 16:42:24 +0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285749820 22352 80.91.229.12 (29 Sep 2010 08:43:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Sep 2010 08:43:40 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 29 10:43:36 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P0sGF-000158-04 for ged-emacs-devel@m.gmane.org; Wed, 29 Sep 2010 10:43:35 +0200 Original-Received: from localhost ([127.0.0.1]:53170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0sGE-0008Jf-H2 for ged-emacs-devel@m.gmane.org; Wed, 29 Sep 2010 04:43:34 -0400 Original-Received: from [140.186.70.92] (port=53167 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0sG3-0008I6-Kl for emacs-devel@gnu.org; Wed, 29 Sep 2010 04:43:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0sFy-0002o4-M7 for emacs-devel@gnu.org; Wed, 29 Sep 2010 04:43:23 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:56237) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0sFy-0002nq-Cj for emacs-devel@gnu.org; Wed, 29 Sep 2010 04:43:18 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P0sFt-0000tM-6T for emacs-devel@gnu.org; Wed, 29 Sep 2010 10:43:13 +0200 Original-Received: from 221.12.171.112 ([221.12.171.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Sep 2010 10:43:13 +0200 Original-Received: from zhangweize by 221.12.171.112 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Sep 2010 10:43:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 54 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 221.12.171.112 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) Cancel-Lock: sha1:BA+x4L2ugfTRvUJnwMeKZFzCIWA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:131063 Archived-At: Eli Zaretskii writes: >> From: zwz >> Date: Tue, 28 Sep 2010 18:26:17 +0800 >> >> I checked out the latest emacs today, and some error came up during >> "make bootstrap": >> >> make[1]: entering directory `/d/git/emacs/lib-src' >> mkdir "oo-spd" >> mkdir "oo-spd/i386" >> echo oo-spd/i386 > stamp_BLD >> echo config.nt has changed. Re-run configure.bat. >> config.nt has changed. Re-run configure.bat. >> exit -1 > > Is the file nt/config.nt newer than src/config.h? Yes, nt/config.nt is much newer than src/config.h. > > If so, there's some bug in nt/configure.bat. Near its end, it tries > to determine whether src/config.h needs to be updated (because > overwriting it will trigger recompilation of all the sources). Here > is the portion of the script which does that: I create a new nt/test.bat with the portion of the script. The output suggests that the logic jumps to doCopy after running to "if errorlevel 1 goto doCopy". Hope this helps. > > Rem See if fc.exe returns a meaningful exit status. If it does, we > Rem might as well avoid unnecessary overwriting of config.h and > epaths.h, > Rem since this forces recompilation of every source file. > if exist foo.bar del foo.bar > fc /b foo.bar foo.bar >nul 2>&1 > if not errorlevel 2 goto doCopy > fc /b config.tmp ..\src\config.h >nul 2>&1 > if errorlevel 1 goto doCopy > fc /b paths.h ..\src\epaths.h >nul 2>&1 > if errorlevel 0 goto dontCopy > > :doCopy > copy config.tmp ..\src\config.h > copy paths.h ..\src\epaths.h > > :dontCopy > if exist config.tmp del config.tmp > > Could you please investigate why this logic fails in your case, and > post the results here? > > TIA