From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: 01/01: gnu: gpm: Fix build. Date: Mon, 04 Sep 2017 16:29:19 -0400 Message-ID: <87shg2nr6o.fsf@netris.org> References: <20170904193627.26984.31087@vcs0.savannah.gnu.org> <20170904193628.A7C1220950@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doy05-0004ru-Ev for guix-devel@gnu.org; Mon, 04 Sep 2017 16:29:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doy00-0007GI-Ph for guix-devel@gnu.org; Mon, 04 Sep 2017 16:29:41 -0400 Received: from world.peace.net ([50.252.239.5]:47452) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1doy00-0007Fw-L0 for guix-devel@gnu.org; Mon, 04 Sep 2017 16:29:36 -0400 In-Reply-To: <20170904193628.A7C1220950@vcs0.savannah.gnu.org> (Efraim Flashner's message of "Mon, 4 Sep 2017 15:36:28 -0400 (EDT)") 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: Efraim Flashner Cc: guix-devel@gnu.org efraim@flashner.co.il (Efraim Flashner) writes: > efraim pushed a commit to branch master > in repository guix. > > commit 77bb6c227b441277e48d6e2071cca3b801f53374 > Author: Efraim Flashner > Date: Mon Sep 4 22:35:25 2017 +0300 > > gnu: gpm: Fix build. > > * gnu/packages/linux.scm (gpm)[arguments]: Patch autogen.sh shebang > during the 'boottstrap phase. > --- > gnu/packages/linux.scm | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm > index 3975c94..245b36f 100644 > --- a/gnu/packages/linux.scm > +++ b/gnu/packages/linux.scm > @@ -3126,6 +3126,8 @@ write access to exFAT devices.") > (lambda _ > ;; The tarball was not generated with 'make dist' so we > ;; need to bootstrap things ourselves. > + (substitute* "autogen.sh" > + (("/bin/sh") (which "sh"))) > (and (zero? (system* "./autogen.sh")) Another way to fix this kind of problem, and IMO the preferable way, is to change (system* "./autogen.sh") to (system* "sh" "autogen.sh") Mark