From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Klausner Newsgroups: gmane.emacs.bugs Subject: bug#65292: 30.0.50; unportable shell construct in configure Date: Tue, 15 Aug 2023 07:04:26 +0200 Message-ID: References: <20230814133124.ACEF239110F@gatalith.at> <87a5utm4bn.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32784"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65292@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 15 09:02:29 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qVo4T-0008LS-CV for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Aug 2023 09:02:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVo45-00026H-FP; Tue, 15 Aug 2023 03:02:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVo42-000268-QE for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2023 03:02:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qVo42-0006NU-HS for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2023 03:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qVo42-0001hx-5a for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2023 03:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Klausner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Aug 2023 07:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65292 X-GNU-PR-Package: emacs Original-Received: via spool by 65292-submit@debbugs.gnu.org id=B65292.16920828816515 (code B ref 65292); Tue, 15 Aug 2023 07:02:02 +0000 Original-Received: (at 65292) by debbugs.gnu.org; 15 Aug 2023 07:01:21 +0000 Original-Received: from localhost ([127.0.0.1]:34880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVo3M-0001h0-V6 for submit@debbugs.gnu.org; Tue, 15 Aug 2023 03:01:21 -0400 Original-Received: from gatalith.at ([2a03:4000:48:421::1]:61056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVmEH-0006ea-53 for 65292@debbugs.gnu.org; Tue, 15 Aug 2023 01:04:30 -0400 Original-Received: by gatalith.at (Postfix, from userid 1000) id 1D0B039110F; Tue, 15 Aug 2023 07:04:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gatalith.at; s=dkim; t=1692075867; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=m4YX4Cs5cBMCcUTJoaoeP4i/W6MLMB9Hmj92nSp3UkE=; b=qKpIYgOImyA4srmWlKK/aTksGCj9ehNYxD223nTR1LAntZY63LbGrARwF+UmzinA/h4FQ2 gJVSmhuDJxEa3Dgvv2CKL7bzIrJwaI+YW7Js+AjFqXZKMlugSmqQiqWZv1fiz1CjnvuuEa LgmhkHGxpeeXJiBvfE7G6i5HyFXZt1o= Content-Disposition: inline In-Reply-To: <87a5utm4bn.fsf@yahoo.com> X-Mailman-Approved-At: Tue, 15 Aug 2023 03:01:19 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:267466 Archived-At: 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 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