From unknown Sun Jun 22 04:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8564: 24.0.50; bootstrap on windows 7: `gl-stamp' target failed Resent-From: William Xu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Apr 2011 05:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8564 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 8564@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.130388165217445 (code B ref -1); Wed, 27 Apr 2011 05:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Apr 2011 05:20:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QExBD-0004XK-VX for submit@debbugs.gnu.org; Wed, 27 Apr 2011 01:20:52 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QExB9-0004X5-1a for submit@debbugs.gnu.org; Wed, 27 Apr 2011 01:20:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QExB3-0000N6-2F for submit@debbugs.gnu.org; Wed, 27 Apr 2011 01:20:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:45758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QExB3-0000N2-0j for submit@debbugs.gnu.org; Wed, 27 Apr 2011 01:20:41 -0400 Received: from eggs.gnu.org ([140.186.70.92]:44325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QExB1-0004p1-Ur for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2011 01:20:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QExAy-0000MV-Fu for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2011 01:20:39 -0400 Received: from lo.gmane.org ([80.91.229.12]:34413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QExAy-0000MO-4s for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2011 01:20:36 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QExAv-0004QK-RZ for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2011 07:20:33 +0200 Received: from esprx01x.nokia.com ([192.100.124.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Apr 2011 07:20:33 +0200 Received: from william.xwl by esprx01x.nokia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Apr 2011 07:20:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ From: William Xu Date: Wed, 27 Apr 2011 13:20:17 +0800 Organization: the Church of Emacs Lines: 26 Message-ID: <21gl7hagz2we.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: esprx01x.nokia.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) Cancel-Lock: sha1:m0CQuQQQ0mP6qg5PDZxnkIExPv8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) Here is the last build log: mkdir "oo-spd" mkdir "oo-spd/i386" echo oo-spd/i386 > stamp_BLD rm gl-tmp "../lib-src/oo-spd/i386/make-docfile" -d . -g dosfns.o msdos.o xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o dbusbind.o dosfns.o msdos.o xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o fringe.o image.o fontset.o menu.o dbusbind.o w32.o w32console.o w32fns.o w32heap.o w32inevt.o w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o font.o w32font.o w32uniscribe.o dispnew.o frame.o scroll.o xdisp.o window.o bidi.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o syntax.o bytecode.o process.o callproc.o unexw32.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o > gl-tmp cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || cp -f gl-tmp globals.h" Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. l:\bin\emacs\src> Executing: cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || cp -f gl-tmp globals.h" directly on cmd.exe seems OK. I don't know why it fails in bootstrapping? I simply replace that line with: cp -f gl-tmp globals.h # Wouldn't this be simpler & good enough? Now it bootstraps. -- William http://xwl.appspot.com From unknown Sun Jun 22 04:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8564: 24.0.50; bootstrap on windows 7: `gl-stamp' target failed Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Apr 2011 10:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8564 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: William Xu Cc: 8564@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 8564-submit@debbugs.gnu.org id=B8564.130390019013411 (code B ref 8564); Wed, 27 Apr 2011 10:30:04 +0000 Received: (at 8564) by debbugs.gnu.org; 27 Apr 2011 10:29:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QF20D-0003UG-Pj for submit@debbugs.gnu.org; Wed, 27 Apr 2011 06:29:50 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QF20B-0003U4-5h for 8564@debbugs.gnu.org; Wed, 27 Apr 2011 06:29:47 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QF205-00089p-NO; Wed, 27 Apr 2011 06:29:41 -0400 Date: Wed, 27 Apr 2011 06:29:41 -0400 Message-Id: From: Eli Zaretskii In-reply-to: <21gl7hagz2we.fsf@gmail.com> (message from William Xu on Wed, 27 Apr 2011 13:20:17 +0800) References: <21gl7hagz2we.fsf@gmail.com> X-Spam-Score: -6.6 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > From: William Xu > Date: Wed, 27 Apr 2011 13:20:17 +0800 > > Here is the last build log: > > mkdir "oo-spd" > mkdir "oo-spd/i386" > echo oo-spd/i386 > stamp_BLD > rm gl-tmp > "../lib-src/oo-spd/i386/make-docfile" -d . -g dosfns.o msdos.o xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o dbusbind.o dosfns.o msdos.o xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o fringe.o image.o fontset.o menu.o dbusbind.o w32.o w32console.o w32fns.o w32heap.o w32inevt.o w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o font.o w32font.o w32uniscribe.o dispnew.o frame.o scroll.o xdisp.o window.o bidi.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o syntax.o bytecode.o process.o callproc.o unexw32.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o > gl-tmp > cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || cp -f gl-tmp globals.h" > Microsoft Windows [Version 6.1.7600] > Copyright (c) 2009 Microsoft Corporation. All rights reserved. > > l:\bin\emacs\src> Is this something new? Did you ever bootstrap on that machine, or on Windows 7 in general? After you bootstrap, does the same command work for a normal (i.e., non-bootstrap) build, or does it fail in the same way? Finally, what version of Make did you use for that bootstrap? What does "make --version" display? Also, did you use any kind of Unixy shell (Make announces at the very beginning of the build process whioch shell it uses)? > cp -f gl-tmp globals.h # Wouldn't this be simpler & good enough? No, it's not good enough. `cp' updates the time stamp of globals.h each time you build, and therefore all the C files will be recompiled, because they all include globals.h, even though the contents of globals.h rarely changes. That kinda makes Make redundant, since its main goal is to avoid unnecessary compilations... The command that invokes `fc' only updates globals.h if the new version has different contents. IOW, this is the Windows way of saying move-if-change. From unknown Sun Jun 22 04:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8564: 24.0.50; bootstrap on windows 7: `gl-stamp' target failed In-Reply-To: <21gl7hagz2we.fsf@gmail.com> Resent-From: William Xu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Apr 2011 02:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8564 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13039575712260 (code B ref -1); Thu, 28 Apr 2011 02:27:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Apr 2011 02:26:11 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QFGvj-0000aP-Em for submit@debbugs.gnu.org; Wed, 27 Apr 2011 22:26:11 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QFGvh-0000aD-3M for submit@debbugs.gnu.org; Wed, 27 Apr 2011 22:26:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFGva-0000l2-Qy for submit@debbugs.gnu.org; Wed, 27 Apr 2011 22:26:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:33075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFGva-0000kw-Nw for submit@debbugs.gnu.org; Wed, 27 Apr 2011 22:26:02 -0400 Received: from eggs.gnu.org ([140.186.70.92]:50503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFGvZ-0007rx-Dx for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2011 22:26:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFGvY-0000kP-BW for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2011 22:26:01 -0400 Received: from lo.gmane.org ([80.91.229.12]:51517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFGvX-0000k9-Tq for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2011 22:26:00 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QFGvU-0006XN-9E for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2011 04:25:56 +0200 Received: from esprx01x.nokia.com ([192.100.124.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Apr 2011 04:25:56 +0200 Received: from william.xwl by esprx01x.nokia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Apr 2011 04:25:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ From: William Xu Date: Thu, 28 Apr 2011 10:24:26 +0800 Organization: the Church of Emacs Lines: 64 Message-ID: <21gld3k7nmed.fsf@gmail.com> References: <21gl7hagz2we.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: esprx01x.nokia.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) Cancel-Lock: sha1:wQnyA84iaJA2leMXrPrn6ukbQLE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.7 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.7 (-----) Eli Zaretskii writes: Is this something new? Did you ever bootstrap on that machine, or on Windows 7 in general? This is the first time i tried to compile emacs on Windows 7. After you bootstrap, does the same command work for a normal (i.e., non-bootstrap) build, or does it fail in the same way? Yes, if i revert my change. I modified some c files, and run following command: ,----[ make gl-stamp ] | cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || cp -f gl-tmp globals.h" | Microsoft Windows [Version 6.1.7600] | Copyright (c) 2009 Microsoft Corporation. All rights reserved. | | L:\bin\emacs\src>mingw32-make: *** [gl-stamp] Error 66048 `---- Finally, what version of Make did you use for that bootstrap? What does "make --version" display? Also, did you use any kind of Unixy shell (Make announces at the very beginning of the build process whioch shell it uses)? ,----[ mingw32-make --version ] | GNU Make 3.82 | Built for i386-pc-mingw32 | Copyright (C) 2010 Free Software Foundation, Inc. | License GPLv3+: GNU GPL version 3 or later | This is free software: you are free to change and redistribute it. | There is NO WARRANTY, to the extent permitted by law. `---- I was compiling in on cmd.exe(i have some unix tools on %path%, though) The beginning: ,---- | L:\bin\emacs\src>mingw32-make gl-stamp | [Please ignore a syntax error on the next line - it is intentional] | /bin/sh: -c: line 0: unexpected EOF while looking for matching `"' | /bin/sh: -c: line 1: syntax error: unexpected end of file | rm gl-tmp `---- > cp -f gl-tmp globals.h # Wouldn't this be simpler & good enough? No, it's not good enough. `cp' updates the time stamp of globals.h each time you build, and therefore all the C files will be recompiled, because they all include globals.h, even though the contents of globals.h rarely changes. That kinda makes Make redundant, since its main goal is to avoid unnecessary compilations... The command that invokes `fc' only updates globals.h if the new version has different contents. IOW, this is the Windows way of saying move-if-change. How about using `diff' here? (considering commands like `cp' is already dependent? ) diff gl-tmp globals.h >nul 2>&1 || $(CP) gl-tmp globals.h -- William http://xwl.appspot.com From unknown Sun Jun 22 04:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8564: 24.0.50; bootstrap on windows 7: `gl-stamp' target failed Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Apr 2011 04:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8564 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: William Xu Cc: bug-gnu-emacs@gnu.org Reply-To: Eli Zaretskii Received: via spool by submit@debbugs.gnu.org id=B.130396640115404 (code B ref -1); Thu, 28 Apr 2011 04:54:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Apr 2011 04:53:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QFJE8-00040P-Jp for submit@debbugs.gnu.org; Thu, 28 Apr 2011 00:53:20 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QFJE6-00040C-6a for submit@debbugs.gnu.org; Thu, 28 Apr 2011 00:53:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFJE0-0004Xx-12 for submit@debbugs.gnu.org; Thu, 28 Apr 2011 00:53:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:53182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFJDz-0004Xt-UE for submit@debbugs.gnu.org; Thu, 28 Apr 2011 00:53:11 -0400 Received: from eggs.gnu.org ([140.186.70.92]:55996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFJDz-0005eK-0b for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2011 00:53:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFJDy-0004XZ-2N for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2011 00:53:10 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:59328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFJDy-0004XV-0q for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2011 00:53:10 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QFJDx-0006Kw-VD; Thu, 28 Apr 2011 00:53:09 -0400 Date: Thu, 28 Apr 2011 00:53:09 -0400 Message-Id: From: Eli Zaretskii In-reply-to: <21gld3k7nmed.fsf@gmail.com> (message from William Xu on Thu, 28 Apr 2011 10:24:26 +0800) References: <21gl7hagz2we.fsf@gmail.com> <21gld3k7nmed.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > From: William Xu > Date: Thu, 28 Apr 2011 10:24:26 +0800 > > After you bootstrap, does the same command work for a normal (i.e., > non-bootstrap) build, or does it fail in the same way? > > Yes, if i revert my change. I modified some c files, and run following > command: > > ,----[ make gl-stamp ] > | cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || cp -f gl-tmp globals.h" > | Microsoft Windows [Version 6.1.7600] > | Copyright (c) 2009 Microsoft Corporation. All rights reserved. > | > | L:\bin\emacs\src>mingw32-make: *** [gl-stamp] Error 66048 > `---- So it fails in non-bootstrap case as well. Good, this makes things simpler. > I was compiling in on cmd.exe(i have some unix tools on %path%, though) > The beginning: > > ,---- > | L:\bin\emacs\src>mingw32-make gl-stamp > | [Please ignore a syntax error on the next line - it is intentional] > | /bin/sh: -c: line 0: unexpected EOF while looking for matching `"' > | /bin/sh: -c: line 1: syntax error: unexpected end of file > | rm gl-tmp > `---- Uh-oh! Is this the MSYS port of Bash, by any chance? Or maybe the Cygwin Bash? If so, can you remove sh.exe from PATH and try again? At least the MSYS Bash has a nasty habit of munging the command-line arguments if it "thinks" that those arguments are Unix-style /foo/bar file names. So my crystal ball says that it "thinks" "/c" in "cmd /c" is such a file name and changes it to something like "cmd L:/c", which of course totally confuses cmd.exe. You will see that nt/INSTALL advises against the MSYS shell: MSYS sh.exe also appears to cause various problems. If you have MSYS installed, try "make SHELL=cmd.exe" to force the use of cmd.exe instead of sh.exe. > > cp -f gl-tmp globals.h # Wouldn't this be simpler & good enough? > > No, it's not good enough. `cp' updates the time stamp of globals.h > each time you build, and therefore all the C files will be recompiled, > because they all include globals.h, even though the contents of > globals.h rarely changes. That kinda makes Make redundant, since its > main goal is to avoid unnecessary compilations... The command that > invokes `fc' only updates globals.h if the new version has different > contents. IOW, this is the Windows way of saying move-if-change. > > How about using `diff' here? (considering commands like `cp' is already > dependent? ) > diff gl-tmp globals.h >nul 2>&1 || $(CP) gl-tmp globals.h Using Diff means we ask the Windows users to have yet another non-standard package installed as a prerequisite to building Emacs. I would like to avoid that if possible; `fc' is a standard program on every Windows machine, and it does this particular job just fine. It is also unsafe to use this command without going through "cmd /c", because ported Unixy shells generally don't know about "NUL" being the Windows null device, while cmd.exe doesn't know about "/dev/null". Anyway, I think your problem is not with `fc', it's with "cmd /c". So using Diff won't solve it. From unknown Sun Jun 22 04:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8564: 24.0.50; bootstrap on windows 7: `gl-stamp' target failed In-Reply-To: <21gl7hagz2we.fsf@gmail.com> Resent-From: William Xu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Apr 2011 06:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8564 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.130397168623292 (code B ref -1); Thu, 28 Apr 2011 06:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Apr 2011 06:21:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QFKbN-00063d-OX for submit@debbugs.gnu.org; Thu, 28 Apr 2011 02:21:25 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QFKbG-00063J-Bf for submit@debbugs.gnu.org; Thu, 28 Apr 2011 02:21:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFKbA-0001te-Be for submit@debbugs.gnu.org; Thu, 28 Apr 2011 02:21:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:40083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFKbA-0001tZ-7H for submit@debbugs.gnu.org; Thu, 28 Apr 2011 02:21:12 -0400 Received: from eggs.gnu.org ([140.186.70.92]:44822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFKb6-0007Ab-4w for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2011 02:21:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFKb4-0001sV-Sq for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2011 02:21:08 -0400 Received: from lo.gmane.org ([80.91.229.12]:55419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFKb4-0001sK-NL for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2011 02:21:06 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QFKb2-0005Fs-MJ for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2011 08:21:04 +0200 Received: from esprx01x.nokia.com ([192.100.124.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Apr 2011 08:21:04 +0200 Received: from william.xwl by esprx01x.nokia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Apr 2011 08:21:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ From: William Xu Date: Thu, 28 Apr 2011 14:19:20 +0800 Organization: the Church of Emacs Lines: 27 Message-ID: <21gl62pygaon.fsf@gmail.com> References: <21gl7hagz2we.fsf@gmail.com> <21gld3k7nmed.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: esprx01x.nokia.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) Cancel-Lock: sha1:2OeuGFLdwlarC2xHtKoV9AhD0Mg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.7 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.8 (-----) Eli Zaretskii writes: Uh-oh! Is this the MSYS port of Bash, by any chance? Or maybe the Cygwin Bash? If so, can you remove sh.exe from PATH and try again? At least the MSYS Bash has a nasty habit of munging the command-line arguments if it "thinks" that those arguments are Unix-style /foo/bar file names. So my crystal ball says that it "thinks" "/c" in "cmd /c" is such a file name and changes it to something like "cmd L:/c", which of course totally confuses cmd.exe. You will see that nt/INSTALL advises against the MSYS shell: MSYS sh.exe also appears to cause various problems. If you have MSYS installed, try "make SHELL=cmd.exe" to force the use of cmd.exe instead of sh.exe. OK. That is the problem! It is a MSYS bash, included in msys-git. Thanks. It seems kind of nasty, though. We reply on unix tools like cp, rm, etc, but they are often bundled together with sh. Maybe add the above note to "* For the impatient" section as well would be a good idea? -- William http://xwl.appspot.com From unknown Sun Jun 22 04:28:05 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: William Xu Subject: bug#8564: closed (Re: bug#8564: 24.0.50; bootstrap on windows 7: `gl-stamp' target failed) Message-ID: References: <831v0m8exp.fsf@gnu.org> <21gl7hagz2we.fsf@gmail.com> X-Gnu-PR-Message: they-closed 8564 X-Gnu-PR-Package: emacs Reply-To: 8564@debbugs.gnu.org Date: Thu, 28 Apr 2011 17:28:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1304011682-25628-1" This is a multi-part message in MIME format... ------------=_1304011682-25628-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #8564: 24.0.50; bootstrap on windows 7: `gl-stamp' target failed which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 8564@debbugs.gnu.org. --=20 8564: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8564 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1304011682-25628-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 8564-done) by debbugs.gnu.org; 28 Apr 2011 17:27:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QFV0E-0006et-RV for submit@debbugs.gnu.org; Thu, 28 Apr 2011 13:27:47 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QFV0C-0006eg-8k for 8564-done@debbugs.gnu.org; Thu, 28 Apr 2011 13:27:45 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LKD00C00HR8Y800@a-mtaout22.012.net.il> for 8564-done@debbugs.gnu.org; Thu, 28 Apr 2011 20:27:01 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.124.82.135]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LKD00C2OHSY2TF0@a-mtaout22.012.net.il>; Thu, 28 Apr 2011 20:27:01 +0300 (IDT) Date: Thu, 28 Apr 2011 20:26:58 +0300 From: Eli Zaretskii Subject: Re: bug#8564: 24.0.50; bootstrap on windows 7: `gl-stamp' target failed In-reply-to: <21gl62pygaon.fsf@gmail.com> X-012-Sender: halo1@inter.net.il To: William Xu Message-id: <831v0m8exp.fsf@gnu.org> References: <21gl7hagz2we.fsf@gmail.com> <21gld3k7nmed.fsf@gmail.com> <21gl62pygaon.fsf@gmail.com> X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 8564-done Cc: 8564-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > From: William Xu > Date: Thu, 28 Apr 2011 14:19:20 +0800 > > OK. That is the problem! It is a MSYS bash, included in msys-git. > Thanks. Thanks for helping me unlock this mystery. > It seems kind of nasty, though. We reply on unix tools like cp, rm, > etc, but they are often bundled together with sh. Only the Cygwin and MSYS versions of these tools come with sh. The GnuWin32 ports don't. > Maybe add the above note to "* For the impatient" section as well > would be a good idea? Done. I'm closing this bug. ------------=_1304011682-25628-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Apr 2011 05:20:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QExBD-0004XK-VX for submit@debbugs.gnu.org; Wed, 27 Apr 2011 01:20:52 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QExB9-0004X5-1a for submit@debbugs.gnu.org; Wed, 27 Apr 2011 01:20:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QExB3-0000N6-2F for submit@debbugs.gnu.org; Wed, 27 Apr 2011 01:20:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:45758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QExB3-0000N2-0j for submit@debbugs.gnu.org; Wed, 27 Apr 2011 01:20:41 -0400 Received: from eggs.gnu.org ([140.186.70.92]:44325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QExB1-0004p1-Ur for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2011 01:20:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QExAy-0000MV-Fu for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2011 01:20:39 -0400 Received: from lo.gmane.org ([80.91.229.12]:34413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QExAy-0000MO-4s for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2011 01:20:36 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QExAv-0004QK-RZ for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2011 07:20:33 +0200 Received: from esprx01x.nokia.com ([192.100.124.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Apr 2011 07:20:33 +0200 Received: from william.xwl by esprx01x.nokia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Apr 2011 07:20:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: William Xu Subject: 24.0.50; bootstrap on windows 7: `gl-stamp' target failed Date: Wed, 27 Apr 2011 13:20:17 +0800 Organization: the Church of Emacs Lines: 26 Message-ID: <21gl7hagz2we.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: esprx01x.nokia.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) Cancel-Lock: sha1:m0CQuQQQ0mP6qg5PDZxnkIExPv8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) Here is the last build log: mkdir "oo-spd" mkdir "oo-spd/i386" echo oo-spd/i386 > stamp_BLD rm gl-tmp "../lib-src/oo-spd/i386/make-docfile" -d . -g dosfns.o msdos.o xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o dbusbind.o dosfns.o msdos.o xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o fringe.o image.o fontset.o menu.o dbusbind.o w32.o w32console.o w32fns.o w32heap.o w32inevt.o w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o font.o w32font.o w32uniscribe.o dispnew.o frame.o scroll.o xdisp.o window.o bidi.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o syntax.o bytecode.o process.o callproc.o unexw32.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o > gl-tmp cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || cp -f gl-tmp globals.h" Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. l:\bin\emacs\src> Executing: cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || cp -f gl-tmp globals.h" directly on cmd.exe seems OK. I don't know why it fails in bootstrapping? I simply replace that line with: cp -f gl-tmp globals.h # Wouldn't this be simpler & good enough? Now it bootstraps. -- William http://xwl.appspot.com ------------=_1304011682-25628-1--