From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1544 invoked by alias); 7 Jan 2018 08:10:51 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23057 Received: (qmail 9290 invoked by uid 1010); 7 Jan 2018 08:10:51 -0000 X-Qmail-Scanner-Diagnostics: from mail-wr0-f181.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.128.181):SA:0(-1.9/5.0):. Processed in 1.436646 secs); 07 Jan 2018 08:10:51 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_PASS,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: stephane.chazelas@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=nYr2xQXoJRiLv3JxDRbrT2K0ZDmrXNff/r7BWPxt9yY=; b=aQsou8oOYXs/S1OS07wmHJ7wth15b9VBUoULPK1+pLF03gnLbvg9NK7UPVhElva3+v sLxSt2mG0hdZ1s8LDcs9wjOEc61JJLF8xXUluTQptX58q6iSfMznF4WKY42HXjEDYMTU JulPaGbN9wOjTRNuwffxrl60yUzPcr/zjRwsMgpT0ZfydEbInmTvziFs5wGWlfQ6Pteq ARYmY+yLApgejHJjdPU7eip9KtEiJiJinRiMaU0g+RF9KCpESj/nYF4SsYbvEdaB23pY HK0ry6gViFdxXjYa2NnTYlccCI+knCnFImlx4EIAGEtex0bzjQxKHIlp3FysMRSVVaK7 C0hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=nYr2xQXoJRiLv3JxDRbrT2K0ZDmrXNff/r7BWPxt9yY=; b=UpdLCYK9LDu/koTyNJw5awy4gBuz0pTk49yEg8p8wJbcz5Slo9sdxCxHKvt8EXPXYW h1PP6LCUU96P6RmjJ2fHgaEOZDXz+Z1YKgyB2ggQ7EIMv8E8GGjhi8yO9K6HlRCpRZfJ k1ETRoahTlchyZpEaHyVlycbOhJ4KZGAV4CfnjjwA7/cMJfQnQtwEs2xZdlvcSXM8DOo yczV4Kj9LJpwknJ2YOUHalXdOIkTfj1XYtDMvk5vz9ZiFJ3OQZwfSXuUkh4rayjF9Oyl nfDk5Sl8Rfc2ouEcVUjTVeeZekHynz1mqxczfuuzUUaimFCtpovXsrLHBs3tWEojRw5J +Mzg== X-Gm-Message-State: AKGB3mJ9zcaLIQ9a/08oDVwgpVIIXszx39sbIFKq4x99DrnjDfuyY7WG wxz3JMIDNIAvhZ6/P4WQ7/8f2g== X-Google-Smtp-Source: ACJfBot5ZkS5k90X9ybVmIxb/dTywtRAryh6weBsRgi7hapTVjyz+9PCW6UC5FvuPVUVBpfBJzNf9g== X-Received: by 10.223.171.70 with SMTP id r6mr331234wrc.217.1515312644628; Sun, 07 Jan 2018 00:10:44 -0800 (PST) Date: Sun, 7 Jan 2018 08:10:42 +0000 From: Stephane Chazelas To: Martijn Dekker Cc: zsh-users@zsh.org Subject: Re: Zsh requires Bash? 2002 revisited Message-ID: <20180107081042.GA17598@chaz.gmail.com> Mail-Followup-To: Martijn Dekker , zsh-users@zsh.org References: <4e96813d-3762-da35-f681-2546c0265982__30442.5932620235$1515274776$gmane$org@inlv.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4e96813d-3762-da35-f681-2546c0265982__30442.5932620235$1515274776$gmane$org@inlv.org> User-Agent: Mutt/1.5.24 (2015-08-30) 2018-01-06 22:21:36 +0100, Martijn Dekker: > Op 06-01-18 om 21:36 schreef Jim: > > As I said I was testing different shells, it was by chance that /bin/sh and > > /bin/posh were > > linked when I started the build. > > You're right, autoconf scripts do not depend on bash and work fine on > any reasonably compliant POSIX shell, including recent zsh versions. > > However, posh is non-compliant, bug-ridden, unmaintained, generally > broken, and should not be used. Your problem would be solved by deleting > posh and using dash for /bin/sh instead. [...] FWIW, with sh as dash, if I remove bash and ksh, then the configure fails with ./configure:13185: functions: attempt to set associative array to scalar IOW, it seems configure tries to rerun itself as bash, ksh or zsh whichever is available when running as dash, but not when running as posh, possibly because it detects that it is already a variant of ksh? I've not looked in much more details. Given that autoconf spends a lot of effort working around bugs in various shell implementations, I suspect the problem is coming from zsh specific code. -- Stephane