From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Gallagher, Kevin" Newsgroups: gmane.emacs.bugs Subject: bug#10665: 24.0.93; Building for MS Windows using MinGW encounters a build problem in ../emacs-24.0.93/src/makefile Date: Mon, 30 Jan 2012 12:35:02 -0600 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_DEA5AB0D58A5EB4F98C312A173A3ECAE1721E95B69XCHMW11Vmwnos_" X-Trace: dough.gmane.org 1327948631 26495 80.91.229.3 (30 Jan 2012 18:37:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Jan 2012 18:37:11 +0000 (UTC) To: 10665@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 30 19:37:09 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rrw6H-0001VO-4m for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jan 2012 19:37:09 +0100 Original-Received: from localhost ([::1]:44649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrw6G-0006oG-HG for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jan 2012 13:37:08 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:58281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrw67-0006ng-IX for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2012 13:37:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rrw5z-0002A9-Rf for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2012 13:36:59 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrw5z-0002A4-Ol for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2012 13:36:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rrw6A-0000s6-Er for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2012 13:37:02 -0500 X-Loop: help-debbugs@gnu.org 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: X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.13279485783292 (code B ref -1); Mon, 30 Jan 2012 18:37:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jan 2012 18:36:18 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) Original-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) Original-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 Original-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 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== 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56239 Archived-At: --_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