From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#18895: 'patch-shebangs' phase vs. cross-compilation Date: Wed, 29 Oct 2014 23:28:44 +0100 Message-ID: <87tx2mfr37.fsf@gnu.org> 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]:51065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xjbks-00044B-Kc for bug-guix@gnu.org; Wed, 29 Oct 2014 18:30:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xjbkj-0006Ox-AC for bug-guix@gnu.org; Wed, 29 Oct 2014 18:30:14 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:47340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xjbkj-0006NF-1J for bug-guix@gnu.org; Wed, 29 Oct 2014 18:30:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xjbki-0007uz-EH for bug-guix@gnu.org; Wed, 29 Oct 2014 18:30:04 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjbjH-000382-Qb for bug-guix@gnu.org; Wed, 29 Oct 2014 18:28:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xjbj8-0005xF-O4 for bug-guix@gnu.org; Wed, 29 Oct 2014 18:28:35 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:45281) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xjbj8-0005wr-Hd for bug-guix@gnu.org; Wed, 29 Oct 2014 18:28:26 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id DFC163EAA for ; Wed, 29 Oct 2014 23:28:24 +0100 (CET) Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id llFVocsy7O1G for ; Wed, 29 Oct 2014 23:28:24 +0100 (CET) Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 9844133B for ; Wed, 29 Oct 2014 23:28:24 +0100 (CET) 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: 18895@debbugs.gnu.org The =E2=80=98patch-shebangs=E2=80=99 procedure in gnu-build-system.scm has = a hard-coded $PATH. This is wrong when cross-compiling: it should instead patch according to the =E2=80=98inputs=E2=80=99, not the =E2=80=98native-inputs= =E2=80=99. Ludo=E2=80=99.