From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] Update gd and php Date: Fri, 20 Jan 2017 22:25:40 +0100 Message-ID: <87pojhmnjf.fsf@gnu.org> References: <20170119221919.7a74f45a@lepiller.eu> <20170120055319.GA28011@jasmine> <20170120153318.GB30118@jasmine> <0b4d2ae981add092d4fd8e5b656d184c@lepiller.eu> <20170120173002.GA29902@jasmine> 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]:51700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUggt-0001dj-O8 for guix-devel@gnu.org; Fri, 20 Jan 2017 16:25:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUggp-0006IF-NM for guix-devel@gnu.org; Fri, 20 Jan 2017 16:25:47 -0500 In-Reply-To: <20170120173002.GA29902@jasmine> (Leo Famulari's message of "Fri, 20 Jan 2017 12:30:02 -0500") 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: Leo Famulari Cc: guix-devel@gnu.org Leo Famulari skribis: > On Fri, Jan 20, 2017 at 05:12:46PM +0100, julien lepiller wrote: >> How do you make php use gd-2.2.4, then? It needs to be updated too becau= se >> the security issues with gd are still present in our current php package. > > It seems that gd-for-php gets replaced by gd-2.2.4 now: > > $ ./pre-inst-env guix build -e '(@@ (gnu packages php) gd-for-php)' > /gnu/store/xg2r8hk5axfq7xk1aj9ql5ncgkpnh0vk-gd-2.2.4 > > But, building PHP with --dry-run implies that gd@2.2.3 will be used. > > I think that we need to set (replacement #f) in gd-for-php, so that PHP > is built with gd@2.2.3, which will then be grafted to refer to gd-2.2.4 > in the built output of PHP. > > I'm a little unsure. Does anyone have advice? If gd-for-php has #f as its replacement, then nothing will be grafted to replace it. Or am I missing something? Ludo=E2=80=99.