From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 22 10:04:53 2016 Received: (at 22420) by debbugs.gnu.org; 22 Jan 2016 15:04:53 +0000 Received: from localhost ([127.0.0.1]:57984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMdGf-0004uM-4n for submit@debbugs.gnu.org; Fri, 22 Jan 2016 10:04:53 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49850) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMdGa-0004u3-Dn for 22420@debbugs.gnu.org; Fri, 22 Jan 2016 10:04:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMdGQ-00056O-5w for 22420@debbugs.gnu.org; Fri, 22 Jan 2016 10:04:43 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMdGQ-00056K-3Q; Fri, 22 Jan 2016 10:04:38 -0500 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:47896 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aMdGP-0006nW-HI; Fri, 22 Jan 2016 10:04:37 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Leo Famulari Subject: Re: bug#22420: Zsh test failure References: <20160121022120.GA19231@jasmine> <87oacewsqq.fsf@gnu.org> <20160121230523.GA17695@jasmine> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 3 =?utf-8?Q?Pluvi=C3=B4se?= an 224 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Fri, 22 Jan 2016 16:04:35 +0100 In-Reply-To: <20160121230523.GA17695@jasmine> (Leo Famulari's message of "Thu, 21 Jan 2016 18:05:23 -0500") Message-ID: <878u3h7j0c.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22420 Cc: 22420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Leo Famulari skribis: > On Thu, Jan 21, 2016 at 10:02:53PM +0100, Ludovic Court=C3=A8s wrote: >> Leo Famulari skribis: >>=20 >> > Zsh fails to build due to a test failure on my system (x86_64). >> > >> > The test suite does not report where the failure occurs but I believe = it >> > is in section 'Test/B02typeset.ztst' as a result of patch-shebang >> > failing to find a binary interpreter for 'Test/ztst.zsh': >> > >> > patch-shebang: ./Test/ztst.zsh: warning: no binary for interpreter `zs= h' found in $PATH >> > >> > I wonder if this means that the file is being interpreted by Bash, or >> > maybe the 'sh' mode of Bash. >>=20 >> It means that the ztst.zsh contains #!/usr/bin/zsh or similar, and when >> the =E2=80=98patch-shebangs=E2=80=99 phase runs, there=E2=80=99s no =E2= =80=98zsh=E2=80=99 binary in $PATH, so >> the file is left unpatched with its bogus shebang. >>=20 >> That means that attempts to exec ztst.zsh systematically fail. >>=20 >> However, I see that Zsh appears to build fine on x86_64-linux as of >> v0.9.0-1121-gaca738f. What Guix commit are you using? > > Currently, feb767b23c7c. I noticed it was failing on core-updates and > decided to investigate; this commit is on master, not core-updates. On my x86_64 machine, commit, I=E2=80=99ve just run: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build zsh --rounds=3D3 -K --no-substitutes [...] @ build-succeeded /gnu/store/0g7d2ccznwrw010mlfjzzgvycc28vfyx-zsh-5.1.1.drv= - /gnu/store/1wv2flclz8nnkiq1j1s2aphqp9lk68i6-zsh-5.1.1 $ guix hash -r /gnu/store/1wv2flclz8nnkiq1j1s2aphqp9lk68i6-zsh-5.1.1 0s634s0z2b53fj3yd16bydh0qqh1xqjsjnwr59lbkqpd7yprpqma $ git describe=20 v0.9.0-1135-gedfa91a --8<---------------cut here---------------end--------------->8--- What system are you using? > I have confirmed the failure is in 'Test/B02typeset.ztst'. Could you post the relevant part of the build log? TIA, Ludo=E2=80=99.