unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: make distclean and quail
Date: Sun, 11 Aug 2013 20:17:25 +0300	[thread overview]
Message-ID: <83d2pkqh96.fsf@gnu.org> (raw)
In-Reply-To: <CAAeL0SSVM_89YWVn5zG4B0tuMV8TH7Kcm9LRNuoNGkbb774ZSQ@mail.gmail.com>

> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Sun, 11 Aug 2013 04:48:54 +0200
> Cc: Emacs developers <emacs-devel@gnu.org>
> 
> distclean: clean
>         @echo SRC = ${srcdir}
>         @echo PWD = `/bin/pwd`
>         -[ `cd ${srcdir} && /bin/pwd` != `/bin/pwd` ] && rm -rf quail
>         rm -f Makefile
> 
> and I've got:
> 
> SRC = /c/devel/emacs/repo/trunk/leim
> PWD = /c/Devel/emacs/repo/trunk/leim
> 
> The previous bootstrap, which succeeded (I mean, didn't delete
> leim/quail/* files) had identical PWD, but SRC =
> /c/Devel/emacs/repo/trunk/leim.
> 
> Looking at ./Makefile,
> 
>   # We use $(srcdir) explicitly in dependencies so as not to depend on VPATH.
>   srcdir=/c/Devel/emacs/repo/trunk
> 
> and, in fact, all along the bootstrap's log, make output uses the
> "right" casing:
> 
>   make[2]: Entering directory '/c/Devel/emacs/repo/trunk'
> 
> while shell commands do not:
> 
>   [ -r "/c/devel/emacs/repo/trunk/src/config.in" ] || ( cd
> /c/devel/emacs/repo/trunk && autoheader )
> 
> In both cases the bootstraps were invoked through the same alias,
> paths, binaries, etc.
> 
> Any idea what can be causing this?

So you are saying that _all_ of the Makefile's set srcdir to its
correct value, and yet the commands issued by Make have "Devel"
downcased, is that right?  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?

And you also say that this happens only sometimes?  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?  Or maybe you have more than one Make which could come into
play somehow?

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.



  parent reply	other threads:[~2013-08-11 17:17 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 [this message]
2013-08-11 17:49           ` Juanma Barranquero
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=83d2pkqh96.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    /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).