From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH 1/1] gnu: gnupg: Update to 2.1.16. Date: Sun, 20 Nov 2016 00:56:06 -0500 Message-ID: <20161120055605.GA9095@jasmine> References: <20161119224131.GA16874@macbook42.flashner.co.il> <20161119230930.GA7836@jasmine> <87k2bz9hd9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8r74-0003pl-8X for guix-devel@gnu.org; Mon, 21 Nov 2016 11:06:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8r6z-0005La-HH for guix-devel@gnu.org; Mon, 21 Nov 2016 11:06:34 -0500 Content-Disposition: inline In-Reply-To: <87k2bz9hd9.fsf@gnu.org> 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: Mathieu Lirzin Cc: guix-devel@gnu.org On Sun, Nov 20, 2016 at 12:31:30AM +0100, Mathieu Lirzin wrote: > Hi, > > Leo Famulari writes: > > > On Sun, Nov 20, 2016 at 12:41:31AM +0200, Efraim Flashner wrote: > >> Looks like they forgot to bootstrap it then. > > > > Because I altered two Makefile.am files in the 'patch-paths' phase, I > > had to re-do the bootstrap in order for the Makefiles to be regenerated. > > > > I'm not an expert on Autotools. Does anyone know if there is a better > > way? > > I have not tried but unless some weird issue, I think you can safely > replace "/bin/pwd" directly in the generated Makefile(s) instead of the > Makefile.am sources. > > This should fix the Autotools dependency and the warning. I read a bit more and learned about $GNUPGHOME. `/bin/pwd/` is only invoked if that variable is unset, so I set it in the test suite, and it works for me. And the problem with $HOME not existing, worked around by the set-home phase, was apparently fixed in: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=38d369de13acb95208a0ed8d1cf82ac19173688f;hp=fde9fa81d3d3b25a929b532cc1960d9d9f454a0c Which I learned about here: https://anonscm.debian.org/git/pkg-gnupg/gnupg2.git/commit/?id=bbcd4f60e834c79454d1eaf4adf052f8ff545f99 Pushed as 764c5662211793d381b6c4a85f6a1ef4ad353c3f