From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#12955: 24.3.50; Build process on MS-Windows: sometimes needs "human intervention" Date: Wed, 21 Nov 2012 23:43:45 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1353537891 20383 80.91.229.3 (21 Nov 2012 22:44:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Nov 2012 22:44:51 +0000 (UTC) To: 12955@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 21 23:45:02 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1TbJ2T-0005Yy-7K for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Nov 2012 23:45:01 +0100 Original-Received: from localhost ([::1]:58418 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbJ2I-0006WF-Qw for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Nov 2012 17:44:50 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbJ2E-0006Po-C7 for bug-gnu-emacs@gnu.org; Wed, 21 Nov 2012 17:44:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbJ2D-000050-3u for bug-gnu-emacs@gnu.org; Wed, 21 Nov 2012 17:44:46 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbJ2D-00004v-0z for bug-gnu-emacs@gnu.org; Wed, 21 Nov 2012 17:44:45 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TbJ3R-0007bE-PS for bug-gnu-emacs@gnu.org; Wed, 21 Nov 2012 17:46:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Nov 2012 22:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12955-submit@debbugs.gnu.org id=B12955.135353790729131 (code B ref 12955); Wed, 21 Nov 2012 22:46:01 +0000 Original-Received: (at 12955) by debbugs.gnu.org; 21 Nov 2012 22:45:07 +0000 Original-Received: from localhost ([127.0.0.1]:59788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TbJ2Z-0007Zo-3X for submit@debbugs.gnu.org; Wed, 21 Nov 2012 17:45:07 -0500 Original-Received: from mail-ob0-f172.google.com ([209.85.214.172]:57219) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TbJ2W-0007Zg-P7 for 12955@debbugs.gnu.org; Wed, 21 Nov 2012 17:45:06 -0500 Original-Received: by mail-ob0-f172.google.com with SMTP id ef5so7249110obb.3 for <12955@debbugs.gnu.org>; Wed, 21 Nov 2012 14:43:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=u7QSsq71jjKuvAHWJKaeo8/E/oMpi6ejSyZp50NBvo0=; b=iP/o2k4BFQClQm7w7P9YJhRx//eJd4Ixx2o2Mp7jh/mUuB8OohKlUriOKVYb7OgTJO SWzuq5IatpMMjmstbc1lPo7Qwe8IdfnZ+89ytJg9nYOl9A5HFKSomBCy89dynhBZDCLb qZ3/sJjmCKaL/SSb+gdwY0/DWEQBTaZlwgJUr7/1bjEQCwgSouIB2tAnQxNrrQ4uacAy Ctm2HhDwP1inESh6RtGc52p32lcZF+vId1UYN64WShiQ5yml5oKEKxO6ICaeH/1FjaaE FP7jrYZwfEottPYOFj8itRkSo/A0P/nxehvGtTFZeVL3g9PCzZk9e4Fv1nxhhgXtknS8 eQcA== Original-Received: by 10.60.32.210 with SMTP id l18mr14123124oei.99.1353537825153; Wed, 21 Nov 2012 14:43:45 -0800 (PST) Original-Received: by 10.60.64.170 with HTTP; Wed, 21 Nov 2012 14:43:45 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:67296 Archived-At: > $(SOME_MACHINE_OBJECTS) $(obj) > gl-tmp > - cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || $(CP) gl-tmp globals.h" > + cmd /c"fc /b gl-tmp globals.h >nul 2>&1 || $(CP) gl-tmp globals.h" > - $(DEL) gl-tmp > echo timestamp > $@ I've grepped the sources and there is another instance of this problem, in that same file (src/makefile.w32-in): @cmd /c rem true This sentence must not be executed in my current builds because I've not had to touch it for my build to succeeded. But if the sentence is executed under some circumstances, the same problem will crop up. So here is a new version of the patch which fixed that case too and includes an informative commentary: === modified file 'src/makefile.w32-in' --- src/makefile.w32-in 2012-11-17 23:16:24 +0000 +++ src/makefile.w32-in 2012-11-21 22:42:06 +0000 @@ -228,13 +228,17 @@ xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o dbusbind.o obj = $(GLOBAL_SOURCES:.c=.o) +# WARNING: Every `cmd /c' command must have the form: +# cmd /c"some-command" +# without any space between the /c and the first double quote. +# This is needed to avoid problems when sh.exe is used as shell. globals.h: gl-stamp - @cmd /c rem true + @cmd /c"rem true" gl-stamp: ../lib-src/$(BLD)/make-docfile.exe $(GLOBAL_SOURCES) - $(DEL) gl-tmp "$(THISDIR)/../lib-src/$(BLD)/make-docfile" -d . -g $(SOME_MACHINE_OBJECTS) $(obj) > gl-tmp - cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || $(CP) gl-tmp globals.h" + cmd /c"fc /b gl-tmp globals.h >nul 2>&1 || $(CP) gl-tmp globals.h" - $(DEL) gl-tmp echo timestamp > $@ -- Dani Moncayo