unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: make distclean and quail
Date: Sun, 11 Aug 2013 19:49:43 +0200	[thread overview]
Message-ID: <CAAeL0SROjH_+7B8c3TWosLgCLaXbLQnZXhWdL8ORvtNqBJ=oOw@mail.gmail.com> (raw)
In-Reply-To: <83d2pkqh96.fsf@gnu.org>

On Sun, Aug 11, 2013 at 7:17 PM, Eli Zaretskii <eliz@gnu.org> 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



  reply	other threads:[~2013-08-11 17:49 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-15 11:41 make distclean and quail Juanma Barranquero
2013-07-15 15:05 ` Paul Eggert
2013-07-15 15:13   ` Juanma Barranquero
2013-07-15 15:42 ` Eli Zaretskii
2013-07-15 15:56   ` Juanma Barranquero
2013-07-15 16:09     ` Eli Zaretskii
2013-07-15 16:18       ` Juanma Barranquero
2013-08-11  2:48       ` Juanma Barranquero
2013-08-11  3:56         ` chad
2013-08-11 17:17         ` Eli Zaretskii
2013-08-11 17:49           ` Juanma Barranquero [this message]
2013-08-11 19:25             ` Eli Zaretskii
2013-08-11 21:39               ` Juanma Barranquero
2013-08-12 12:01                 ` Eli Zaretskii
2013-08-12 15:55                   ` Juanma Barranquero
2013-08-12 16:25                     ` Eli Zaretskii
2013-08-12 16:29                       ` Juanma Barranquero
2013-08-13 18:10                         ` Eli Zaretskii
2013-08-13 22:33                           ` Juanma Barranquero
2013-08-14  2:54                             ` Eli Zaretskii
2013-08-14 15:17                             ` Eli Zaretskii
2013-08-14 16:15                               ` Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAeL0SROjH_+7B8c3TWosLgCLaXbLQnZXhWdL8ORvtNqBJ=oOw@mail.gmail.com' \
    --to=lekktu@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).