From unknown Fri Jun 20 07:24:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8564 <8564@debbugs.gnu.org> To: bug#8564 <8564@debbugs.gnu.org> Subject: Status: 24.0.50; bootstrap on windows 7: `gl-stamp' target failed Reply-To: bug#8564 <8564@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:24:53 +0000 retitle 8564 24.0.50; bootstrap on windows 7: `gl-stamp' target failed reassign 8564 emacs submitter 8564 William Xu severity 8564 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 27 01:20:52 2011 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 27 06:29:50 2011 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 To: William Xu In-reply-to: <21gl7hagz2we.fsf@gmail.com> (message from William Xu on Wed, 27 Apr 2011 13:20:17 +0800) Subject: Re: bug#8564: 24.0.50; bootstrap on windows 7: `gl-stamp' target failed References: <21gl7hagz2we.fsf@gmail.com> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 8564 Cc: 8564@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: -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 debbugs-submit-bounces@debbugs.gnu.org Wed Apr 27 22:26:11 2011 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/ To: bug-gnu-emacs@gnu.org From: William Xu Subject: Re: bug#8564: 24.0.50; bootstrap on windows 7: `gl-stamp' target failed 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-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.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 debbugs-submit-bounces@debbugs.gnu.org Thu Apr 28 00:53:21 2011 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 To: William Xu In-reply-to: <21gld3k7nmed.fsf@gmail.com> (message from William Xu on Thu, 28 Apr 2011 10:24:26 +0800) Subject: Re: bug#8564: 24.0.50; bootstrap on windows 7: `gl-stamp' target failed 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-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@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: -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 debbugs-submit-bounces@debbugs.gnu.org Thu Apr 28 02:21:26 2011 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/ To: bug-gnu-emacs@gnu.org From: William Xu Subject: Re: bug#8564: 24.0.50; bootstrap on windows 7: `gl-stamp' target failed 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-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.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 debbugs-submit-bounces@debbugs.gnu.org Thu Apr 28 13:27:47 2011 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. From unknown Fri Jun 20 07:24:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 27 May 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator