From mboxrd@z Thu Jan 1 00:00:00 1970 From: csanchezdll@gmail.com (Carlos =?utf-8?Q?S=C3=A1nchez?= de La Lama) Subject: fgrep fails to find grep during bootstrap Date: Tue, 27 Sep 2016 15:00:30 +0200 Message-ID: <7tvaxhh501.fsf@gmail.com> 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]:49378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bos00-0007s1-1Y for guix-devel@gnu.org; Tue, 27 Sep 2016 09:00:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1borzu-0006wL-6y for guix-devel@gnu.org; Tue, 27 Sep 2016 09:00:39 -0400 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:35662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1borzt-0006w5-Vg for guix-devel@gnu.org; Tue, 27 Sep 2016 09:00:34 -0400 Received: by mail-wm0-x243.google.com with SMTP id b4so1059863wmb.2 for ; Tue, 27 Sep 2016 06:00:33 -0700 (PDT) Received: from boole (galileo.kdpof.com. [88.26.201.16]) by smtp.gmail.com with ESMTPSA id md9sm2659151wjb.20.2016.09.27.06.00.31 for (version=TLS1_1 cipher=AES128-SHA bits=128/128); Tue, 27 Sep 2016 06:00:31 -0700 (PDT) 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" To: guix-devel@gnu.org Hi all, I am trying to bootstrap for powerpc-linux. I have generated the tarballs and patched gnu/packages/bootstrap.scm to use them. However, I get an error during when creating %bootstrap-coreutils&co package. It specifies "fgrep" as program to test, but fgrep is a shell script, and altought the shebang is correctly patched, it needs "grep" binary in the path (which is not at this stage). fgrep does: exec grep -F "$@" so this can not work unless grep is available in PATH. Options would be to patch those scripts to use `dirname $0`/grep, or just test another program in package-from-tarball (the program testes used to be "true"). I am doing the latter to go on bootstraping. BR Carlos --=20 -Tiens! Mais vous =C3=AAtes un homme de coeur! dit sir Francis Cromarty. -Quelquefois, r=C3=A9pondit simplement Phileas Fogg. Quand j'ai le temps. Jules Verne, "Le Tour du monde en quatre-vingts jours" (1872)