From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mF1ONEA1qGW8eQEAe85BDQ:P1 (envelope-from ) for ; Wed, 17 Jan 2024 21:14:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id mF1ONEA1qGW8eQEAe85BDQ (envelope-from ) for ; Wed, 17 Jan 2024 21:14:56 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=bayesians.ca header.s=protonmail2 header.b=qosQrUfH; dmarc=pass (policy=quarantine) header.from=bayesians.ca; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705522496; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xGfQQMQQd7BSPGTqJb1pZ97KRLMHRfdg5K+bEhdL6Hk=; b=nmZvldC3jEDNO5YSS1s1tmxWFwknqUDexP7gZD096W9PrZIvhLlaL6g+A9JFLQi5zlYRKQ ffAiZ6sSzMHfDwcFuetLtC+OJElB4M0YVPzQD6Nvl7vrRjcyFHWjPR1KTUhRgebFitO1lP 2Rk8xraygpDyQ8shY0epcggpyPjHu4b7J8NIlQ1QpuRJ/yIaLrsWStDKdQmV2/cwhnzPru M4EccS0MTiVODDgsDPXa2mM8sazkmryDq4hJNitYvsoMThMId4bd7ZvejFC8Mlk4ob3tKz HCCNogRUkN6+chxp3l1fYKVsT2Ve55h7sJc8QhiZf7T7NxH4BBPNDfAScw+0EA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705522496; a=rsa-sha256; cv=none; b=pOh5GiHsdlYPKn2kM7C8TAusNNmOwQNdWb3XLv0TS9OzqrBn4gJuLmSKyVXsQDQV9BqSBH q01vNZm5nCK0+S+Y6XR3qeKRx70HxsVJ6FTCw1+7NosFWXARFNmzHobN03bvdHh0G0MQh4 H27NZL7LXGAC9IyZzH6snMCTtyKyI2pLBpXmCqIdIKkdbKeynw/+J0c2tG73VacP4J2j+A hiSk97jaDSh9zTtey0xomtB2QiGdmEOznGkS1jXfT5rqM0x1+cwAYg4sazXm4cPz4bw8F3 9iZ171VocCn9DWVnnUn0sPDadqw+2gyC4RvkfWkI6qbyMAauR3HFecNRsAjIBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=bayesians.ca header.s=protonmail2 header.b=qosQrUfH; dmarc=pass (policy=quarantine) header.from=bayesians.ca; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" 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 9519E73E9D for ; Wed, 17 Jan 2024 21:14:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQCJ2-0007Co-7b; Wed, 17 Jan 2024 15:14:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPoJ3-00036B-UP for bug-guix@gnu.org; Tue, 16 Jan 2024 13:37:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rPoJ3-0008F2-L5 for bug-guix@gnu.org; Tue, 16 Jan 2024 13:37:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rPoJ3-0008Dj-Tx for bug-guix@gnu.org; Tue, 16 Jan 2024 13:37:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#54350: Profile collisions in "guix shell" References: In-Reply-To: Resent-From: Suhail Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 16 Jan 2024 18:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54350 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 54350@debbugs.gnu.org Received: via spool by 54350-submit@debbugs.gnu.org id=B54350.170543019831563 (code B ref 54350); Tue, 16 Jan 2024 18:37:01 +0000 Received: (at 54350) by debbugs.gnu.org; 16 Jan 2024 18:36:38 +0000 Received: from localhost ([127.0.0.1]:49750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPoIg-0008D0-Bu for submit@debbugs.gnu.org; Tue, 16 Jan 2024 13:36:38 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]:14473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPoId-0008Cm-Fr for 54350@debbugs.gnu.org; Tue, 16 Jan 2024 13:36:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bayesians.ca; s=protonmail2; t=1705430187; x=1705689387; bh=xGfQQMQQd7BSPGTqJb1pZ97KRLMHRfdg5K+bEhdL6Hk=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=qosQrUfHAnAL/YkYSdYc+j7Ecxpw0vj6mTHPsICmRjWs40kjpnoOaGHqCakS+HqmD W46R0RzsQ1huVeBuNb4RQKBEdOg+82ERVsU+at6OCzpQDERhzODMmKNvrRJ5n8ikdb OCZJ1sqx339eD03V34CuDI4sMC8TlptdPUP2Vw0eST5OPs5GtOsj1G0o9jI1Cxso/k 0RXfNAwbp2ZoXtaZfG0kDuCh2K/GmC6ib6M/l4c329K2Zj/nxijU5d5mHTmRlfa/1+ NCYu+3a86320ggIdslENkzll8bNXn+7jpc/hcGuAGlNuPALmDBOHXyov6Hz1WDB2H/ m/4ObsRDVkLWw== Date: Tue, 16 Jan 2024 18:36:04 +0000 From: Suhail Message-ID: <87wms9nn1p.fsf@> Feedback-ID: 38691229:user:proton 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-Mailman-Approved-At: Wed, 17 Jan 2024 15:14:32 -0500 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.69 X-Spam-Score: -4.69 X-Migadu-Queue-Id: 9519E73E9D X-TUID: KHG5k1NZa6J4 Hello Guix, I came across this issue the other day when attempting to create a profile that could act as a development environment for Guix. In addition to noting my observations below, I'd like to understand why there are collisions in a *new* profile tasked with installing the dependencies of guix? Is this a bug? The [documentation] notes the below command to start "a new shell where all the dependencies and appropriate environment variables are set up to hack on Guix": #+begin_src sh guix shell -D guix -CPW #+end_src Using guix-shell to export the manifest corresponding to the above one gets: #+header: :tangle ./manifest.scm #+begin_src scheme ;; What follows is a "manifest" equivalent to the command line you gave. ;; You can store it in a file that you may then pass to any 'guix' comman= d ;; that accepts a '--manifest' (or '-m') option. (package->development-manifest (specification->package "guix")) #+end_src Saving the above to manifest.scm and evaluating the below: #+begin_src sh mkdir -p ${GUIX_EXTRA_PROFILES}/guix-build-2 guix package -p ${GUIX_EXTRA_PROFILES}/guix-build-2/guix-build-2 -m ./man= ifest.scm #+end_src Results in the following error: #+begin_example ... guix package: error: profile contains conflicting entries for bzip2 guix package: error: first entry: bzip2@1.0.8 /gnu/store/4jkvfh9hp9zf9p= lrcw490ci6vpvc033d-bzip2-1.0.8 guix package: error: second entry: bzip2@1.0.8 /gnu/store/0ngy7fmrp9g3q= 35wwccnjxzaaqq9f8wi-bzip2-1.0.8 hint: You cannot have two different versions or variants of `bzip2' in th= e same profile. #+end_example Adding --allow-collisions to match guix-shell behaviour makes the installation succeed, as expected. [documentation]: --=20 Suhail This email is not an offer capable of acceptance, does not evidence an intention to enter into an agreement, has no operative effect until a definitive agreement is signed in writing by both parties, and that no party should act in reliance on the email or any representations of the sender until a definitive agreement is signed in writing by both parties.