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 LgPrBbN9WmBaPwAA0tVLHw (envelope-from ) for ; Tue, 23 Mar 2021 23:45:55 +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 6LkvAbN9WmDIKAAA1q6Kng (envelope-from ) for ; Tue, 23 Mar 2021 23:45:55 +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 B63F7FD1F for ; Wed, 24 Mar 2021 00:45:54 +0100 (CET) Received: from localhost ([::1]:45806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOqif-0004RR-RN for larch@yhetil.org; Tue, 23 Mar 2021 19:45:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOqhN-0003gO-7Q for guix-devel@gnu.org; Tue, 23 Mar 2021 19:44:33 -0400 Received: from world.peace.net ([64.112.178.59]:51024) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOqhK-0002V8-K8 for guix-devel@gnu.org; Tue, 23 Mar 2021 19:44:32 -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 1lOqhI-0008BR-8K; Tue, 23 Mar 2021 19:44:28 -0400 From: Mark H Weaver To: Andreas Enge Subject: Re: imagemagick@6.9.11-48 to graft or not to graft with 6.9.12-2 In-Reply-To: References: <87v99iki3l.fsf@netris.org> Date: Tue, 23 Mar 2021 19:42:48 -0400 Message-ID: <871rc5jv1o.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: , Cc: guix-devel@gnu.org 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=1616543154; 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; bh=6h3btqayoRrxZP9pDuI7gk0Wy3o8HkvxTepkOWuQ6xw=; b=cqidoKSY2mOSLethVNtO/ktSUMqMXgNsPGBq9OVhw1kgPt9TPSMT0eS8sRiXE5VSDjkKrG tl4iDoeAbuFwCkUNO2pO/CJLppOPMvjl0qtH5eq+7O1MMcWzccbm0MfPwERQNcgqaC7TGj 8kVrhQMgQDgRW161EZ49I2pflMDexDPTiHhmZtoGL+YF582gBlromBSGJqndC4SO89oFhV msCSh6mTaJe4pSHTR8KLDJALPQvYquXOVdM0fVL8Oa5QoLmT+uHnAlUZDFGSy+jk61xBOn BUkrydcvkeHDFETItOnCMw+RLiVaJY7/1vMvgrMqD3i7Owa5LQRIxvOXjW1jDw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616543154; a=rsa-sha256; cv=none; b=OfoTkwISTJKpAN3sofe3vAILrUkEtf6FFaemjvn1IGGF1XQw3PvFsKpiYGyhaIo79PeXzK RhCQQM5VmcYMDFGAJAEopzmck2Xuq0glBF+JAzvti6OFPiA9bSKqMxeUi3GmW/OsIpTRUN nknxjVhr18j1Q29a7HYvi9nRaVJFqUmX65W4w6FXLy4ClSwuXQOLtQHZcJjGcLytgvpsIF 0JAU7/bWqrs/+42h4112FP9WVGczx94OzaDBrnh0hpc+EG817gvpw1Le0THdGNr38i0s+2 qNgF8uXOnhOenXYt7DZS3gAXu23lqJNBBAcqwgtK335uoFRFrEqDM4saDFZhFw== 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: B63F7FD1F X-Spam-Score: -2.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: cVtUz+Uu8lkj Hi Andreas, Andreas Enge writes: > these are very good arguments, which I understand and share. But moving > to another version is problematic even when there is no soname bump, as > 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: > > $ 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 > > $ guix build imagemagick@6.9.11 > guix build: error: imagemagick: package not found for version 6.9.11 > > $ guix build imagemagick@6.9.11-48 > /gnu/store/c30y49vg735g6b4hh590zrc9fmvcsy0w-imagemagick-6.9.12-2g-doc > /gnu/store/l3hr0fimip6v7vmkgxbqygsglxaxasy0-imagemagick-6.9.12-2g > > 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. [...] > 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. To my mind this suggests a bug, or at least suboptimal behavior, in "guix package". I don't think it's appropriate to set grafting policy to work around it. How about changing "guix package -A" and "guix package -s" to display information about the package's replacement, if it has one? Alternatively, those commands could somehow explicitly indicate that the package has been grafted, and show the version number of the replacement, in such a way that is less confusing to users. What do you think? Regards, Mark