From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IGr5MFalY2DBFwEAgWs5BA (envelope-from ) for ; Wed, 31 Mar 2021 00:25:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SHS5KlalY2DwJwAAbx9fmQ (envelope-from ) for ; Tue, 30 Mar 2021 22:25:26 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4BF8B1501C for ; Wed, 31 Mar 2021 00:25:26 +0200 (CEST) Received: from localhost ([::1]:47582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRMnZ-0000ln-UH for larch@yhetil.org; Tue, 30 Mar 2021 18:25:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRMn8-0000lg-Sa for guix-devel@gnu.org; Tue, 30 Mar 2021 18:24:54 -0400 Received: from world.peace.net ([64.112.178.59]:39028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRMn7-0007He-0c for guix-devel@gnu.org; Tue, 30 Mar 2021 18:24:54 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lRMmu-0007Kz-G7; Tue, 30 Mar 2021 18:24:40 -0400 From: Mark H Weaver To: Maxime Devos , guix-devel@gnu.org Subject: Re: [PATCHES] ImageMagick security updates without grafting In-Reply-To: <87im593b02.fsf@netris.org> References: <878s68zqsd.fsf@netris.org> <927d66ccc760afacdb88485c5158731458d52dd6.camel@telenet.be> <87k0psdu25.fsf@netris.org> <9fb6ac4f0893446e3619d62395e035a446a9606f.camel@telenet.be> <875z1bdkmq.fsf@netris.org> <49232872faef1b3f5efed01816734c3bcf4e1b9b.camel@telenet.be> <87im593b02.fsf@netris.org> Date: Tue, 30 Mar 2021 18:23:00 -0400 Message-ID: <87zgyk1dsw.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=64.112.178.59; envelope-from=mhw@netris.org; helo=world.peace.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list 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+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617143126; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=Hbb/nje9lqI3srpU2xRzbEnVaS7PZ9tV0+R4EibdG8k=; b=Zb/XE0si4q5YIEbhRlhi1SSS6Nn2YyhBkVh8OA1sTZeTs/kya6WVMCvnfFxdRRnStKXV4m EU4ulnniclEb4EMxjDhgcMEidAugVR4zeUMppFb1MCA9gx+94PvHTY0XQ/9CZ8LfQGaxe5 3M8lzPzIBQuN79SH0oMXmtWi3C72A1OX0YrTyIqkw3RX6TcBbo0Ja/ii72fA78khWAhCdW KctYaoBL18yLEgw50YuNYPwNGylfLJ3L5MFYonDE86q+EgPyu4s6ZS5dTrOlZgHob4k8sw onF9rVYLcYkavw0HntFvUIE68PUiM0nZGleu1HhTQ7tPYqiD3cMyBRVlqYc6tg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617143126; a=rsa-sha256; cv=none; b=PElvFcPpiiv7JmZC4H73XEB6S5O1GS7PByjKeU/8+TJrNBFb1hGsfw4VBxkUsvNzcPRgqu wxXszWRMEod9q6oIl1cZKBbZ46zTsmtQln+xf/KSMwhRvgjkC9OLoaP/vJJM+3tDkJuLas bIFywg/JwZjEBQukdfAuCRvNWWxuATgefqp75QGQdast37iBqhykNSzCB7iVn7SuoGon0T YfaebQtM+TTMYSUYd/RNVqz7Mv+M98AugFmUimqchG58WkwDfg69g8TQSw4PjQVdWrnoQ0 H/PcU7nzpOFxLAf213H/Uviq2zcQCpoi8gz7Q0YkAZ6wIU9PO6oFRgL5pUDkVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -2.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 4BF8B1501C X-Spam-Score: -2.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZVgibTXNl0RV Mark H Weaver writes: > Maxime Devos writes: > >> guix build $PACKAGES >> # maybe guix build $PACKAGES --no-grafts? >> guix graph --type=references $PACKAGES >> # ^ look in output for "imagemagick". > > For the record, it seems that this command gives false positives. Sorry, I was mistaken here. That command appears to be reliable for this purpose. > As pointed out in , the output of that > command suggests that 'inkscape' retains references to 'imagemagick', > but that turns out to be false, at least on my system. It turns out we were talking about two different versions of 'inkscape'. I was confused by the fact that our 'inkscape' variable points to an older version of inkscape than "inkscape" selects on the command line. Anyway, it turns out that inkscape@1.0.2 improperly retains a reference to its native-input 'imagemagick', but inkscape@0.92.4 does not. See for more. > I suppose the behavior of "guix graph" here makes sense, and is likely > _not_ a bug, because IIUC "guix graph" does its work without requiring > 'imagemagick' to be built, What I wrote is true for many of the graph types supported by "guix graph", but not when "--type=references" is passed. Sorry for the confusion. Mark