all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dani Moncayo <dmoncayo@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 18612@debbugs.gnu.org, Assaf Gordon <assafgordon@gmail.com>
Subject: bug#18612: [platform-testers] Emacs pretest 24.3.94
Date: Thu, 2 Oct 2014 23:07:17 +0200	[thread overview]
Message-ID: <CAH8Pv0gUox-tmAMSGU1ubyXsU6esn9CiRHemkr_bti+-8fPxhg@mail.gmail.com> (raw)
In-Reply-To: <yhr3yqs07f.fsf@fencepost.gnu.org>

On Thu, Oct 2, 2014 at 10:09 PM, Glenn Morris <rgm@gnu.org> wrote:
> Eli Zaretskii wrote:
>
>>>      srcdir="/${srcdir:0:1}${srcdir:2}"
>>>
>>> I believe these are bash-specific variable expansions, not posix-compatible.
>>>
>>> This appears in an MINGW-related "if" block, so I guess most of the
>>> time it is not encountered.
>>
>> MinGW uses only Bash.
>
> But other platforms may still try to parse (?) those lines, even if they
> don't execute them. Presumably that explains:
>
>>> But in one instance, I got:
>>>    $ ./configure
>>>    ./configure: 3564: Syntax error: Bad substitution


To find out if that's the case here, Assaf could run the configure
script again, with this patch applied:

--- configure 2014-10-02 22:49:51.808131800 +0200
+++ configure1 2014-10-02 23:05:37.288306300 +0200
@@ -3554,6 +3554,10 @@

 if test "x$MSYSTEM" = "xMINGW32" -o "x$MSYSTEM" = "xMINGW64"
 then
+
+  $as_echo "Too bad.  This should not be executed in this system!.
\$MSYSTEM='$MSYSTEM'" >&2
+  exit 1
+
   . $srcdir/nt/mingw-cfg.site

   case $srcdir in


...and tell us whether the script aborts at that "exit 1", and if so,
the value of $MSYSTEM.

-- 
Dani Moncayo





  reply	other threads:[~2014-10-02 21:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-02  1:13 Emacs pretest 24.3.94 Glenn Morris
2014-10-02 19:22 ` bug#18612: [platform-testers] " Assaf Gordon
2014-10-02 19:47   ` Eli Zaretskii
2014-10-02 20:09     ` Glenn Morris
2014-10-02 21:07       ` Dani Moncayo [this message]
2014-10-02 22:06         ` Assaf Gordon
2014-10-02 22:11           ` Assaf Gordon
2014-10-02 22:48           ` Dani Moncayo
2014-10-02 22:33   ` bug#18612: non-portable shell substitution in configure.ac Paul Eggert
2014-10-06  4:50 ` Emacs pretest 24.3.94 Drew Adams

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

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

  git send-email \
    --in-reply-to=CAH8Pv0gUox-tmAMSGU1ubyXsU6esn9CiRHemkr_bti+-8fPxhg@mail.gmail.com \
    --to=dmoncayo@gmail.com \
    --cc=18612@debbugs.gnu.org \
    --cc=assafgordon@gmail.com \
    --cc=rgm@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.