From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#65292: 30.0.50; unportable shell construct in configure Date: Tue, 15 Aug 2023 14:21:56 +0800 Message-ID: <875y5gn7uj.fsf@yahoo.com> References: <20230814133124.ACEF239110F@gatalith.at> <87a5utm4bn.fsf@yahoo.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1724"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 65292@debbugs.gnu.org To: Thomas Klausner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 15 08:23:21 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 1qVnSb-0000Bo-9X for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Aug 2023 08:23:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVnSK-0006EY-9f; Tue, 15 Aug 2023 02:23:04 -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 1qVnSI-0006EN-Ns for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2023 02:23:02 -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 1qVnSI-0007tn-FZ for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2023 02:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qVnSH-0000dx-Vb for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2023 02:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Aug 2023 06:23:01 +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.16920805352410 (code B ref 65292); Tue, 15 Aug 2023 06:23:01 +0000 Original-Received: (at 65292) by debbugs.gnu.org; 15 Aug 2023 06:22:15 +0000 Original-Received: from localhost ([127.0.0.1]:34864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVnRW-0000cn-GN for submit@debbugs.gnu.org; Tue, 15 Aug 2023 02:22:14 -0400 Original-Received: from sonic308-10.consmr.mail.ne1.yahoo.com ([66.163.187.33]:32851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVnRT-0000cS-Bk for 65292@debbugs.gnu.org; Tue, 15 Aug 2023 02:22:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692080524; bh=0z9838u1f9K1MElHmNbGX5WCvEZjtUcp/laHXrhc/rI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=tuXNuU97dGhAKBpqenb+izg/UrQpatpCWXq0N8m5riMUkEwyh9tqURGKzNZzXtO0gDSDe1xfZyDFqznA9z8U0Y+/csivvIfxLUoD1a0e5HTFpqS4hdMjZTYp5LZh2JOlUnvlev+95bNfPP6WRGTxt5SnMjb8qLOmI5eehtY9+TWIZIojGSiNw85LfcdyuVaBw2BToaox5dYNsxq71LhATi1RhLe3+MxI/b+S8CDXnhI3vLCJgIifRVhHlOFNLRaEmsC4f74pVmummfueyPGejZkw4aQVZH33GM5yQOwFg9AAGxxWtUS4UGhbtKLTqEfzo8iVENskkwhErV1ncNnC5w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692080524; bh=ngdansiaUo1ign05MLTPIyiv+qJaVB6pBTBj9XG+kaA=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Sy9ddQCNvsmY+Vd+4dJLT6ErhgtVCcTsKlqgXgKhDQDDiQHBYleMuv0oJbxd9gsuW1toHNmfgnssnPJgirrTgW6dAPHxf9NN3QsAGFL74UhwbWF9TTVUPPY/wO1aYX32wPnqeLhw/AnjgqwpE3hwFN9pXhwac6Nwt3uYd8ddTxi1GSTUctAnZHuw511SgFAMGPYna9lgzGwCoceNs3P775gzgy4OrkzHRXQS03TPWZ+w1OoLSAfs10FjGSWTQuCaOknpwS6eraKY02kf4f9phQeNqi2eClBB9F8Ic8aS+NcMOLiYjOvfVny3XvIxDiYS3PVHLI7HHaSWbvQx6PkvGg== X-YMail-OSG: MtkKr0oVM1nY0wXSSOtKz02mZYcdU2WBJvoPGwnKgxD7UoJpOIAn5LutP7Rl_fC AtTKCePThN4gOXihiuefCsi1fLlmvoMPZgkORvd53lN3HboKnFFsRUjSLdgnTjR56lP2mpZPRaWr ny6CrvEsGI8xlJjH5dXtqM8y2MEDpMU2aKGeZQAad3kIsG9eKrynFavV.QjOMroPbHprM3U_k8Hg UC9mIUaY9TKmjb7O4MYzQBpEwzLDVNeTmiF.iCaULanLdsM54II_CKS5kMCLPcot0gIU7Ew6ZtQP AnDWrs64FpIdhNqonGmP6CM7ejXOoz3sCImiAsAO.u_.tacGVBc4_vlQci5SP_AJFB3d4AFUeeqd kwO5IljMpr2JP.7y7oQQJDXZWnDWHuJ2F_8bferNWSAYDR9F969ry86n.vLAbTPtzRoOgvXWydCy f23sBHRxxYSgXXIH2V7Ctev8sTzgEmaJ0izAYUHOdTZMjh96Q2Ca4iFyhpyUI1JMxwGIeYRTHYzW 8AkYyvQ4H0dX8qKCF7iEzmXjxK0Gu5xB7oiyqn2Fx6YDceIKwdFvJQgtHbZKYUXpIsWDlk4DA7hp nRNMf2c5.6f5AIdfQ4dACblnrHp1gWAnYPXi7MaU6AfQmmYAvqRxwtCqmm5WHeXP83EHgfzwjshY Wp7.oyOF_aa3qZ8rjCy1B.ciALhJqVO3up1An.GGwxPF1pAyoRPyr4DqWcFzHzFyi1w2tSjf_bym 7XmlrP5zRN71eSZogbFNCYK__A8Td7g6KRMnH_nn769dTygZUoQB0tEljfh1AtnCRd3pq264vj2w 0vpU_i9WT4TaVacqpEfraMAFhVUgLv739xNR0yQfWR X-Sonic-MF: X-Sonic-ID: 24567f13-b05b-476a-b2e8-7bceab5eb833 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Tue, 15 Aug 2023 06:22:04 +0000 Original-Received: by hermes--production-sg3-69654d8bd-d8v2r (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID fc1c4037a9979c8c9e60618704e9a4ed; Tue, 15 Aug 2023 06:22:00 +0000 (UTC) In-Reply-To: (Thomas Klausner's message of "Tue, 15 Aug 2023 07:04:26 +0200") X-Mailer: WebService/1.1.21695 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:267464 Archived-At: Thomas Klausner 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 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.