From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: make distclean and quail Date: Sun, 11 Aug 2013 19:49:43 +0200 Message-ID: References: <8338rf4yor.fsf@gnu.org> <83txjv3iui.fsf@gnu.org> <83d2pkqh96.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 1376243434 13654 80.91.229.3 (11 Aug 2013 17:50:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Aug 2013 17:50:34 +0000 (UTC) Cc: Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 11 19:50:37 2013 Return-path: Envelope-to: ged-emacs-devel@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 1V8Zmm-0002Bl-VM for ged-emacs-devel@m.gmane.org; Sun, 11 Aug 2013 19:50:37 +0200 Original-Received: from localhost ([::1]:49149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8Zmm-0006Uz-LK for ged-emacs-devel@m.gmane.org; Sun, 11 Aug 2013 13:50:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8Zmf-0006Ur-KK for emacs-devel@gnu.org; Sun, 11 Aug 2013 13:50:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V8Zme-0007Dp-Bb for emacs-devel@gnu.org; Sun, 11 Aug 2013 13:50:29 -0400 Original-Received: from mail-ea0-x22d.google.com ([2a00:1450:4013:c01::22d]:49338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8Zmb-0007Cn-EF; Sun, 11 Aug 2013 13:50:25 -0400 Original-Received: by mail-ea0-f173.google.com with SMTP id g10so3004354eak.32 for ; Sun, 11 Aug 2013 10:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=HK113Z94zMLEUkwC9ATM7HfM61AbsylmbG7/sIs/2jI=; b=fkD6yMW4l3SC4DSudH4GoByTYj/vNNxbV0brKLR+904R3mFcUm7jDwBrCH8KNPYgvL wdijoTSqWSk9sUaGh92UBUPb1bmrqsEF0V4TqHrX9D7IoW5G/XpFwv5RU0cLNg28DMjh 7vXqVrDh9Nd9YgG+rbx/54xY65jHF7mejLVnC3DA2W0XsUIpkGYOSKb+cO/BJ62Rqtm8 pRRKYXoD5fyfiLF2TpvewReAuaNDzXHiJ+y5z256rwGYmGhpYeRQ6ti/hVvapwWKA4hw Wts6Fnhs+IXM8Yoy6jaBgUyBr+l8LIBgwh+irN6n7cDnZuLXn5JBImS5fWwmWdwM8w07 djzQ== X-Received: by 10.14.173.5 with SMTP id u5mr6210314eel.89.1376243423761; Sun, 11 Aug 2013 10:50:23 -0700 (PDT) Original-Received: by 10.14.133.15 with HTTP; Sun, 11 Aug 2013 10:49:43 -0700 (PDT) In-Reply-To: <83d2pkqh96.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162574 Archived-At: On Sun, Aug 11, 2013 at 7:17 PM, Eli Zaretskii wrote: > So you are saying that _all_ of the Makefile's set srcdir to its > correct value Yes, all Makefiles have srcdir = /c/Devel/emacs/repo/trunk [etc], > and yet the commands issued by Make have "Devel" > downcased, is that right? The "Entering directory" / "Leaving directory" messages are correctly cased, as are many commands: /c/Devel/emacs/build/bin/makeinfo --force -I/c/Devel/emacs/repo/trunk/doc/misc/../emacs [etc] gcc -std=gnu99 -mtune=pentium4 [deleted warnings stuff] -I. -I/c/Devel/emacs/repo/trunk/nt -Lc:/Devel/emacs/lib -mtune=pentium4 -Ic:/Devel/emacs/include -DUSE_CRT_DLL=1 -I /c/Devel/emacs/repo/trunk/nt/inc -O0 -g3 /c/Devel/emacs/repo/trunk/nt/runemacs.c However "shell" commands are not: [ -r "/c/devel/emacs/repo/trunk/src/config.in" ] || ( cd /c/devel/emacs/repo/trunk && autoheader ) if test -f "/c/devel/emacs/repo/trunk/src/.gdbinit"; then rm -f ./.gdbinit.save; \ make[1]: Entering directory `/c/Devel/emacs/repo/trunk/leim' SRC = /c/devel/emacs/repo/trunk/leim PWD = /c/Devel/emacs/repo/trunk/leim [ `cd /c/devel/emacs/repo/trunk/leim && /bin/pwd` != `/bin/pwd` ] && rm -rf quail CONFIG_SITE=/c/Devel/emacs/repo/trunk/nt/mingw-cfg.site ./config.status --recheck; \ CONFIG_SITE=/c/Devel/emacs/repo/trunk/nt/mingw-cfg.site /c/devel/emacs/repo/trunk/configure --cache-file=/dev/null; \ > That kinda blames Make and it alone, > because it is Make who expands variables when it invokes commands. > Did you try to install a newer snapshot of MSYS Make? I'm using the one I installed originally from here: https://sourceforge.net/projects/mingwbuilds/files/external-binary-packages/ C:\...\repo> \bin\MinGW\msys\1.0\bin\make.exe --version GNU Make 3.82.90 Built for i686-pc-msys > And you also say that this happens only sometimes? Yes. Perhaps when a reconfiguration is triggered, though I'm not sure because it does not happen so often as to clearly establish a pattern. > Is it possible > that you invoke the bootstrap a bit differently when the problem > happens, like with different environment variables or from a different > shell? It is highly unlikely, because I always run bootstrap with a TCC alias, which invokes "sh.exe --login -i", which reads the same init file, which sets the path to a limited set of directories, always the same, and I haven't really reinstalled or changed anything in there recently, and certainly not between my last and next-to-last reboots (from 2013/08/08 and 2013/08/11). > Or maybe you have more than one Make which could come into > play somehow? There's anothe make in the path, the one from GnuWin32 C:\...\repo> \bin\Gnu\bin\make.exe --version GNU Make 3.81 but I don't see why would it be run, when the other one comes before in the path, and in fact running the very same shell command that I use for bootstrap, is the MSYS one which responds: C:\...\repo> mdo make --version GNU Make 3.82.90 Built for i686-pc-msys and mboot, the command that I use to bootstrap, is defined to run "mdo make bootstrap". > FWIW, this never happened to me, but then I don't think I've built > packages using MSYS in a directory that has mixed-case letters, they > are always lower-case here. Well, I certainly can rename C:/Devel to C:/devel and not to worry again, but it is still quite puzzling why does it happens only part of the time. J