From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: fgrep fails to find grep during bootstrap Date: Tue, 27 Sep 2016 19:59:44 -0400 Message-ID: <87a8esuc5r.fsf@netris.org> References: <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]:58442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bp2I8-0003OH-42 for guix-devel@gnu.org; Tue, 27 Sep 2016 20:00:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bp2I3-0008PI-1u for guix-devel@gnu.org; Tue, 27 Sep 2016 20:00:03 -0400 Received: from world.peace.net ([50.252.239.5]:43936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bp2I2-0008Og-Tr for guix-devel@gnu.org; Tue, 27 Sep 2016 19:59:58 -0400 In-Reply-To: <7tvaxhh501.fsf@gmail.com> ("Carlos =?utf-8?Q?S=C3=A1nchez?= de La Lama"'s message of "Tue, 27 Sep 2016 15:00:30 +0200") 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: Carlos =?utf-8?Q?S=C3=A1nchez?= de La Lama Cc: guix-devel@gnu.org csanchezdll@gmail.com (Carlos S=C3=A1nchez de La Lama) writes: > 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. I've fixed this problem on the core-updates branch: http://git.savannah.gnu.org/cgit/guix.git/commit/?h=3Dcore-updates&id=3D106= 3d325ea76aa2b00dfcd3d436b16e412103df1 Mark