From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Patch-shebangs phase and created binaries Date: Sun, 02 Nov 2014 17:54:09 +0100 Message-ID: <87lhntpmq6.fsf@gnu.org> References: <20141030124534.GB6721@debian.eduroam.u-bordeaux.fr> 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]:32774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkyPa-0005fY-TG for guix-devel@gnu.org; Sun, 02 Nov 2014 11:54:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkyPU-0008NP-UP for guix-devel@gnu.org; Sun, 02 Nov 2014 11:53:54 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:43957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkyPU-0008N9-Mr for guix-devel@gnu.org; Sun, 02 Nov 2014 11:53:48 -0500 In-Reply-To: <20141030124534.GB6721@debian.eduroam.u-bordeaux.fr> (Andreas Enge's message of "Thu, 30 Oct 2014 13:45:34 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge skribis: > should the final patch-shebangs phase not include the generated output > path (well, the bin subdirectory) in its $PATH? It already does. > In texlive I see lines such as > patch-shebang: ./texmf-dist/tex/luatex/lualibs/lualibs-compat.lua: warnin= g: no binary for interpreter `texlua' found in $PATH (And the mention of $PATH in this message is misleading.) > The file starts with=20 > #!/usr/bin/env texlua > and texlua is a binary created in the texlive output (actually, bin/texlu= a is > a symbolic link to the elf binary bin/luatex). Could it be that the symlink doesn=E2=80=99t exist yet at the time the =E2=80=98patch-shebangs=E2=80=99 phase runs? HTH, Ludo=E2=80=99.