From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Thomas Klausner <wiz@gatalith.at>
Cc: 65292@debbugs.gnu.org
Subject: bug#65292: 30.0.50; unportable shell construct in configure
Date: Tue, 15 Aug 2023 14:21:56 +0800 [thread overview]
Message-ID: <875y5gn7uj.fsf@yahoo.com> (raw)
In-Reply-To: <ZNsHWoqwxP4D5pkI@yt.nih.at> (Thomas Klausner's message of "Tue, 15 Aug 2023 07:04:26 +0200")
Thomas Klausner <wiz@gatalith.at> writes:
> On Tue, Aug 15, 2023 at 10:23:24AM +0800, Po Lu wrote:
>> Appears that I neglected to copy the bug tracker into my initial reply.
>> Resending.
>>
>> Thomas Klausner <wiz@gatalith.at> writes:
>>
>> > NetBSD's sh doesn't like:
>> >
>> > if test -n "${ndk_commands//\n }"
>> >
>> > (it works in bash)
>> >
>> > This construct has been in m4/ndk-build.m4 for quite some time, I'm
>> > not
>> > sure how it ended up in configure now, but I guess it was one of the
>> > recent Android changes.
>>
>> Indeed. However, the function containing that substitution is not
>> utilized under NetBSD.
>>
>> Does its presence lead to actual difficulties during configure, or is it
>> merely an error reported when running sh -n?
>
> Yes, this is an actual problem. I only noticed this because:
>
> checking for xcrun... no
> checking for GNU Make... make
> checking build system type... x86_64--netbsd
> checking host system type... x86_64--netbsd
> ./configure: 5434: Syntax error: Bad substitution
> *** Error code 2
>
> The command line I used is
>
> ./configure --srcdir=/scratch/wip/emacs-git/work/emacs
> --localstatedir=/var --with-native-compilation --without-ns
> --without-imagemagick --without-xaw3d --with-x-toolkit=gtk3
> --prefix=/usr/pkg --build=x86_64--netbsd --host=x86_64--netbsd
> --infodir=/usr/pkg/info --mandir=/usr/pkg/man
> --enable-option-checking=yes
>
> in case it matters.
> Thomas
Should be fixed now, thanks.
next prev parent reply other threads:[~2023-08-15 6:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-14 16:11 bug#65292: 30.0.50; unportable shell construct in configure Thomas Klausner
2023-08-15 2:23 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-15 5:04 ` Thomas Klausner
2023-08-15 6:21 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-08-15 19:55 ` Thomas Klausner
2023-08-16 1:36 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=875y5gn7uj.fsf@yahoo.com \
--to=bug-gnu-emacs@gnu.org \
--cc=65292@debbugs.gnu.org \
--cc=luangruo@yahoo.com \
--cc=wiz@gatalith.at \
/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.