From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#22420: Zsh test failure Date: Fri, 22 Jan 2016 16:04:35 +0100 Message-ID: <878u3h7j0c.fsf@gnu.org> References: <20160121022120.GA19231@jasmine> <87oacewsqq.fsf@gnu.org> <20160121230523.GA17695@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMdGt-0006Vu-Fy for bug-guix@gnu.org; Fri, 22 Jan 2016 10:05:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMdGo-0005Cg-CX for bug-guix@gnu.org; Fri, 22 Jan 2016 10:05:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:41531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMdGo-0005CU-90 for bug-guix@gnu.org; Fri, 22 Jan 2016 10:05:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aMdGn-0004um-Uo for bug-guix@gnu.org; Fri, 22 Jan 2016 10:05:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20160121230523.GA17695@jasmine> (Leo Famulari's message of "Thu, 21 Jan 2016 18:05:23 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Leo Famulari Cc: 22420@debbugs.gnu.org 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.