From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: GLib: GIO's tests fail Date: Sat, 05 Jan 2013 16:27:08 +0100 Message-ID: <87d2xjtzub.fsf@gnu.org> References: <87mwwvm3cp.fsf@karetnikov.org> <87zk0scxd9.fsf@gnu.org> <87hamw2uk0.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrVeR-0000nC-7F for bug-guix@gnu.org; Sat, 05 Jan 2013 10:27:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrVeQ-0005bl-96 for bug-guix@gnu.org; Sat, 05 Jan 2013 10:27:11 -0500 Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:62138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrVeQ-0005bf-2w for bug-guix@gnu.org; Sat, 05 Jan 2013 10:27:10 -0500 In-Reply-To: <87hamw2uk0.fsf@karetnikov.org> (Nikita Karetnikov's message of "Fri, 04 Jan 2013 22:11:10 -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: Nikita Karetnikov Cc: bug-guix@gnu.org Hi, Nikita Karetnikov skribis: >> You would need to add a phase to do: > >> (patch-shebang "the/faulty/file") > >> That would change /usr/bin/env to /nix/store/xxx/bin/env. > > The problem is that I haven't found any references to '/usr/bin/env' in > those files. Well, there must be one somewhere. Did you run =E2=80=9Cgrep -r /usr/bin/e= nv=E2=80=9D in the source? If it=E2=80=99s not in GLib, then maybe it=E2=80=99s in a script that GLib = invokes. It should be possible to find out using strace or something similar. HTH, Ludo=E2=80=99.