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: Thu, 21 Jan 2016 22:02:53 +0100 Message-ID: <87oacewsqq.fsf@gnu.org> References: <20160121022120.GA19231@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]:54009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMMOk-0008SQ-U7 for bug-guix@gnu.org; Thu, 21 Jan 2016 16:04:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMMOf-00076m-Tg for bug-guix@gnu.org; Thu, 21 Jan 2016 16:04:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:40346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMMOf-00076i-QA for bug-guix@gnu.org; Thu, 21 Jan 2016 16:04:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aMMOf-00061W-Jq for bug-guix@gnu.org; Thu, 21 Jan 2016 16:04:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20160121022120.GA19231@jasmine> (Leo Famulari's message of "Wed, 20 Jan 2016 21:21:20 -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: > 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 `zsh' = found in $PATH > > I wonder if this means that the file is being interpreted by Bash, or > maybe the 'sh' mode of Bash. 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. That means that attempts to exec ztst.zsh systematically fail. 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? Thanks, Ludo=E2=80=99.