From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iI68J23+WWDuWgAA0tVLHw (envelope-from ) for ; Tue, 23 Mar 2021 14:42:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GHoTI23+WWDfKAAA1q6Kng (envelope-from ) for ; Tue, 23 Mar 2021 14:42:53 +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 53B8C257BD for ; Tue, 23 Mar 2021 15:42:53 +0100 (CET) Received: from localhost ([::1]:43044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOiFA-0007SF-6I for larch@yhetil.org; Tue, 23 Mar 2021 10:42:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOiAg-0003rn-JA for guix-devel@gnu.org; Tue, 23 Mar 2021 10:38:14 -0400 Received: from mail.zaclys.net ([178.33.93.72]:58009) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOiAb-0004Px-Qo for guix-devel@gnu.org; Tue, 23 Mar 2021 10:38:13 -0400 Received: from guix-xps.local (lsl43-1_migr-78-195-19-20.fbx.proxad.net [78.195.19.20] (may be forged)) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 12NEc3P7035274 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 23 Mar 2021 15:38:03 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 12NEc3P7035274 Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1616510283; bh=TLeQdgyk6B74b79sHwHdWJ4rlZkVWYCOhgbhR5J247k=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=pFCLKkrYA5N3RImnsCSOrk/az3GDd9J/nFPmJ0bjgJGRk+xOvGqVWSuELvT7OqXTC XmSlHeN0wjIVMRy8qKeyjiFrANUzHY/WaLiImCEFLFwCFbtSUELBVX9VidE8394ZSl 1yWxlKTQf6hkvAJPosMVzcB8spntP318ClQw8R8c= Message-ID: <5654415cbd9800ee9349a70a3252b3952248f5b7.camel@zaclys.net> Subject: Re: imagemagick@6.9.11-48 to graft or not to graft with 6.9.12-2 From: =?ISO-8859-1?Q?L=E9o?= Le Bouter To: Andreas Enge , Mark H Weaver Cc: guix-devel@gnu.org Date: Tue, 23 Mar 2021 15:38:02 +0100 In-Reply-To: References: <87v99iki3l.fsf@netris.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-Sk2Z3Gp66uDHucrx7ge6" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Received-SPF: pass client-ip=178.33.93.72; envelope-from=lle-bout@zaclys.net; helo=mail.zaclys.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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=1616510573; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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:dkim-signature; bh=TLeQdgyk6B74b79sHwHdWJ4rlZkVWYCOhgbhR5J247k=; b=THoNebHq3xO1f+G+v1vOjBzkyYEWluAsqfiHcOCcJAhx+xsWcSdpZNWKJemf5ttDPhd08m pybiltVmdvbzU7mdUIUfDrDFYYtXA0G/5lsTaED1FVK9gNZ/leF4pv2NnVhXPy2LuWePfs kVL77qWaP569ZgbzaVa8B8CZV2Hcrl7PFFX9ohzUwvgmfRZJEl0FU9tWt8I/1gpbgLU+vQ 5RmjcBqU2YPmC8WfRCg26BCvEIhiqdx2DUJkwUN9Dck3A1MD4A46klPnm/YpUWPG4QasJO F2fuUWzkz30S2Mmr8gDw5Ebz0HRmTw9eSk0J6sC/r8WaBpJIDmICKU+5YW/nCQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616510573; a=rsa-sha256; cv=none; b=ucN8vcAVNJTura6d+EfsYP/yEUQXDS+WFPfRaKIrnOP1V8DLEe7yytc7v+RdAPm7MVrjFz 71WKdUrETgXLkPnQBS0wnCWpCjETaprq5QuuMbXWNNFPUhdKdq6V1QC4U+vOrnXFK3VEoG 6hJYy/8zI91BNkbP9AZNUQa2PzQmthPK9FryVDq8GGCHw+YJH4PoY3gbQ1Frwl/2vovcfC 2OWSr5VQ0K0LLiaSHsxrwSYYpmMpJRRTdB+g9xQrY+noJ5z2VrcYOn/RtFGIbwW3ZtUF5j tEPMuUdqjWKTbVHFXH15PS6SsXp9xzIOKVDyRIGmr5llbhUXJU8AmmP9RP+uuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=zaclys.net header.s=default header.b=pFCLKkrY; 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: -5.22 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=zaclys.net header.s=default header.b=pFCLKkrY; dmarc=pass (policy=reject) header.from=zaclys.net; 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: 53B8C257BD X-Spam-Score: -5.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: UwUFaKESUFP4 --=-Sk2Z3Gp66uDHucrx7ge6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2021-03-23 at 15:22 +0100, Andreas Enge wrote: > I wrote in my bug report https://issues.guix.gnu.org/47315; grafts > with > different version numbers lead to a command line behaviour that is > not > understandable: >=20 > $ guix package -A imagemagick > imagemagick 6.9.12-2g out,doc gnu/packages/imagemagick.scm:132:2 > imagemagick 6.9.11-48 out,doc gnu/packages/imagemagick.scm:48:2 >=20 > $ guix build imagemagick@6.9.11 > guix build: error: imagemagick: package not found for version 6.9.11 >=20 > $ guix build imagemagick@6.9.11-48 > /gnu/store/c30y49vg735g6b4hh590zrc9fmvcsy0w-imagemagick-6.9.12-2g-doc > /gnu/store/l3hr0fimip6v7vmkgxbqygsglxaxasy0-imagemagick-6.9.12-2g >=20 > From a user's perspective, inkscape@6.9.11 is at the time there and > not > there; it is shown by "guix package", but then not accessible for > install- > ation, but silently "glossed over" in favour of a different version. >=20 > I just noticed that I can do this: > $ guix build imagemagick@6.9.11-48 --no-grafts > /gnu/store/wlnciwhn6llwqwywf4hq739v5bbcrq3h-imagemagick-6.9.11-48-doc > /gnu/store/vlix7fclb7ifjgmxgpwr1pvraff89w7b-imagemagick-6.9.11-48 > But I can also do this: > $ guix build imagemagick@6.9.12-2g --no-grafts > /gnu/store/4s20df0zjmmys8zvlvynksrwz5xqk9ls-imagemagick-6.9.12-2g-doc > /gnu/store/7iwx7rj1ipsbgb9wgimrrflniyxpilw3-imagemagick-6.9.12-2g > where I do not know what I would have expected - the ungrafted > version > of 6.9.12 is 6.9.11, no? At the same time, for once it respects my > wish for a specific version. >=20 > Otherwise said, grafting to different versions breaks our semantic > for > designating packages, in which version numbers play an important > role, > and replaces it by a mess which even with the examples above I have a > hard time understanding. For this, the problem is not grafting but that the replacement package definition has been made public, this is an "issue" (?) that is known and I try to not make replacement package definitions public now. > =20 > Caeterum censeo: > The real fix is probably to do less grafts and more rebuilds... Agreed, I would really like a security-updates branch for that, with which we can buffer changes waiting for substitutes and then merge with master, but I am afraid this enters in conflict with people not having lots of bandwidth to download a new world again through substitutes or very powerful machines for those who don't use substitutes. L=C3=A9o --=-Sk2Z3Gp66uDHucrx7ge6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEFIvLi9gL+xax3g6RRaix6GvNEKYFAmBZ/UoACgkQRaix6GvN EKY/aw/9HOQux7aXjGF+QiAeiYJSnwb4GK2LQL5EyyYktFkF9QyQKmHgtK9OLh/F pZOnvaP3xyV0/oJXEl3tQKzzCs9ultBLr/MNxmYuUe8UBd66YiaL4ASoCLGO3j6g 9kkmtM3bE8F3ydInuGTHyTLqzQ8rPGgzUNVUQVP05JcJ2EqAxt9wYTx5wCBznT0C itoh3Atzbsu0NqfUok3WiyhH8eFkAICGuIYSw9t+DjJW+80IexEaVGi+DW3AKZQ8 a5ln3UXZTuD4Q1yd3Rzc6PACewDD0GhJvjUjrHApel5bHq525l/FD3ZqLdqRIID9 VPBSlFsPVwDqKcJoxWA+t/S4TlEkB7YBI17t/HGa4RffDkxGRg8cg75FJvqMOWDy kjPWkpU+Hxynsn5yQBX2H6tlUQhi+DJ4mRIN0PZNCufMuihax6o00IcdbgK8WDs8 ufpDgHyZuvqVktqqKh2xjL5cuGKNRkwtd+NzC61CPkByLQwf3qmP/jjOxW9LiGOz dRlt7hSSKSmMvRhC4Of0QCrouN+HpGOVV4ID1zdnc9SVZEHhGaPfofDgvMHEAusZ mfCV2l/s1J9+KwU8TpsKka8otm0Z9shtKxWzbe0sVXvZuaTlKjF3TLmWy5p1cN24 PDUofUxxN3WwBT8y98IRzjCiDsrncIfsMDS+BjI51Ryex8XzLBU= =gWqd -----END PGP SIGNATURE----- --=-Sk2Z3Gp66uDHucrx7ge6--