From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karol Ostrovsky Newsgroups: gmane.emacs.bugs Subject: bug#18302: MSYS2 build issues Date: Mon, 25 Aug 2014 10:18:20 +0200 Message-ID: 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> <83bnrbmvm7.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1408954761 25284 80.91.229.3 (25 Aug 2014 08:19:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2014 08:19:21 +0000 (UTC) Cc: Chris Zheng , 18302@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 25 10:19:16 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 1XLpUg-0004bZ-Tl for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Aug 2014 10:19:15 +0200 Original-Received: from localhost ([::1]:46751 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLpUg-0006F7-HS for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Aug 2014 04:19:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLpUZ-0006F0-5s for bug-gnu-emacs@gnu.org; Mon, 25 Aug 2014 04:19:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XLpUU-0002fK-RE for bug-gnu-emacs@gnu.org; Mon, 25 Aug 2014 04:19:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLpUU-0002f7-O4 for bug-gnu-emacs@gnu.org; Mon, 25 Aug 2014 04:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XLpUU-00051Y-0u for bug-gnu-emacs@gnu.org; Mon, 25 Aug 2014 04:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Karol Ostrovsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Aug 2014 08:19:01 +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.140895471019266 (code B ref 18302); Mon, 25 Aug 2014 08:19:01 +0000 Original-Received: (at 18302) by debbugs.gnu.org; 25 Aug 2014 08:18:30 +0000 Original-Received: from localhost ([127.0.0.1]:51344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XLpTx-00050g-P1 for submit@debbugs.gnu.org; Mon, 25 Aug 2014 04:18:30 -0400 Original-Received: from mail-vc0-f169.google.com ([209.85.220.169]:32965) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XLpTu-00050R-Sk for 18302@debbugs.gnu.org; Mon, 25 Aug 2014 04:18:28 -0400 Original-Received: by mail-vc0-f169.google.com with SMTP id le20so15087550vcb.0 for <18302@debbugs.gnu.org>; Mon, 25 Aug 2014 01:18:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Q7PWGO41ne4dZNMvYs1Ardh3UiS/mxzDvhrOAIHRxZQ=; b=iG2/W8TvZCRvsvGme50YUxlpAxq+LKmiaqOb7vUB3K8TV+eTn/5RDaCYGBmy1JtXqx h0kGD45BQJ7+IgtGhy1SJC/ALNH0gmZ9vwids18yhWG/3vLpcxi31K3yQKKJiQx+BQw/ GzP0/0UttZWsFpnR8mVjMX3Ovv5rE/6rA19bJQMtMX0Ve/SccxT9Giks9Mh5iFW3aBtQ cqQU6uNzzZx7YsbzdZdbbJILOK+IVZypY5lTrtQYzIkB2EBIuIiUsh1HPQ52/bnuTwFk fZmk/M2N+XQAU2qp+m7SHrXjNS0Uo3BKS0YEYkOs+s3MMZHR9WPH6P3yHONg4VEjA6K+ 9ZdA== X-Received: by 10.52.136.196 with SMTP id qc4mr4592608vdb.22.1408954700949; Mon, 25 Aug 2014 01:18:20 -0700 (PDT) Original-Received: by 10.221.48.196 with HTTP; Mon, 25 Aug 2014 01:18:20 -0700 (PDT) In-Reply-To: <83bnrbmvm7.fsf@gnu.org> 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:92656 Archived-At: Hello Eli, thank you for the help. As for the item 3: as far as I understand the situation with xpm in MinGW-w64 is the same as in Cygwin. There are two packages providing xpm, and it is the package that is installed in the non-standard place that must be used for Emacs native Windows build. Thus, I don't see why the same solution that was approved for Cygwin cannot be used for MinGW-w64. Best regards, Karol On 23 August 2014 10:57, Eli Zaretskii wrote: >> 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.