From unknown Tue Jun 24 01:39:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10665: 24.0.93; Building for MS Windows using MinGW encounters a build problem in ../emacs-24.0.93/src/makefile Resent-From: "Gallagher, Kevin" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Jan 2012 18:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10665 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 10665@debbugs.gnu.org X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.13279485783292 (code B ref -1); Mon, 30 Jan 2012 18:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jan 2012 18:36:18 +0000 Received: from localhost ([127.0.0.1]:45534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rrw5M-0000qy-K0 for submit@debbugs.gnu.org; Mon, 30 Jan 2012 13:36:15 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41617) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rrw5D-0000qM-M3 for submit@debbugs.gnu.org; Mon, 30 Jan 2012 13:36:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rrw4o-0001Jz-Ub for submit@debbugs.gnu.org; Mon, 30 Jan 2012 13:35:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:44644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrw4o-0001Jt-RR for submit@debbugs.gnu.org; Mon, 30 Jan 2012 13:35:38 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrw4f-0006b4-MV for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2012 13:35:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rrw4X-0001B0-W6 for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2012 13:35:29 -0500 Received: from stl-smtpout-01.boeing.com ([130.76.96.56]:63616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrw4X-000192-QV for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2012 13:35:21 -0500 Received: from blv-av-01.boeing.com (blv-av-01.boeing.com [130.247.48.231]) by stl-smtpout-01.ns.cs.boeing.com (8.14.4/8.14.4/8.14.4/SMTPOUT) with ESMTP id q0UIa8iD005336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 30 Jan 2012 12:36:09 -0600 (CST) Received: from blv-av-01.boeing.com (localhost [127.0.0.1]) by blv-av-01.boeing.com (8.14.4/8.14.4/DOWNSTREAM_RELAY) with ESMTP id q0UIZG1q004646 for ; Mon, 30 Jan 2012 10:35:16 -0800 (PST) Received: from XCH-MWHT-02.mw.nos.boeing.com (xch-mwht-02.mw.nos.boeing.com [134.57.113.20]) by blv-av-01.boeing.com (8.14.4/8.14.4/UPSTREAM_RELAY) with ESMTP id q0UIZ8ck004248 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=OK) for ; Mon, 30 Jan 2012 10:35:15 -0800 (PST) Received: from XCH-MWPFX-01.mw.nos.boeing.com (132.173.24.10) by XCH-MWHT-02.mw.nos.boeing.com (134.57.113.20) with Microsoft SMTP Server (TLS) id 8.3.213.0; Mon, 30 Jan 2012 12:35:09 -0600 Received: from XCH-MW-11V.mw.nos.boeing.com ([134.57.119.194]) by XCH-MWPFX-01.mw.nos.boeing.com ([132.173.24.10]) with mapi; Mon, 30 Jan 2012 12:35:08 -0600 From: "Gallagher, Kevin" Date: Mon, 30 Jan 2012 12:35:02 -0600 Thread-Topic: 24.0.93; Building for MS Windows using MinGW encounters a build problem in ../emacs-24.0.93/src/makefile Thread-Index: AczffeDtBGNdNFUHRyKpiq1Gt8ms3g== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-puzzleid: {2DCAF3B8-96E0-496B-ABE4-C7B9C8E7CF6E} x-cr-hashedpuzzle: YDg= AURi Bgug CZ8V CkL3 DNSy D+75 ELnG E0nW E51i FfqS GGPC GW04 G3CQ IN2d JTnV; 1; YgB1AGcALQBnAG4AdQAtAGUAbQBhAGMAcwBAAGcAbgB1AC4AbwByAGcA; Sosha1_v1; 7; {2DCAF3B8-96E0-496B-ABE4-C7B9C8E7CF6E}; awBlAHYAaQBuAC4AZwBhAGwAbABhAGcAaABlAHIAQABiAG8AZQBpAG4AZwAuAGMAbwBtAA==; Mon, 30 Jan 2012 18:35:02 GMT; MgA0AC4AMAAuADkAMwA7ACAAQgB1AGkAbABkAGkAbgBnACAAZgBvAHIAIABNAFMAIABXAGkAbgBkAG8AdwBzACAAdQBzAGkAbgBnACAATQBpAG4ARwBXACAAZQBuAGMAbwB1AG4AdABlAHIAcwAgAGEAIABiAHUAaQBsAGQAIABwAHIAbwBiAGwAZQBtACAAaQBuACAALgAuAC8AZQBtAGEAYwBzAC0AMgA0AC4AMAAuADkAMwAvAHMAcgBjAC8AbQBhAGsAZQBmAGkAbABlAA== acceptlanguage: en-US x-tm-as-product-ver: SMEX-10.0.0.1412-6.800.1017-18676.007 x-tm-as-result: No--43.245800-0.000000-31 x-tm-as-user-approved-sender: Yes x-tm-as-user-blocked-sender: No Content-Type: multipart/alternative; boundary="_000_DEA5AB0D58A5EB4F98C312A173A3ECAE1721E95B69XCHMW11Vmwnos_" MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Solaris 9.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -3.5 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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: -3.5 (---) --_000_DEA5AB0D58A5EB4F98C312A173A3ECAE1721E95B69XCHMW11Vmwnos_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': The problem is in the generated ../emacs-24.0.93/src/makefile, which has the following target and associated rule: globals.h: gl-stamp @cmd /c rem true In an MinGW/MSYS bash shell, this rule invokes the MS Windows cmd.exe command interpreter, which issues a prompt and then does not exit, thereby halting the build. The output from make looks like this, at this point: echo timestamp > gl-stamp Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. c:\emacs-24.0.93\src> Entering "exit" at the prompt causes the Windows cmd.exe to exit resulting in the make build resuming. (NOTE: a build of the candidate release for Emacs 23.4 does not have the problem.) It appears that the above rule for the target globals.h is an error. FYI, I invoked configure.bat like this cmd /c "configure.bat --cflags -fno-omit-frame-pointer --cflags -IC:/usr/in= clude" within a MinGW/MSYS bash shell. It reported the following: Checking for 'cp'... Checking for 'rm'... Checking whether 'gcc' is available... Checking whether gcc requires '-mno-cygwin'... Checking whether W32 API headers are too old... c:\emacs-24.0.93\nt>gcc -fno-omit-frame-pointer -IC:/usr/include -c junk.c Using 'gcc' Checking for libpng... ...PNG header available, building with PNG support. Checking for libgnutls... ...gnutls.h not found, building without TLS support. Checking for jpeg-6b... ...JPEG header available, building with JPEG support. Checking for libgif... ...GIF header available, building with GIF support. Checking for tiff... ...TIFF header available, building with TIFF support. Checking for libXpm... ...XPM header available, building with XPM support. Generating makefiles 1 file(s) copied. config.settings gmake.defs ..\nt\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\admin\unidata\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\lib-src\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\lib\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\src\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\doc\emacs\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\doc\misc\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\doc\lispref\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\doc\lispintro\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\lisp\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\leim\makefile.w32-in 1 file(s) copied. Emacs successfully configured. Run `make' to build, then run `make install' to install. In ../emacs-24.0.93/src/makefile, If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file c:/emacs-24.0.93/etc/DEBUG. In GNU Emacs 24.0.93.1 (i386-mingw-nt5.1.2600) of 2012-01-30 on A5032619 Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.6) --cflags -fno-omit-frame-pointer -IC:/usr/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x r e p o r t SPC e m SPC b SPC Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) --_000_DEA5AB0D58A5EB4F98C312A173A3ECAE1721E95B69XCHMW11Vmwnos_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

This bug report will be sent to = the Bug-GNU-Emacs mailing list

and the GNU bug tr= acker at debbugs.gnu.org.  Please check that

the From: line contains a valid email address.  After a delay of up

to one day, you should receive an acknowledgement = at that address.

 

Please write in English if possible, as the Emacs maintainers

usually do not have translators for other languages.

 

Please describe exactly = what actions triggered the bug, and

the precise s= ymptoms of the bug.  If you can, give a recipe

 

The problem is in the generated ../emacs-24.0.93/src/makefile,= which

has the following target and associated r= ule:

 

globals.h:= gl-stamp

      @cmd /c = rem true

 

In an M= inGW/MSYS bash shell, this rule invokes the MS Windows cmd.exe

command interpreter, which issues a prompt and then does not = exit, thereby

halting the build.  The output= from make looks like this, at this point:

&= nbsp;

echo timestamp > gl-stamp<= /p>

Microsoft Windows XP [Version 5.1.2600]

= (C) Copyright 1985-2001 Microsoft Corp.

&nb= sp;

c:\emacs-24.0.93\src>

Entering “exit” at the promp= t causes the Windows cmd.exe to exit

resulting i= n the make build resuming.  (NOTE: a build of the candidate=

release for Emacs 23.4 does not have the problem.)

 

It appears that the abov= e rule for the target globals.h

<= span style=3D'font-size:10.0pt;font-family:"Courier New"'>is an error.=

 

FYI, I invoked confi= gure.bat like this

 

&n= bsp;

within a MinGW/MSYS bash shell. It reported the f= ollowing:

 

Checki= ng for 'cp'...

Checking for 'rm'...

Checking whether 'gcc' is available...

Checking whether W32 API headers are too old...

=  

c:\emacs-24.0.93\nt>gcc -fno-omit-frame= -pointer -IC:/usr/include -c junk.c

Using 'gcc'<= o:p>

Checking for libpng...

= ...PNG header available, building with PNG support.

...gnutls.h not foun= d, building without TLS support.

= Checking for jpe= g-6b...

...JPEG header available, building with J= PEG support.

Checking for libgif...

...GIF header available, building with GIF support.=

Checking for tiff...

...TIFF head= er available, building with TIFF support.

Checkin= g for libXpm...

...XPM header available, building= with XPM support.

Generating makefiles

        1 file(s) copie= d.

config.settings

gma= ke.defs

..\nt\makefile.w32-in

        1 file(s) copied.

config.settings

gmake.defs

..\admin\unidata\makefile.w32-in

        1 file(s) copied.

config.settings

gmake.defs

..\lib-src\makefile.w32-in

        1 file(s) copied.

config.settings

gmake.defs

..\lib\makefile.w32-in

 &nb= sp;      1 file(s) copied.

gmake.defs

..\src\makefile.w32-in

   &= nbsp;    1 file(s) copied.

config.= settings

gmake.defs

..\= doc\emacs\makefile.w32-in

    = ;    1 file(s) copied.

config.sett= ings

gmake.defs

..\doc\= misc\makefile.w32-in

    &nb= sp;   1 file(s) copied.

config.settings=

gmake.defs

..\doc\lisp= ref\makefile.w32-in

    &nb= sp;   1 file(s) copied.

config.settings=

gmake.defs

..\doc\lisp= intro\makefile.w32-in

    &nb= sp;   1 file(s) copied.

config.settings=

gmake.defs

..\lisp\mak= efile.w32-in

      =   1 file(s) copied.

config.settings

gmake.defs

..\leim\makefile.w32= -in

        1 = file(s) copied.

 

= Emacs successfully configured.

Run `make' to buil= d, then run `make install' to install.

 = ;

 

In ../emacs-24.0.93= /src/makefile,

 

= If Emacs crashed, and you have the Emacs process in the gdb debugger,<= /o:p>

please include the output from the following gdb comma= nds:

    `bt full' and `xbacktrace= '.

For information about debugging Emacs, please = read the file

c:/emacs-24.0.93/etc/DEBUG.

 

 

In GNU Emacs 24.0.93.1 (i386-mingw-nt5.1.2600)<= /p>

of 2012-01-30 on A5032619

Windowing syst= em distributor `Microsoft Corp.', version 5.1.2600

`configure --with-gcc (4.6= ) --cflags -fno-omit-frame-pointer

-IC:/usr/incl= ude'

 

Important s= ettings:

  value of $LC_ALL: nil<= /span>

  value of $LC_COLLATE: nil

&= nbsp; value of $LC_CTYPE: nil

  value of $LC= _MESSAGES: nil

  value of $LC_MONETARY: nil<= o:p>

  value of $LC_NUMERIC: nil

  value of $LC_TIME: nil

  va= lue of $LANG: ENU

  value of $XMODIFIERS: ni= l

  locale-coding-system: cp1252<= /span>

  default enable-multibyte-characters: t

 

Major mode: Lisp Interaction

 

<= span style=3D'font-size:10.0pt;font-family:"Courier New"'>Minor modes in ef= fect:

  tooltip-mode: t

  mouse-wheel-mode: t

=   tool-bar-= mode: t

  menu-bar-mode: t=

  file-name-shadow-mode: t

  g= lobal-font-lock-mode: t

  font-lock-mode: t<= o:p>

  blink-cursor-mode: t

=

  auto-composition-mode: t

  auto-= encryption-mode: t

  auto-compression-mode: = t

  line-number-mode: t

  transient-mark-mode: t

 

Recent input:

<escape> = x r e p o r t SPC e m SPC b SPC <return>

 

Recent messages:

F= or information about GNU Emacs and the GNU system, type C-h C-a.=

 

Load-path shadows:

None found.

 <= /span>

Features:

(shadow sort gnus-util m= ail-extr message format-spec rfc822 mml easymenu

= mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045

ietf-drums mm-util mail-prsvr mailabbrev mail-utils= gmm-utils mailheader

emacsbug time-date tooltip = ediff-hook vc-hooks lisp-float-type mwheel

dos-w3= 2 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image=

fringe lisp-mode register page menu-bar rfn-eshadow timer s= elect

scroll-bar mouse jit-lock font-lock syntax = facemenu font-core frame cham

georgian utf-8-lang= misc-lang vietnamese tibetan thai tai-viet lao

k= orean japanese hebrew greek romanian slovak czech european ethiopic

indian cyrillic chinese case-table epa-hook jka-cmpr-hoo= k help simple

abbrev minibuffer loaddefs button f= aces cus-face files text-properties

overlay sha1 = md5 base64 format env code-pages mule custom widget

Subject: bug#10665: closed (Re: bug#10665: 24.0.93; Building for MS Windows using MinGW encounters a build problem in ../emacs-24.0.93/src/makefile) Message-ID: References: <83ty3dqatk.fsf@gnu.org> X-Gnu-PR-Message: they-closed 10665 X-Gnu-PR-Package: emacs,w32 Reply-To: 10665@debbugs.gnu.org Date: Mon, 30 Jan 2012 18:59:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1327949942-5554-1" This is a multi-part message in MIME format... ------------=_1327949942-5554-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #10665: 24.0.93; Building for MS Windows using MinGW encounters a build pro= blem in ../emacs-24.0.93/src/makefile which was filed against the emacs,w32 package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 10665@debbugs.gnu.org. --=20 10665: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D10665 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1327949942-5554-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 10665-done) by debbugs.gnu.org; 30 Jan 2012 18:58:12 +0000 Received: from localhost ([127.0.0.1]:45570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RrwQd-0001Q5-W2 for submit@debbugs.gnu.org; Mon, 30 Jan 2012 13:58:12 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:40352) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RrwQb-0001PC-SR for 10665-done@debbugs.gnu.org; Mon, 30 Jan 2012 13:58:11 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LYM00I00KBURN00@a-mtaout22.012.net.il> for 10665-done@debbugs.gnu.org; Mon, 30 Jan 2012 20:57:51 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.57.191]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LYM00IW5KOECT60@a-mtaout22.012.net.il>; Mon, 30 Jan 2012 20:57:51 +0200 (IST) Date: Mon, 30 Jan 2012 20:55:51 +0200 From: Eli Zaretskii Subject: Re: bug#10665: 24.0.93; Building for MS Windows using MinGW encounters a build problem in ../emacs-24.0.93/src/makefile In-reply-to: X-012-Sender: halo1@inter.net.il To: "Gallagher, Kevin" Message-id: <83ty3dqatk.fsf@gnu.org> References: X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 10665-done Cc: 10665-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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: -1.2 (-) > From: "Gallagher, Kevin" > Date: Mon, 30 Jan 2012 12:35:02 -0600 > > The problem is in the generated ../emacs-24.0.93/src/makefile, which > has the following target and associated rule: > > globals.h: gl-stamp > @cmd /c rem true > > In an MinGW/MSYS bash shell, this rule invokes the MS Windows cmd.exe > command interpreter, which issues a prompt and then does not exit, thereby > halting the build. The output from make looks like this, at this point: > > echo timestamp > gl-stamp > Microsoft Windows XP [Version 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > > c:\emacs-24.0.93\src> This is a known issue with the MSYS Bash. That shell is not supported by the Windows build of Emacs, for this very reason, see nt/INSTALL. Just remove MSYS from your PATH, and you should be able to build EMacs just fine. You don't need a Unixy shell. I'm closing this bug report. Thanks for reporting and digging into this. ------------=_1327949942-5554-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 30 Jan 2012 18:36:18 +0000 Received: from localhost ([127.0.0.1]:45534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rrw5M-0000qy-K0 for submit@debbugs.gnu.org; Mon, 30 Jan 2012 13:36:15 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41617) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rrw5D-0000qM-M3 for submit@debbugs.gnu.org; Mon, 30 Jan 2012 13:36:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rrw4o-0001Jz-Ub for submit@debbugs.gnu.org; Mon, 30 Jan 2012 13:35:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:44644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrw4o-0001Jt-RR for submit@debbugs.gnu.org; Mon, 30 Jan 2012 13:35:38 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrw4f-0006b4-MV for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2012 13:35:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rrw4X-0001B0-W6 for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2012 13:35:29 -0500 Received: from stl-smtpout-01.boeing.com ([130.76.96.56]:63616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrw4X-000192-QV for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2012 13:35:21 -0500 Received: from blv-av-01.boeing.com (blv-av-01.boeing.com [130.247.48.231]) by stl-smtpout-01.ns.cs.boeing.com (8.14.4/8.14.4/8.14.4/SMTPOUT) with ESMTP id q0UIa8iD005336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 30 Jan 2012 12:36:09 -0600 (CST) Received: from blv-av-01.boeing.com (localhost [127.0.0.1]) by blv-av-01.boeing.com (8.14.4/8.14.4/DOWNSTREAM_RELAY) with ESMTP id q0UIZG1q004646 for ; Mon, 30 Jan 2012 10:35:16 -0800 (PST) Received: from XCH-MWHT-02.mw.nos.boeing.com (xch-mwht-02.mw.nos.boeing.com [134.57.113.20]) by blv-av-01.boeing.com (8.14.4/8.14.4/UPSTREAM_RELAY) with ESMTP id q0UIZ8ck004248 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=OK) for ; Mon, 30 Jan 2012 10:35:15 -0800 (PST) Received: from XCH-MWPFX-01.mw.nos.boeing.com (132.173.24.10) by XCH-MWHT-02.mw.nos.boeing.com (134.57.113.20) with Microsoft SMTP Server (TLS) id 8.3.213.0; Mon, 30 Jan 2012 12:35:09 -0600 Received: from XCH-MW-11V.mw.nos.boeing.com ([134.57.119.194]) by XCH-MWPFX-01.mw.nos.boeing.com ([132.173.24.10]) with mapi; Mon, 30 Jan 2012 12:35:08 -0600 From: "Gallagher, Kevin" To: "bug-gnu-emacs@gnu.org" Date: Mon, 30 Jan 2012 12:35:02 -0600 Subject: 24.0.93; Building for MS Windows using MinGW encounters a build problem in ../emacs-24.0.93/src/makefile Thread-Topic: 24.0.93; Building for MS Windows using MinGW encounters a build problem in ../emacs-24.0.93/src/makefile Thread-Index: AczffeDtBGNdNFUHRyKpiq1Gt8ms3g== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-puzzleid: {2DCAF3B8-96E0-496B-ABE4-C7B9C8E7CF6E} x-cr-hashedpuzzle: YDg= AURi Bgug CZ8V CkL3 DNSy D+75 ELnG E0nW E51i FfqS GGPC GW04 G3CQ IN2d JTnV; 1; YgB1AGcALQBnAG4AdQAtAGUAbQBhAGMAcwBAAGcAbgB1AC4AbwByAGcA; Sosha1_v1; 7; {2DCAF3B8-96E0-496B-ABE4-C7B9C8E7CF6E}; awBlAHYAaQBuAC4AZwBhAGwAbABhAGcAaABlAHIAQABiAG8AZQBpAG4AZwAuAGMAbwBtAA==; Mon, 30 Jan 2012 18:35:02 GMT; MgA0AC4AMAAuADkAMwA7ACAAQgB1AGkAbABkAGkAbgBnACAAZgBvAHIAIABNAFMAIABXAGkAbgBkAG8AdwBzACAAdQBzAGkAbgBnACAATQBpAG4ARwBXACAAZQBuAGMAbwB1AG4AdABlAHIAcwAgAGEAIABiAHUAaQBsAGQAIABwAHIAbwBiAGwAZQBtACAAaQBuACAALgAuAC8AZQBtAGEAYwBzAC0AMgA0AC4AMAAuADkAMwAvAHMAcgBjAC8AbQBhAGsAZQBmAGkAbABlAA== acceptlanguage: en-US x-tm-as-product-ver: SMEX-10.0.0.1412-6.800.1017-18676.007 x-tm-as-result: No--43.245800-0.000000-31 x-tm-as-user-approved-sender: Yes x-tm-as-user-blocked-sender: No Content-Type: multipart/alternative; boundary="_000_DEA5AB0D58A5EB4F98C312A173A3ECAE1721E95B69XCHMW11Vmwnos_" MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Solaris 9.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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: -3.5 (---) --_000_DEA5AB0D58A5EB4F98C312A173A3ECAE1721E95B69XCHMW11Vmwnos_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': The problem is in the generated ../emacs-24.0.93/src/makefile, which has the following target and associated rule: globals.h: gl-stamp @cmd /c rem true In an MinGW/MSYS bash shell, this rule invokes the MS Windows cmd.exe command interpreter, which issues a prompt and then does not exit, thereby halting the build. The output from make looks like this, at this point: echo timestamp > gl-stamp Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. c:\emacs-24.0.93\src> Entering "exit" at the prompt causes the Windows cmd.exe to exit resulting in the make build resuming. (NOTE: a build of the candidate release for Emacs 23.4 does not have the problem.) It appears that the above rule for the target globals.h is an error. FYI, I invoked configure.bat like this cmd /c "configure.bat --cflags -fno-omit-frame-pointer --cflags -IC:/usr/in= clude" within a MinGW/MSYS bash shell. It reported the following: Checking for 'cp'... Checking for 'rm'... Checking whether 'gcc' is available... Checking whether gcc requires '-mno-cygwin'... Checking whether W32 API headers are too old... c:\emacs-24.0.93\nt>gcc -fno-omit-frame-pointer -IC:/usr/include -c junk.c Using 'gcc' Checking for libpng... ...PNG header available, building with PNG support. Checking for libgnutls... ...gnutls.h not found, building without TLS support. Checking for jpeg-6b... ...JPEG header available, building with JPEG support. Checking for libgif... ...GIF header available, building with GIF support. Checking for tiff... ...TIFF header available, building with TIFF support. Checking for libXpm... ...XPM header available, building with XPM support. Generating makefiles 1 file(s) copied. config.settings gmake.defs ..\nt\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\admin\unidata\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\lib-src\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\lib\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\src\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\doc\emacs\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\doc\misc\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\doc\lispref\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\doc\lispintro\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\lisp\makefile.w32-in 1 file(s) copied. config.settings gmake.defs ..\leim\makefile.w32-in 1 file(s) copied. Emacs successfully configured. Run `make' to build, then run `make install' to install. In ../emacs-24.0.93/src/makefile, If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file c:/emacs-24.0.93/etc/DEBUG. In GNU Emacs 24.0.93.1 (i386-mingw-nt5.1.2600) of 2012-01-30 on A5032619 Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.6) --cflags -fno-omit-frame-pointer -IC:/usr/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x r e p o r t SPC e m SPC b SPC Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) --_000_DEA5AB0D58A5EB4F98C312A173A3ECAE1721E95B69XCHMW11Vmwnos_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

This bug report will be sent to = the Bug-GNU-Emacs mailing list

and the GNU bug tr= acker at debbugs.gnu.org.  Please check that

the From: line contains a valid email address.  After a delay of up

to one day, you should receive an acknowledgement = at that address.

 

Please write in English if possible, as the Emacs maintainers

usually do not have translators for other languages.

 

Please describe exactly = what actions triggered the bug, and

the precise s= ymptoms of the bug.  If you can, give a recipe

 

The problem is in the generated ../emacs-24.0.93/src/makefile,= which

has the following target and associated r= ule:

 

globals.h:= gl-stamp

      @cmd /c = rem true

 

In an M= inGW/MSYS bash shell, this rule invokes the MS Windows cmd.exe

command interpreter, which issues a prompt and then does not = exit, thereby

halting the build.  The output= from make looks like this, at this point:

&= nbsp;

echo timestamp > gl-stamp<= /p>

Microsoft Windows XP [Version 5.1.2600]

= (C) Copyright 1985-2001 Microsoft Corp.

&nb= sp;

c:\emacs-24.0.93\src>

Entering “exit” at the promp= t causes the Windows cmd.exe to exit

resulting i= n the make build resuming.  (NOTE: a build of the candidate=

release for Emacs 23.4 does not have the problem.)

 

It appears that the abov= e rule for the target globals.h

<= span style=3D'font-size:10.0pt;font-family:"Courier New"'>is an error.=

 

FYI, I invoked confi= gure.bat like this

 

&n= bsp;

within a MinGW/MSYS bash shell. It reported the f= ollowing:

 

Checki= ng for 'cp'...

Checking for 'rm'...

Checking whether 'gcc' is available...

Checking whether W32 API headers are too old...

=  

c:\emacs-24.0.93\nt>gcc -fno-omit-frame= -pointer -IC:/usr/include -c junk.c

Using 'gcc'<= o:p>

Checking for libpng...

= ...PNG header available, building with PNG support.

...gnutls.h not foun= d, building without TLS support.

= Checking for jpe= g-6b...

...JPEG header available, building with J= PEG support.

Checking for libgif...

...GIF header available, building with GIF support.=

Checking for tiff...

...TIFF head= er available, building with TIFF support.

Checkin= g for libXpm...

...XPM header available, building= with XPM support.

Generating makefiles

        1 file(s) copie= d.

config.settings

gma= ke.defs

..\nt\makefile.w32-in

        1 file(s) copied.

config.settings

gmake.defs

..\admin\unidata\makefile.w32-in

        1 file(s) copied.

config.settings

gmake.defs

..\lib-src\makefile.w32-in

        1 file(s) copied.

config.settings

gmake.defs

..\lib\makefile.w32-in

 &nb= sp;      1 file(s) copied.

gmake.defs

..\src\makefile.w32-in

   &= nbsp;    1 file(s) copied.

config.= settings

gmake.defs

..\= doc\emacs\makefile.w32-in

    = ;    1 file(s) copied.

config.sett= ings

gmake.defs

..\doc\= misc\makefile.w32-in

    &nb= sp;   1 file(s) copied.

config.settings=

gmake.defs

..\doc\lisp= ref\makefile.w32-in

    &nb= sp;   1 file(s) copied.

config.settings=

gmake.defs

..\doc\lisp= intro\makefile.w32-in

    &nb= sp;   1 file(s) copied.

config.settings=

gmake.defs

..\lisp\mak= efile.w32-in

      =   1 file(s) copied.

config.settings

gmake.defs

..\leim\makefile.w32= -in

        1 = file(s) copied.

 

= Emacs successfully configured.

Run `make' to buil= d, then run `make install' to install.

 = ;

 

In ../emacs-24.0.93= /src/makefile,

 

= If Emacs crashed, and you have the Emacs process in the gdb debugger,<= /o:p>

please include the output from the following gdb comma= nds:

    `bt full' and `xbacktrace= '.

For information about debugging Emacs, please = read the file

c:/emacs-24.0.93/etc/DEBUG.

 

 

In GNU Emacs 24.0.93.1 (i386-mingw-nt5.1.2600)<= /p>

of 2012-01-30 on A5032619

Windowing syst= em distributor `Microsoft Corp.', version 5.1.2600

`configure --with-gcc (4.6= ) --cflags -fno-omit-frame-pointer

-IC:/usr/incl= ude'

 

Important s= ettings:

  value of $LC_ALL: nil<= /span>

  value of $LC_COLLATE: nil

&= nbsp; value of $LC_CTYPE: nil

  value of $LC= _MESSAGES: nil

  value of $LC_MONETARY: nil<= o:p>

  value of $LC_NUMERIC: nil

  value of $LC_TIME: nil

  va= lue of $LANG: ENU

  value of $XMODIFIERS: ni= l

  locale-coding-system: cp1252<= /span>

  default enable-multibyte-characters: t

 

Major mode: Lisp Interaction

 

<= span style=3D'font-size:10.0pt;font-family:"Courier New"'>Minor modes in ef= fect:

  tooltip-mode: t

  mouse-wheel-mode: t

=   tool-bar-= mode: t

  menu-bar-mode: t=

  file-name-shadow-mode: t

  g= lobal-font-lock-mode: t

  font-lock-mode: t<= o:p>

  blink-cursor-mode: t

=

  auto-composition-mode: t

  auto-= encryption-mode: t

  auto-compression-mode: = t

  line-number-mode: t

  transient-mark-mode: t

 

Recent input:

<escape> = x r e p o r t SPC e m SPC b SPC <return>

 

Recent messages:

F= or information about GNU Emacs and the GNU system, type C-h C-a.=

 

Load-path shadows:

None found.

 <= /span>

Features:

(shadow sort gnus-util m= ail-extr message format-spec rfc822 mml easymenu

= mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045

ietf-drums mm-util mail-prsvr mailabbrev mail-utils= gmm-utils mailheader

emacsbug time-date tooltip = ediff-hook vc-hooks lisp-float-type mwheel

dos-w3= 2 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image=

fringe lisp-mode register page menu-bar rfn-eshadow timer s= elect

scroll-bar mouse jit-lock font-lock syntax = facemenu font-core frame cham

georgian utf-8-lang= misc-lang vietnamese tibetan thai tai-viet lao

k= orean japanese hebrew greek romanian slovak czech european ethiopic

indian cyrillic chinese case-table epa-hook jka-cmpr-hoo= k help simple

abbrev minibuffer loaddefs button f= aces cus-face files text-properties

overlay sha1 = md5 base64 format env code-pages mule custom widget