From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18302: MSYS2 build issues Date: Sat, 23 Aug 2014 11:57:20 +0300 Message-ID: <83bnrbmvm7.fsf@gnu.org> References: <83zjezb00n.fsf@gnu.org> <83y4ujaxiv.fsf@gnu.org> <83tx55c3to.fsf@gnu.org> <53F63C95.6030303@cornell.edu> <83iollbqbn.fsf@gnu.org> <53F664CF.1060705@cornell.edu> <83fvgpawb4.fsf@gnu.org> <53F73FE3.4030507@cornell.edu> <83r408myxv.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1408784304 16012 80.91.229.3 (23 Aug 2014 08:58:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Aug 2014 08:58:24 +0000 (UTC) Cc: chriszheng99@gmail.com, 18302@debbugs.gnu.org To: Karol Ostrovsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 23 10:58:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XL79M-0000ME-ST for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Aug 2014 10:58:17 +0200 Original-Received: from localhost ([::1]:40414 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XL79M-0000Hz-Em for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Aug 2014 04:58:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XL79E-0000Hp-9y for bug-gnu-emacs@gnu.org; Sat, 23 Aug 2014 04:58:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XL799-0004Jk-4R for bug-gnu-emacs@gnu.org; Sat, 23 Aug 2014 04:58:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XL799-0004JC-1q for bug-gnu-emacs@gnu.org; Sat, 23 Aug 2014 04:58:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XL798-0006QP-E3 for bug-gnu-emacs@gnu.org; Sat, 23 Aug 2014 04:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Aug 2014 08:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18302 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18302-submit@debbugs.gnu.org id=B18302.140878425124658 (code B ref 18302); Sat, 23 Aug 2014 08:58:02 +0000 Original-Received: (at 18302) by debbugs.gnu.org; 23 Aug 2014 08:57:31 +0000 Original-Received: from localhost ([127.0.0.1]:49936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XL78c-0006Pd-2X for submit@debbugs.gnu.org; Sat, 23 Aug 2014 04:57:30 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:38388) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XL78Y-0006PL-6i for 18302@debbugs.gnu.org; Sat, 23 Aug 2014 04:57:27 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NAR004004APVZ00@mtaout29.012.net.il> for 18302@debbugs.gnu.org; Sat, 23 Aug 2014 11:57:12 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NAR004U94VCJY20@mtaout29.012.net.il>; Sat, 23 Aug 2014 11:57:12 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:92618 Archived-At: > Date: Fri, 22 Aug 2014 16:18:11 +0200 > From: Karol Ostrovsky > Cc: Ken Brown , Chris Zheng , 18302@debbugs.gnu.org > > I will try to summarise the situation, and I am attaching my updated > solution proposal for this particular bug: > > 1. MSYS2 uname must be handled properly, and that is fixed in the new > proposed patch. I disagree with not renaming opsys from mingw32 to > mingw, since mingw32 string is used in other places in the same file > and it means something else there, which I find possibly confusing. > But this change is not in my new patch. > > 2. -mtune is back to what it was with a minimal change required for > MSYS2+MinGW-w64 uname handling. > > 3. Include path for xpm in MSYS2+MinGW-w64 is handled in the same way > as in Cygwin. Perhaps, the same type of comment as was added for > Cygwin should be added for MSYS2+MinGW-w64. > > 4. A loop is added in the recipe for emacs.exe to handle > bootstrap-emacs.exe busy problem. Thanks. I installed items 1, 2, and 4, but not item 3. If you think we should do something about the xpm.h header, then please try this alternative solution: copy the xpm.h header file into the X11 subdirectory of your GCC 'include' directory (the one where you have all the standard C header files), then try configuring and building Emacs without adding the "-I/mingw64/include/noX" switch to CPPFLAGS. If that doesn't work, please show the error messages you get from the compiler, and let's take it from there. If, for some reason, you think that copying xpm.h to include/X11/xpm.h is not appropriate, please explain why you think so.