From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2Ij/K3x6x18rRAAA0tVLHw (envelope-from ) for ; Wed, 02 Dec 2020 11:29:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ONDKJ3x6x1/WDQAAbx9fmQ (envelope-from ) for ; Wed, 02 Dec 2020 11:29:00 +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 AE3D2940148 for ; Wed, 2 Dec 2020 11:28:59 +0000 (UTC) Received: from localhost ([::1]:48156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkQJe-0002Nj-Lr for larch@yhetil.org; Wed, 02 Dec 2020 06:28:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41704) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkQ78-0007It-LQ for bug-guix@gnu.org; Wed, 02 Dec 2020 06:16:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kkQ78-0007YM-CT for bug-guix@gnu.org; Wed, 02 Dec 2020 06:16:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kkQ78-00026M-6O for bug-guix@gnu.org; Wed, 02 Dec 2020 06:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44452: Clash between guile-3.0 and guile-3.0-latest Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 02 Dec 2020 11:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44452 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: divoplade Received: via spool by 44452-submit@debbugs.gnu.org id=B44452.16069077478057 (code B ref 44452); Wed, 02 Dec 2020 11:16:02 +0000 Received: (at 44452) by debbugs.gnu.org; 2 Dec 2020 11:15:47 +0000 Received: from localhost ([127.0.0.1]:34515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkQ6t-00025s-Ft for submit@debbugs.gnu.org; Wed, 02 Dec 2020 06:15:47 -0500 Received: from mail-wm1-f51.google.com ([209.85.128.51]:39504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkQ6r-00025h-Tm for 44452@debbugs.gnu.org; Wed, 02 Dec 2020 06:15:47 -0500 Received: by mail-wm1-f51.google.com with SMTP id 3so6762090wmg.4 for <44452@debbugs.gnu.org>; Wed, 02 Dec 2020 03:15:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=CtN0W89mRpI7qpwiZtvPXlqJtz6X6HpZ513YazEwX+U=; b=TAFh0WwNqxwCMXSYMnCexJ7l+tugjbbeNAeiWEa0m2ByiCkK9RiJNzRFffdeeOMUbR Hhb5NRvXzWonhSH9R0BfjOWNM61wpf93CcPJNQu/lY0XLwYTbeCj86szBvSrDHpS+DTO OlNVYe9WeBptKmq3hxqNHLlDKAooPkxvkhjRnSF8/C+ji5Wsq9+GNYfuo8zrG11RivgY irzwYZak5YJAyBcNuX6KJ8hXoISiLiXuf+cxhB8/UONs0bEbZOgX76qn7G54pdbe+EIS 9/1kZKjTcglSGD6dnr3hTVKOeBJtZ3nm5bLasO7iiw12tZBGlGmYyPuDWQrwVbk22Mlx J1Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=CtN0W89mRpI7qpwiZtvPXlqJtz6X6HpZ513YazEwX+U=; b=Br8nMzDkkA66o/iMjwqvz6Vdc+amp/ouAVMugpony5myJFuSQ7KBFAcM9GNzmdQmKK SsD3Cx0LDOe+OQPzk5pf2R7xNX43us3Mv3Q1m+0DVlcucwc9w0HdRu6E7f1VyMSTOe1n e0k2IJRrvNdDEdYRsiT8nLoFWgpgs4EDTyZ0Kl0LwCcj1N/YyF7g/tXLS4/vIRj/xNVy vJJu82MKJsYn8djFkq2j9rnr1twcrL/S9s4JqTx2h2ZpWccUe4gteYpUTi6AAD96i+Js 7NB8DgKoPRRYCpyKUsGLjwv+IsVp7heOsvOcmpr3uiIUNAytWZfaSsJwBk2CfT9TqR4e YCiQ== X-Gm-Message-State: AOAM531Gj2QmFONKN41UA1auC0Btc8tYsLnSTpUGPtNe0BHE+eAsOCLs ZVY44+WQ4xUefWzco/bDDOY/dXnRPJAbPA== X-Google-Smtp-Source: ABdhPJxLSDtGHspUsAbMEHI9hh+gMbEI5mpBtXbhO4x2hASnyfI5XSfqehDILjLVervuNljTNAkicQ== X-Received: by 2002:a05:600c:218a:: with SMTP id e10mr2634023wme.73.1606907739612; Wed, 02 Dec 2020 03:15:39 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id a15sm1686564wrn.75.2020.12.02.03.15.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2020 03:15:39 -0800 (PST) From: zimoun In-Reply-To: <2b467f85aaed6c1a2178278678da648e2170d6a1.camel@divoplade.fr> References: <875z6i23zm.fsf@gnu.org> <34ed5d6ac3158347eea2a6ca5a8be5675c4abeb2.camel@divoplade.fr> <86pn3ttd9m.fsf@gmail.com> <86mtyxtbig.fsf@gmail.com> <2b467f85aaed6c1a2178278678da648e2170d6a1.camel@divoplade.fr> Date: Wed, 02 Dec 2020 12:11:12 +0100 Message-ID: <86v9dk1mzz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 44452@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.32 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=TAFh0WwN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: AE3D2940148 X-Spam-Score: 0.32 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: iiS9QiToLZ9M Hi, On Wed, 02 Dec 2020 at 10:10, divoplade wrote: > Le mardi 01 d=C3=A9cembre 2020 =C3=A0 23:19 +0100, zimoun a =C3=A9crit : >> Moreover, %base-packages already contains Guile (=E2=80=99guile-3.0-late= st=E2=80=99), >> therefore I am not sure to understand what the bug is about >> specifically. > > That's the problem. I need to remove it from %base-packages, otherwise > the packages that propagate guile 3.0.2 can't be installed. Sorry if I am slow, but I do not see why this use-case should be a bug. For example, --8<---------------cut here---------------start------------->8--- $ cat /tmp/manif.scm (use-modules (gnu packages guile)) (packages->manifest (list guile-3.0-latest guile-3.0)) $ guix package -m /tmp/manif.scm -p /tmp/bug The following packages will be installed: guile 3.0.2 guile 3.0.4 guix package: error: profile contains conflicting entries for guile guix package: error: first entry: guile@3.0.4 /gnu/store/ah16zr8mmfkqy23r= r7jy5a842ca1q9h1-guile-3.0.4 guix package: error: second entry: guile@3.0.2 /gnu/store/18hp7flyb3yid3y= p49i6qcdq0sbi5l1n-guile-3.0.2 hint: You cannot have two different versions or variants of `guile' in the = same profile. --8<---------------cut here---------------end--------------->8--- And this appends for any package providing multiversions (gcc, clang, guile, etc.). From my understanding, it is a feature. :-) Using the option =E2=80=99--allow-collisions=E2=80=99 avoids the error but = then the version you get is the first in the list, which could be prone error. That=E2=80=99s why I am not convinced it makes sense here. Said explicitly, if you do not want in your profile the package X belonging to %base-packages , do not add the %base-packages list. :-) Or create your custom list (remove the ones you do not want). I do not see what could done on this side. The list %base-packages is 40 packages considered as =E2=80=9Ckind of minimal=E2=80=9D to be able to do minimal st= uff. In one of your message, you were speaking about propagated inputs. Which is the use-case for the option =E2=80=99--allow-collisions=E2=80=99, = IIUC. Do you have examples of such use-cases? Something where: --8<---------------cut here---------------start------------->8--- (packages (append (list pkg-1 pkg-2 =E2=80=A6 %base-packages)) --8<---------------cut here---------------end--------------->8--- leads to an error or an unexpected result? All the best, simon