From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#28601: 26.0.50; configure: error: Emacs does not support 'x86_64-pc-msys' systems. Date: Wed, 8 Nov 2017 12:42:29 -0500 Message-ID: References: <84o9pyim1a.fsf@AigleRoyal> <847evr1r3j.fsf@gmail.com> <87y3nh4hsa.fsf@users.sourceforge.net> <831sl8sqmc.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1510163016 32503 195.159.176.226 (8 Nov 2017 17:43:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 8 Nov 2017 17:43:36 +0000 (UTC) Cc: Fabrice Popineau , Francis Wright , Vincent =?UTF-8?Q?Bela=C3=AFche?= , 28601@debbugs.gnu.org, Stephen Leake , Phillip Lord To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 08 18:43:27 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCUNp-0007zu-GJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Nov 2017 18:43:25 +0100 Original-Received: from localhost ([::1]:32949 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCUNw-0004AS-Nt for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Nov 2017 12:43:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCUNX-0003vt-9q for bug-gnu-emacs@gnu.org; Wed, 08 Nov 2017 12:43:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCUNT-0003xz-0A for bug-gnu-emacs@gnu.org; Wed, 08 Nov 2017 12:43:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50140) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eCUNS-0003xs-T1 for bug-gnu-emacs@gnu.org; Wed, 08 Nov 2017 12:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eCUNS-00079E-MR for bug-gnu-emacs@gnu.org; Wed, 08 Nov 2017 12:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Nov 2017 17:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28601 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28601-submit@debbugs.gnu.org id=B28601.151016295727436 (code B ref 28601); Wed, 08 Nov 2017 17:43:02 +0000 Original-Received: (at 28601) by debbugs.gnu.org; 8 Nov 2017 17:42:37 +0000 Original-Received: from localhost ([127.0.0.1]:58820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCUN3-00078N-67 for submit@debbugs.gnu.org; Wed, 08 Nov 2017 12:42:37 -0500 Original-Received: from mail-wm0-f43.google.com ([74.125.82.43]:46555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCUN2-000783-5P for 28601@debbugs.gnu.org; Wed, 08 Nov 2017 12:42:36 -0500 Original-Received: by mail-wm0-f43.google.com with SMTP id r68so12122492wmr.1 for <28601@debbugs.gnu.org>; Wed, 08 Nov 2017 09:42:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=9s9W8ugThllNT2wNE0yn4dZhQoIniG8QJ1f01LuM0+I=; b=SSwRbY+kniXJZmSqW5s3Rsjjm0DodWrD451/eC62JECtZ/3Ui04aovROXVdHPUgupe aR0sca4Wy90VwBIBP0jdax91cXcfXva96GS/HwoYX3+HQ052bcaHHTPJSaG/Ah9H2thM UVgZHbaLt2ggU5WArGwrHv/qpm7HxvCYJvtcWONZcnqBrhDC11l2/dH+BHyuZisKivTZ mQJZ1czTpxViuUJORDcAKSAdXPt5TbLAByZCoY2pJeF3Oyva7f0hOOa5EmonsfoXWm1T e2NaR31zx5p5HcBhc3NKP29KlH/0DMflWgPSr69BSbdy4DPD1t1koqCVgUrfS0and/0u FeSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=9s9W8ugThllNT2wNE0yn4dZhQoIniG8QJ1f01LuM0+I=; b=ncsPv9Uk4UrNwU/yE5+pJzgQH5mUvk3mW2rDPdGMUaCoLF7+HGd2iUOW0ttQ286Yd0 IYZc4l6ZJ/uXAgad0qqCZcNxjy8gKVbukUliCZ4JPvnLPMNblXPJNGcmtDpLvu9wdQZD AdLqt4kybb0H2MP5zEWRwT37MZDZN95iDMZveCKBwb33W0KfGtJK8fS+nrU7U2r0zq8I dYQXK8g6HgkZ+G2L/luoLc5hxl1nwJlWnZChnwzQR6wHpvFLzOcxcS095ukQ+hoNxRp4 tun0ktReCV9U6TBJtlJ9aJJBE3iDCPq2Qdnq+vIrZhk/ePHNGXCdcPWF2/SobrMzrMpx IBMQ== X-Gm-Message-State: AJaThX5YdO0BAh72EYT+WtZwi6HGOsqOqOgFgI3ti7lQJ4rAwBf7iyVw jZLNBlKAwuNpWtjbVJHu20vdJKZfxKR9UX+bgoI= X-Google-Smtp-Source: ABhQp+Qn3ab19yZq63iJrn5h4vhaXbuw8sS9hzLJDvqFejlBROHRy4rGwU4J1eJTHQSw5akRV9WJ2p8tmM/B6cF3ncE= X-Received: by 10.28.113.212 with SMTP id d81mr1106398wmi.152.1510162950267; Wed, 08 Nov 2017 09:42:30 -0800 (PST) Original-Received: by 10.223.146.227 with HTTP; Wed, 8 Nov 2017 09:42:29 -0800 (PST) In-Reply-To: <831sl8sqmc.fsf@gnu.org> X-Google-Sender-Auth: 6v-CI-ZCfZQIrN0rHerDws4WZ0U X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:139615 Archived-At: On Wed, Nov 8, 2017 at 11:05 AM, Eli Zaretskii wrote: >> +Note also that we need to disable Imagemagick and DBUS because Emacs >> +does not yet support them on Windows. > > I think the correct spelling is D-Bus, no? Yes, you're right (ref https://www.freedesktop.org/wiki/Software/dbus/). >> +** Check your $PATH >> + >> +When building Emacs, you should have /mingw64/bin in $PATH, such that running >> + >> + which gcc >> + >> +gives '/mingw64/bin/gcc'. >> + >> +** Check your $PKG_CONFIG_PATH >> + >> +It should start with '/mingw64/lib/pkgconfig'. > > You are talking to Windows users here, they might not be familiar with > the Unix shell's $FOO syntax. So I suggest to be more explicit here, > something like > > ** Check your PATH environment variable > > Also, there are native Windows ports of 'which', so I suggest to say > explicitly that "which gcc" should be invoked from the MSYS Bash > command line (and if so, why not use "type gcc" instead?). Otherwise, > the report by 'which' might be in a very different form, because > /mingw64 is not a real Windows file name. > > (Btw, on my system, "type gcc" from Bash says "/d/usr/bin/gcc", and > there's nothing wrong with my installation. So this advice could be > okay for the newbies, but if the value is different, it doesn't yet > mean the installation is wrong. I'm just saying.) But you have MSYS (1), right? The issue here, is that with MSYS2 there are 3 possible gcc's that can be installed. The mingw64 one should be active. If the user launched C:\msys64\msys2.exe instead of C:\msys64\mingw64.exe, they would get "/usr/bin/gcc", which is not the right gcc (it would result in the "Emacs does not support 'x86_64-pc-msys' systems" error mentioned in the bug title). Obviously, the text in my patch didn't explain this clearly enough. >> +** Check your MSYS2 fstab file > > I don't understand why this part is necessary. AFAIR, fstab is set up > by the MSYS installer, and if it doesn't have the correct entries, > nothing will really work. So I think this problem can only happen if > someone manually tinkers with their fstab, and if so, they should know > what they are doing. Asking people to look there runs the risk of > them deciding that the value is somehow incorrect, and editing it to > completely ruin their MSYS installation. FWIW, I have _never_ needed > to look at that file, in all the years I have an actively maintained > and used MSYS installation. > > So I think this is best skipped. Maybe we should title the section "If your name is Vincent, Check your MSYS2 fstab file" ;)