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 21:49:53 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1353531051 27548 80.91.229.3 (21 Nov 2012 20:50:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Nov 2012 20:50: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 21:51:03 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 1TbHG9-0003o7-0f for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Nov 2012 21:51:01 +0100 Original-Received: from localhost ([::1]:35591 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbHFy-00008w-L5 for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Nov 2012 15:50:50 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbHFw-00008q-5d for bug-gnu-emacs@gnu.org; Wed, 21 Nov 2012 15:50:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbHFt-0007SJ-RZ for bug-gnu-emacs@gnu.org; Wed, 21 Nov 2012 15:50:48 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbHFt-0007SE-Nj for bug-gnu-emacs@gnu.org; Wed, 21 Nov 2012 15:50:45 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TbHH8-00048p-0v for bug-gnu-emacs@gnu.org; Wed, 21 Nov 2012 15:52:02 -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 20:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.135353107715862 (code B ref -1); Wed, 21 Nov 2012 20:52:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Nov 2012 20:51:17 +0000 Original-Received: from localhost ([127.0.0.1]:59627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TbHGO-00047n-Jd for submit@debbugs.gnu.org; Wed, 21 Nov 2012 15:51:17 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55669) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TbHGM-00047g-Kj for submit@debbugs.gnu.org; Wed, 21 Nov 2012 15:51:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbHF7-00077h-7n for submit@debbugs.gnu.org; Wed, 21 Nov 2012 15:49:58 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:45134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbHF7-00077b-57 for submit@debbugs.gnu.org; Wed, 21 Nov 2012 15:49:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbHF6-0008SH-1a for bug-gnu-emacs@gnu.org; Wed, 21 Nov 2012 15:49:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbHF4-00076g-RT for bug-gnu-emacs@gnu.org; Wed, 21 Nov 2012 15:49:55 -0500 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:57516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbHF4-00076E-MZ for bug-gnu-emacs@gnu.org; Wed, 21 Nov 2012 15:49:54 -0500 Original-Received: by mail-ob0-f169.google.com with SMTP id lz20so8607436obb.0 for ; Wed, 21 Nov 2012 12:49:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=vs93ZuN2hwDF2ZZZlJ2XZBxWEvvQ6Y13+Xlt45+aAZU=; b=T1d3g6PMe8Xj36H64PmzVqXVFjqwQXN///L6r6riiafkEhin87QCbnwlvjkarGQFST pu+3X4I3x7mm+jjSjx1E59rtTdXteuqq/kViUvFOrP0m7IWUL9/1OjaqbAsZ9wNNnFf0 GDW1yVdVwFBYcj3U1AtPbzbhrLlJnIek344N3H7borNdzMcDPq0bD10BuNnPLFBRUetE loJ5DXTeUm7Iu6zIAAJ1hIWzsvQTJ0F1d00G2diENAGAn06NmCWFPLTluYg+RDSOzEyv NmZ5NcHiCL8gNrT5z18KvUxxdPV/VCmuB7BFjUko1LUvI18/PU7Hn9yegy0qvUldNEfS /GLw== Original-Received: by 10.182.78.137 with SMTP id b9mr17497280obx.94.1353530993636; Wed, 21 Nov 2012 12:49:53 -0800 (PST) Original-Received: by 10.60.64.170 with HTTP; Wed, 21 Nov 2012 12:49:53 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:67290 Archived-At: Hello, Sometimes, when building the trunk on MS-Windows, the make process get stuck when this like of `src/makefile' is executed: cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || $(CP) gl-tmp globals.h" What happens is that a new cmd.exe session is open and waiting for input, when the expected behavior for that session is to execute the command between double quotes and exit. So I have to copy&paste the command, execute it and exit the cmd session so that the build process can continue. This problem is known to Eli, Juanma and those who build Emacs on Windows, and is related to MSYS and the translation it performs with filesystem paths ("/c" is translated to "c:\" for example). If you have MSYS installed in your system, it is easy to reproduce the problem: 1. Open a cmd.exe console. 2. Run: sh (to start a bash session). 3. Run: cmd /c "dir". --> A new cmd session is created, it is waiting for input and the "dir" command has not been executed. Fortunately, I just found a solution for this: just remove the space between the `/c' and the double quote: 3. Run: cmd /c"dir". --> This time the cmd session executes the "dir" command and then ends, returning control to the bash session. So, please, apply the following patch to the trunk for fixing this problem (I've just tested it): === modified file 'src/makefile.w32-in' --- src/makefile.w32-in 2012-11-17 23:16:24 +0000 +++ src/makefile.w32-in 2012-11-21 20:21:30 +0000 @@ -234,7 +234,7 @@ 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 > $@ Thanks. In GNU Emacs 24.3.50.1 (i386-mingw-nt6.1.7601) of 2012-11-21 on MS-W7-DANI Bzr revision: 110971 monnier@iro.umontreal.ca-20121121163435-89teaio2wo47frly Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.7) --no-opt --enable-checking --cflags -Ic:/emacs/libs/libXpm-3.5.10/include -Ic:/emacs/libs/libXpm-3.5.10/src -Ic:/emacs/libs/libpng-1.2.37-lib/include -Ic:/emacs/libs/zlib-1.2.5 -Ic:/emacs/libs/giflib-4.1.4-1-lib/include -Ic:/emacs/libs/jpeg-6b-4-lib/include -Ic:/emacs/libs/tiff-3.8.2-1-lib/include -Ic:/emacs/libs/libxml2-2.7.8-w32-bin/include/libxml2 -Ic:/emacs/libs/gnutls-3.0.9-w32-bin/include -Ic:/emacs/libs/libiconv-1.9.2-1-lib/include' -- Dani Moncayo