GNU bug report logs - #54350
'guix shell' skips profile collision checks

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Maxime Devos <maximedevos@HIDDEN>; dated Sat, 12 Mar 2022 09:46:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 54350 <at> debbugs.gnu.org:


Received: (at 54350) by debbugs.gnu.org; 16 Jan 2024 18:36:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 16 13:36:38 2024
Received: from localhost ([127.0.0.1]:49750 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rPoIg-0008D0-Bu
	for submit <at> 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 <suhail@HIDDEN>) id 1rPoId-0008Cm-Fr
 for 54350 <at> 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
To: 54350 <at> debbugs.gnu.org
From: Suhail <suhail@HIDDEN>
Subject: bug#54350: Profile collisions in "guix shell"
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-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  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 [...]
 Content analysis details:   (1.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 RCVD_IN_MSPIKE_H5      RBL: Excellent reputation (+5)
 [185.70.43.23 listed in wl.mailspike.net]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 1.2 INVALID_MSGID          Message-Id is not valid, according to RFC 2822
 -0.0 T_SCC_BODY_TEXT_LINE   No description available.
X-Debbugs-Envelope-To: 54350
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

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@HIDDEN /gnu/store/4jkvfh9hp9zf9p=
lrcw490ci6vpvc033d-bzip2-1.0.8
  guix package: error:   second entry: bzip2@HIDDEN /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]: <https://guix.gnu.org/en/manual/devel/en/guix.html#Buildin=
g-from-Git>

--=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.





Information forwarded to bug-guix@HIDDEN:
bug#54350; Package guix. Full text available.

Message received at 54350 <at> debbugs.gnu.org:


Received: (at 54350) by debbugs.gnu.org; 15 Dec 2023 06:51:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 15 01:51:43 2023
Received: from localhost ([127.0.0.1]:51531 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rE22x-0002Yo-7S
	for submit <at> debbugs.gnu.org; Fri, 15 Dec 2023 01:51:43 -0500
Received: from out5-smtp.messagingengine.com ([66.111.4.29]:45655)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <konrad.hinsen@HIDDEN>) id 1rE22u-0002Yb-Le
 for 54350 <at> debbugs.gnu.org; Fri, 15 Dec 2023 01:51:41 -0500
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id 842535C012B;
 Fri, 15 Dec 2023 01:51:35 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute5.internal (MEProxy); Fri, 15 Dec 2023 01:51:35 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h=
 cc:content-type:content-type:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:subject
 :subject:to:to; s=fm2; t=1702623095; x=1702709495; bh=rYYuSmlqRP
 C9KclQ27su/sBunAhsCG753iQk7uDSRxc=; b=dfEV+46Az3aUSPiCOBIFpe6oSO
 83eo+iqZtoym+1j0aIiqNu9W8Zco+iBWgAj2ggUns3TBpcLfiPVHAVWFcPHQDn6E
 xFXjje+JKtSP7qGCUQMfHOcduu1OQCJKWBvWy+vEkb3mAJzIPPPTss+eqE9mdFRZ
 aYRBsflL+q/hJa897vxHkYN0V8g5f6NpYPJaVJq16rkdx9i8f1C+TQtn19ykiQKC
 BvlLrp/ulZwdATsukknBmL9Wko9bLg/qpTeaB4DJVI0LsK45jaXqgVgUwFVh3tRL
 XWwYTtPsoKesGUoqrHwAkOV8RSeYoiiwu9MUMuOfdYjfBJBuzz9o6nDbermw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:subject:subject:to
 :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm2; t=1702623095; x=1702709495; bh=rYYuSmlqRPC9KclQ27su/sBunAhs
 CG753iQk7uDSRxc=; b=Nfr6MwYIgBrpS8r1VGXQuBGLlclqQ09exU1Di5nJiiTg
 gAAJtLyAQoumrevSMksY6yV08carwOJJYD2FsvEw3qP6nzG/WFUXcMjXCi6SXjna
 uCYnpAZKyViaFhYf3B7EzsYWC9lQKMaGoeA1EDEpmlwQahTlLt3mE5zn2SRgAKIz
 W4VsRNGrqGkkcVitDpv6WLFTUnQjlj3/k8mgNlPfFPpnDES3PzgrAX4j5wIGr/dO
 LGa6ydlAsQMpPH2Md77UqU1wLS9cEcKtaIT04rv/EA9AaLqfTkXXbylNsf3kNOkM
 idu8mcaQ/PC2Imsw7TBu9S2IhxhwVc11YXlzalYgjg==
X-ME-Sender: <xms:d_d7ZX0bZy-ByT1iFPhdndkLKMzM8BM4Zx5iqzO3kn8F-luZrX_QoQ>
 <xme:d_d7ZWEey9bITImskjxNw20e_CjUXkGfHiy_TH4t59hJpeGVEDrbV-pLCloL-_2yW
 _H-H2eqn_PIYlss>
X-ME-Received: <xmr:d_d7ZX5tkwgntjFKBTkstVY5hLoFe7vMNr0QH3_ESPGHrZywO2V2cdEiI0y6XFoTpvqeEjxDlOSe5AE7Zq3vGX_HrZZQmcJW1FclNG_9i_ZY>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddtuddgfeeiucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffffkgggtsehttdertd
 dttddtnecuhfhrohhmpefmohhnrhgrugcujfhinhhsvghnuceokhhonhhrrggurdhhihhn
 shgvnhesfhgrshhtmhgrihhlrdhnvghtqeenucggtffrrghtthgvrhhnpeegleelffduue
 eigeetudeiffdtleeukeelgeeiieeftddvueegueejvdefjeegheenucffohhmrghinhep
 ghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh
 hrohhmpehkohhnrhgrugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvth
X-ME-Proxy: <xmx:d_d7Zc0-MJTF4BsHrMrNkNdyrHduYsTJ9rhGi1oGqMajid59VJP7dg>
 <xmx:d_d7ZaGvNljNmJcogodsNuB_knR_Uff6iQNnEd3j89vdWVPqTwvU1w>
 <xmx:d_d7Zd8JZrhjG2U89IkgREaN6lDZ6JCGJvYV4ai_2nz6OXBwyFdAXQ>
 <xmx:d_d7ZVN8hekexRU2IPbREX9_v7ymT3kKYWVfLjDQCdF-dTRCIjryaA>
Feedback-ID: i184641e2:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
 15 Dec 2023 01:51:34 -0500 (EST)
From: Konrad Hinsen <konrad.hinsen@HIDDEN>
To: 54350 <at> debbugs.gnu.org
Subject: Re: Profile collisions in "guix shell"
In-Reply-To: <m1jzpjzhux.fsf@HIDDEN>
References: <m1jzpjzhux.fsf@HIDDEN>
Date: Fri, 15 Dec 2023 07:51:33 +0100
Message-ID: <m1v890x8ju.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 54350
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Konrad Hinsen <konrad.hinsen@HIDDEN> writes:

> I run everything that is part of a research project in containers,
> meaning "guix shell -C".

Related: HPC users on clusters using NFS are also advised to use
"guix shell" rather than profiles:

  https://lists.gnu.org/archive/html/guix-science/2023-12/msg00007.html
  https://lists.gnu.org/archive/html/guix-science/2023-12/msg00008.html

Cheers,
  Konrad.




Information forwarded to bug-guix@HIDDEN:
bug#54350; Package guix. Full text available.

Message received at 54350 <at> debbugs.gnu.org:


Received: (at 54350) by debbugs.gnu.org; 12 Dec 2023 13:11:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 12 08:11:13 2023
Received: from localhost ([127.0.0.1]:55530 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rD2XZ-0004DV-5F
	for submit <at> debbugs.gnu.org; Tue, 12 Dec 2023 08:11:13 -0500
Received: from out2-smtp.messagingengine.com ([66.111.4.26]:33239)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <konrad.hinsen@HIDDEN>) id 1rD2XW-0004DD-9B
 for 54350 <at> debbugs.gnu.org; Tue, 12 Dec 2023 08:11:11 -0500
Received: from compute6.internal (compute6.nyi.internal [10.202.2.47])
 by mailout.nyi.internal (Postfix) with ESMTP id 7E8C35C034D;
 Tue, 12 Dec 2023 08:10:49 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute6.internal (MEProxy); Tue, 12 Dec 2023 08:10:49 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h=
 cc:content-type:content-type:date:date:from:from:in-reply-to
 :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1;
 t=1702386649; x=1702473049; bh=NpBXFWKcccsQW2ftOQxGEGco1DE7a4+K
 BgmnuBc62u8=; b=dN9tlOdUkvM7Ta3gRu+g557v0GOAJMrXfgRVA5L3OGmgpXui
 3N3b+2e7dhC1+yMoKnkdMOOE7crnEAfN//qnLWsE5dnYCEJKy0FE2F1+WF9OZUrT
 qZQ5CPrBp9RgUKhy37glHHybx5/C8tviQAofSIGpybU66tdr+D3oJdP2+MsWlIxk
 7Ic+k/cTFdSTkqrmXPUWSEb7yvfZNMZc1vugVioM5xzJb2tcj9jrpD7371G1QjUk
 fZV3IqigqF2WIKq5wW9clL4gt1bbYFdRpGbkYrTQfsRBh4DjXhpVhqZ+f04fFX4m
 kXWmagqsdHADFpQu4fvfOurHdNdVh/I0JTn2iw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:message-id
 :mime-version:reply-to:subject:subject:to:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=
 1702386649; x=1702473049; bh=NpBXFWKcccsQW2ftOQxGEGco1DE7a4+KBgm
 nuBc62u8=; b=MAsz1tLPA7nfCaxYm74iOuvHPz9R+a+odVCGXHrtUYJsuHqWIKw
 5YY/q0bS4/MCAxSvSY4asa6Ye/Lr03n7Dx46E9YH1km5S1eiZZlHXndc2J+iDq3x
 DJgo0TSKmRrM2YCPWr6Fill9m0x4XAVkIOR8dZce9Hvdg+QS6l24LJap9UeSodCe
 VRczuc4vB7bpEHw5f0HxnaH4FJMM8zdEJsXfAy3fpp4XW0nITBNFfK7IiEc7k7B8
 BxwbUywIxczFBrO3TVs4pD8ns1UcIYOLFeKNTWsPXg+gsmAKa+b1W5H5GgkUpl9t
 hUZLttnquwWbSiw81j7OQuRdSQ1/jV7h2mA==
X-ME-Sender: <xms:2Vt4ZeBmqQZ8F5Ud4fDHTTNrnWliseNiiOAK59PJD1m-78UUh3JRIQ>
 <xme:2Vt4ZYgpBGfHAst_FSKw6qVwPLOFuS-PQV2MV6Zxw09TrhjSISSB04JmwonbzjgP0
 CgNZeCqCgRbd7ZW>
X-ME-Received: <xmr:2Vt4ZRk31splxFMg0YvkmtPX8-vhtH9kGcTe3G6X9Kfo8y5IkMrKkZktivDDIci4Z8D5mv0huXzFILzQvRzFCX9IFg1TBWBQ_qlhCc7GgMNV>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudelgedggeeiucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehttdertddttd
 dtnecuhfhrohhmpefmohhnrhgrugcujfhinhhsvghnuceokhhonhhrrggurdhhihhnshgv
 nhesfhgrshhtmhgrihhlrdhnvghtqeenucggtffrrghtthgvrhhnpeegveetieefgeefhe
 efvdfgkeejuedtgfeugfefvdfhueetieefvdehteeftdefheenucffohhmrghinhepghhn
 uhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh
 hmpehkohhnrhgrugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvth
X-ME-Proxy: <xmx:2Vt4ZcxXpZCmH-QUuQFGdsxIcEVMelQ8R195pRv4tTBGp2laHd7--Q>
 <xmx:2Vt4ZTRumzfO84fV7CS0R9Ojvgs6-VHnOUkA1ac3DPUqil4MY4o06w>
 <xmx:2Vt4ZXZAB4MvjrKUjwQi_6ig5JWUCaHHvR2uhOc27cbzlPNHoR1woQ>
 <xmx:2Vt4ZU6-v9drvQuNUj_7IeIE0trvrk7sthAGr7Jq0YxVM5cLacXNxg>
Feedback-ID: i184641e2:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue,
 12 Dec 2023 08:10:48 -0500 (EST)
From: Konrad Hinsen <konrad.hinsen@HIDDEN>
To: 54350 <at> debbugs.gnu.org
Subject: Profile collisions in "guix shell"
Date: Tue, 12 Dec 2023 14:10:46 +0100
Message-ID: <m1jzpjzhux.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 54350
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hi everyone,

I ran into this issue when I was trying to turn a much-used shell
environment into a profile for persisting the binaries in the store.
I had been using it for several months, believing it to be OK.
Fortunately it was easy to fix.

Background: as part of a reproducible computation workflow (see my talk
at the ten-year meeting,
https://10years.guix.gnu.org/program/#guix-as-a-tool-for-computational-science),
I run everything that is part of a research project in containers,
meaning "guix shell -C". Since I rely on Python 2 software, I end up
using package transformations frequently to get old software to work. As
it turns out now, package transformations are also an excellent way to
create profile collisions: three out of five of my commonly used
containers have collisions, which I wasn't aware of until a few days
ago.

From that perspective, the current behavior of "guix shell" is... let's
say "suboptimal".

I do understand the motivation, as explained in this thread, but I don't
quite understand (1) why profile collisions are so frequent in
development environments and (2) why ignoring them in that use case
doesn't cause any trouble.

When I run "guix shell -D inkscape", I expect to have, as much as
possible, the same environment as the one the daemon uses when build
inkscape. Does the daemon also switch off collision detection?

Cheers,
  Konrad.






Information forwarded to bug-guix@HIDDEN:
bug#54350; Package guix. Full text available.

Message received at 54350 <at> debbugs.gnu.org:


Received: (at 54350) by debbugs.gnu.org; 16 Mar 2022 20:32:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 16 16:32:13 2022
Received: from localhost ([127.0.0.1]:52389 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nUaJZ-0004Ik-8i
	for submit <at> debbugs.gnu.org; Wed, 16 Mar 2022 16:32:13 -0400
Received: from mail-pg1-f176.google.com ([209.85.215.176]:40794)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <code@HIDDEN>) id 1nUaJX-0004IW-Rw
 for 54350 <at> debbugs.gnu.org; Wed, 16 Mar 2022 16:32:12 -0400
Received: by mail-pg1-f176.google.com with SMTP id e7so1047517pgf.7
 for <54350 <at> debbugs.gnu.org>; Wed, 16 Mar 2022 13:32:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=greghogan-com.20210112.gappssmtp.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=4sqJwegAmFzve0d+EVDgqaaRAAYWODOIP7Msq/Zaym4=;
 b=3e7lIRjpsv5hNXtxWvYQpODKCOWXu1hWLBl/c3h2zQdsuewJqOqenxmCQk0QsNy7P9
 +x5zkahabpiNg7k6s54T/S4Lxi8X/RB+JQTSHPRFemsPhc/uo/njnMf/Oz9suGYLTL8S
 /CD8ecyu+pMDcCTMgIv1zTaNWKD2/8A/+jRavkzTtamfLccXs7Kx0ZeHCFLTewngDWSS
 13IqN1yOQL92lVqGBl7RDL5hiYIFNn9oYdHNrNxdjAGQ2sOJNIkITDPv1QQI6yS/jEsf
 V+lfBs8bZj05GF6rga1s0I5e9YgV4Zj6Uwl5JpFNMT942SBewwNzn7SsAVJcV2Ztn04j
 OOmw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=4sqJwegAmFzve0d+EVDgqaaRAAYWODOIP7Msq/Zaym4=;
 b=zKxyuEB6o1D6BFo/coZH7mv8fCz/qGMWOg8ihMv7kaUOw2P9kWT3VAjIl5Ue6J2NyJ
 qd1nMP/72oYutvkJpVIT5TlHU7gIqOTQDArYWSGZBRl43Ws13fo02CB6tBGoy7MQPKnZ
 v2G1MfuIgBM3uKFy/GvlYHQiCVmu3JGL3m2gUjcyavGWBiZhFfdtvkDxChKu66oPMRvk
 3JIGuzV/FmAH0LsxqPVSYLMyh+5+IVllyhAs5mb00+bEhzLQkg+zfEr9KzymEyyxLl4j
 NipuVkIVpCyvSg07KNkhflztwHk9g0YIbGgsFj5FsVjuSF8hAWibtkh71XghHHQ0LiId
 jYxg==
X-Gm-Message-State: AOAM530JcGPk/zORee+2Yeb9HN5OLaQchpVo7JLKnDOTJA4DviKVJZ8w
 /gjtxLIDckoVQeJk0Ttb/BFE/jEBakQ2TVhr5kxE4w==
X-Google-Smtp-Source: ABdhPJx6FSLHThO5dzHClju015IRHMe9lTBDH65tpsNeJ/16yIvszlys+2eW4DPCdFWA8tCg6q6sBACcCj48Lq52XhA=
X-Received: by 2002:a65:5941:0:b0:375:9bfd:473d with SMTP id
 g1-20020a655941000000b003759bfd473dmr1037453pgu.348.1647462726046; Wed, 16
 Mar 2022 13:32:06 -0700 (PDT)
MIME-Version: 1.0
References: <afde4231155f7fe32e709dc0d3a4c12d71ea8011.camel@HIDDEN>
 <87zglrjpef.fsf@HIDDEN>
In-Reply-To: <87zglrjpef.fsf@HIDDEN>
From: Greg Hogan <code@HIDDEN>
Date: Wed, 16 Mar 2022 16:31:54 -0400
Message-ID: <CA+3U0Z=JbVMq1PLqZrFh8-ZBW=emtdRa0XvVEEJZPpG_r0HmEw@HIDDEN>
Subject: Re: bug#54350: Profile collisions are ignored, installing multiple
 versions of the same package is silently broken
To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
Content-Type: multipart/alternative; boundary="00000000000091304e05da5bce9f"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 54350
Cc: Maxime Devos <maximedevos@HIDDEN>, 54350 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--00000000000091304e05da5bce9f
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 15, 2022 at 9:51 AM Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:

> What we could do, as a mitigation, is to enable collision checks unless
> there=E2=80=99s at least one =E2=80=98-D=E2=80=99 flag.  We=E2=80=99d als=
o need to introduce
> =E2=80=98--allow-collisions=E2=80=99 for =E2=80=98guix shell=E2=80=99.
>

Also 'guix pack'.

--00000000000091304e05da5bce9f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Tue, Mar 15, 2022 at 9:51 AM Ludovic C=
ourt=C3=A8s &lt;<a href=3D"mailto:ludo@HIDDEN">ludo@HIDDEN</a>&gt; wrote:=
<br></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex">What we could do, as a mitigation, is to enable collision check=
s unless<br>
there=E2=80=99s at least one =E2=80=98-D=E2=80=99 flag.=C2=A0 We=E2=80=99d =
also need to introduce<br>
=E2=80=98--allow-collisions=E2=80=99 for =E2=80=98guix shell=E2=80=99.<br><=
/blockquote><div><br></div><div>Also &#39;guix pack&#39;.</div></div></div>

--00000000000091304e05da5bce9f--




Information forwarded to bug-guix@HIDDEN:
bug#54350; Package guix. Full text available.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 54350 <at> debbugs.gnu.org:


Received: (at 54350) by debbugs.gnu.org; 16 Mar 2022 10:18:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 16 06:18:47 2022
Received: from localhost ([127.0.0.1]:50281 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nUQju-0001oI-Oc
	for submit <at> debbugs.gnu.org; Wed, 16 Mar 2022 06:18:47 -0400
Received: from eggs.gnu.org ([209.51.188.92]:43274)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1nUQjs-0001o1-5C
 for 54350 <at> debbugs.gnu.org; Wed, 16 Mar 2022 06:18:45 -0400
Received: from [2001:470:142:3::e] (port=56804 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1nUQjl-0002yh-7m; Wed, 16 Mar 2022 06:18:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=nI2JMkgjPoFvVjr0Lc171eu2Ztpa8MsGDpQEKH7L4nI=; b=CCHZNnDvj6OgfR2619uS
 Q3Mo47VphFaveRQpXEVnuLFk14E3+BRNP+bhE5PAx9wA7ZfkpJzztpIS2oaMJmmh8ZEJxZ+D1TuOi
 YGLrjO/1TEN4YxhFf+kcnaZtkiC19mGqgHAbZrJI7J8djT1JKjvjrsJBYDN/1vySXsMda8WPh0XH7
 gmB/mNF6vA4W6oe40zjJ45yfZP3xDhhCueuRxecWYnrS6W4zOTHkSdMiT8IX1/p6ZIgqoRXKLAymy
 vEEceD++lLffNsj+aAsJHaRPIzO5cDHTbK7icd1Mp7jEKf7CHXOOs49C4zna6CLEzccCloBxDBHDd
 lUuI9dUaGkryag==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:62970
 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1nUQjk-0007ZS-Nb; Wed, 16 Mar 2022 06:18:36 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Maxime Devos <maximedevos@HIDDEN>
Subject: Re: bug#54350: Profile collisions are ignored, installing multiple
 versions of the same package is silently broken
References: <afde4231155f7fe32e709dc0d3a4c12d71ea8011.camel@HIDDEN>
 <87zglrjpef.fsf@HIDDEN>
 <b1c608f460465b7c4421aed44677f3a2f94302ec.camel@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 26 =?utf-8?Q?Vent=C3=B4se?= an 230 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Wed, 16 Mar 2022 11:18:34 +0100
In-Reply-To: <b1c608f460465b7c4421aed44677f3a2f94302ec.camel@HIDDEN>
 (Maxime Devos's message of "Tue, 15 Mar 2022 16:58:40 +0100")
Message-ID: <87czimgpz9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 54350
Cc: 54350 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Maxime Devos <maximedevos@HIDDEN> skribis:

> Ludovic Court=C3=A8s schreef op di 15-03-2022 om 14:50 [+0100]:
>> $ ./pre-inst-env guix shell -D guile -n
>> guix shell: error: profile contains conflicting entries for bash-minimal
>> guix shell: error:=C2=A0=C2=A0 first entry: bash-minimal@HIDDEN=C2=A0/gnu=
/store/chfwin3a4qp1znnpsjbmydr2jbzk0d6y-bash-minimal-5.1.8
>> guix shell: error:=C2=A0=C2=A0 second entry: bash-minimal@HIDDEN=C2=A0/gn=
u/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8
>> hint: You cannot have two different versions or variants of `bash-minima=
l' in the same profile.
>> --8<---------------cut here---------------end--------------->8---

I wonder whether this is the exception rather than the rule.  Here=E2=80=99=
s an
unscientific not-quite-random sample:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix shell -D guix
guix shell: error: profile contains conflicting entries for bzip2
guix shell: error:   first entry: bzip2@HIDDEN /gnu/store/gzmwrl6cb8nxmc68hp=
gqzblng2kamkgc-bzip2-1.0.8
guix shell: error:   second entry: bzip2@HIDDEN /gnu/store/s3hl12jxz9ybs7nsy=
7kq7ybzz7qnzmsg-bzip2-1.0.8
hint: You cannot have two different versions or variants of `bzip2' in the =
same profile.

$ ./pre-inst-env guix shell -D inkscape --no-grafts -n
guix shell: error: profile contains conflicting entries for libsigc++
guix shell: error:   first entry: libsigc++@3.0.6 /gnu/store/ng4k2yl94d758p=
5vnashd4nvyb1aw8s1-libsigc++-3.0.6
guix shell: error:    ... propagated from cairomm@HIDDEN
guix shell: error:    ... propagated from gtkmm@HIDDEN
guix shell: error:   second entry: libsigc++@2.9.3 /gnu/store/iad8jg1fm7jsq=
0pqj547f3n5s2jn9rp0-libsigc++-2.9.3
hint: Try upgrading both `gtkmm' and `libsigc++', or remove one of them fro=
m the profile.

$ ./pre-inst-env guix shell -D gimp --no-grafts -n
guix shell: error: profile contains conflicting entries for librsvg
guix shell: error:   first entry: librsvg@HIDDEN /gnu/store/wj3sigq6pwjc2z6=
8qgbpv8pxcv8haklf-librsvg-2.50.7
guix shell: error:   second entry: librsvg@HIDDEN /gnu/store/q3vymxinnp6cxq=
q1cpz1rdqmnwq5x1ni-librsvg-2.50.7
hint: You cannot have two different versions or variants of `librsvg' in th=
e same profile.

$ ./pre-inst-env guix shell -D openmpi --no-grafts -n
The following derivation would be built:
   /gnu/store/fpj74z159bf6v7cxsxs5rxm3xm4w2amz-profile.drv

$ ./pre-inst-env guix shell -D hwloc --no-grafts -n
The following derivation would be built:
   /gnu/store/ikf40sfmk3y7r3frxm9fbkzmma4ym8ay-profile.drv

$ ./pre-inst-env guix shell -D guile-gcrypt --no-grafts -n
The following derivation would be built:
   /gnu/store/3ip5kq50b97bsm6zhygz0fjx54w0fqa0-profile.drv

$ ./pre-inst-env guix shell -D libgit2 --no-grafts -n
The following derivation would be built:
   /gnu/store/8f83l9p88g40mrnl5l4wrzqg5zwgn6cm-profile.drv

$ ./pre-inst-env guix shell -D python-pytorch --no-grafts -n
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 10=
0.0%
The following derivation would be built:
   /gnu/store/aly6xd3vi5j0qimjzj2hj0wry5zma376-profile.drv

37.2 MB would be downloaded
$ ./pre-inst-env guix shell -D python-itsdangerous --no-grafts -n
The following derivation would be built:
   /gnu/store/cgxgvj73wgx263lzd3f82vvjl39vn4pn-profile.drv

--8<---------------cut here---------------end--------------->8---

We should check automatically the fraction of packages for which
=E2=80=98package->development-manifest=E2=80=99 contains colliding entries.

If it=E2=80=99s rather rare, we might as well have =E2=80=98guix shell=E2=
=80=99 default to
#:allow-collisions? #f.

(The issue for GIMP comes from librsvg vs. librsvg-bootstrap.  The one
for inkscape is a genuine problem.)

If we take that route, we could also add a linter that checks for
collisions in package dependencies.

>> These collisions are harmless but frequent in package development
>> environments, which is why =E2=80=98guix environment=E2=80=99 had to tur=
n off those
>> checks (commit afd06f605bf88a796acefc7ed598b43879346a6b).
>>=20
>> That=E2=80=99s a bit of a hack though.
>
> These collisions happen because=C2=A0the bag of a package contains of mul=
tiple
> variants of bash: the default canonical bash-minimal, from (gnu packages
> commencement), not directly visible (i.e., with "guix show" and
> 'specification->package'), which is overidden by the bash-minimal from
> native-inputs, which is visible from specification->package and as a publ=
ic
> variable, and as I understand it, the bash-minimal supposed to end up
> in the references of non-bootstrap packages.
>
> For these kind of collisions, I think the non-canonical package (that's
> actually visible with "guix show FOO") is preferred here, so perhaps
> the canonical variants can be filtered out whenever that would resolve
> a collision?

I=E2=80=99m not fond of filtering out, because that can make it hard to
understand what the inputs of a package really are.

However, we could tweak the collision detection code to ignore
collisions with hidden packages or something along these lines.

Thoughts?

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#54350; Package guix. Full text available.

Message received at 54350 <at> debbugs.gnu.org:


Received: (at 54350) by debbugs.gnu.org; 15 Mar 2022 15:58:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 15 11:58:50 2022
Received: from localhost ([127.0.0.1]:49399 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nU9ZS-0002pM-0i
	for submit <at> debbugs.gnu.org; Tue, 15 Mar 2022 11:58:50 -0400
Received: from baptiste.telenet-ops.be ([195.130.132.51]:35634)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1nU9ZP-0002pC-OX
 for 54350 <at> debbugs.gnu.org; Tue, 15 Mar 2022 11:58:49 -0400
Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a])
 by baptiste.telenet-ops.be with bizsmtp
 id 6fyl2700F4UW6Th01fylzr; Tue, 15 Mar 2022 16:58:45 +0100
Message-ID: <b1c608f460465b7c4421aed44677f3a2f94302ec.camel@HIDDEN>
Subject: Re: bug#54350: Profile collisions are ignored, installing multiple
 versions of the same package is silently broken
From: Maxime Devos <maximedevos@HIDDEN>
To: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN>
Date: Tue, 15 Mar 2022 16:58:40 +0100
In-Reply-To: <87zglrjpef.fsf@HIDDEN>
References: <afde4231155f7fe32e709dc0d3a4c12d71ea8011.camel@HIDDEN>
 <87zglrjpef.fsf@HIDDEN>
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-AoVoI7kH020S+4Bg1w+u"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1647359925; bh=+bzWxapZ9c0vTQ4qnuOQgwQDPSGzl0afAY7hkVLJcuo=;
 h=Subject:From:To:Cc:Date:In-Reply-To:References;
 b=Je5oznUueRkrK+zNS38tq9koDHjvCBmtlzKzC/mqnq7S8A+pgGaL3jj24O8s6UgJR
 E6a5kSdPlFoHWMS065OW7CTn9DJ4SyhqqSUvED0guhreeeWj9N1RqHK0Ocv67qZm0R
 3DfyQkDZ9z2nLbnutu8zaKbfrMk8dYjXKZfB93oUTzMhKcsMxuxV8A6M/ZVRMM6tm8
 ypDFHZ8aqk2givCHqJiXdRkAcSkm07qa0O8qsBLXg/abJz6OQxDn7lU5omYUK3RnXF
 mdTlrctmQ3nU4Dw/4wPb1MpqC71jMnS7SV+CUf7vRcRKqMhnE671yrIV4FNF8U/CUT
 5JkhPv3GXSMIQ==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 54350
Cc: 54350 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


--=-AoVoI7kH020S+4Bg1w+u
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Ludovic Court=C3=A8s schreef op di 15-03-2022 om 14:50 [+0100]:
> $ ./pre-inst-env guix shell -D guile -n
> guix shell: error: profile contains conflicting entries for bash-minimal
> guix shell: error:=C2=A0=C2=A0 first entry: bash-minimal@HIDDEN=C2=A0/gnu/=
store/chfwin3a4qp1znnpsjbmydr2jbzk0d6y-bash-minimal-5.1.8
> guix shell: error:=C2=A0=C2=A0 second entry: bash-minimal@HIDDEN=C2=A0/gnu=
/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8
> hint: You cannot have two different versions or variants of `bash-minimal=
' in the same profile.
> --8<---------------cut here---------------end--------------->8---
>=20
> These collisions are harmless but frequent in package development
> environments, which is why =E2=80=98guix environment=E2=80=99 had to turn=
 off those
> checks (commit afd06f605bf88a796acefc7ed598b43879346a6b).
>=20
> That=E2=80=99s a bit of a hack though.

These collisions happen because=C2=A0the bag of a package contains of multi=
ple
variants of bash: the default canonical bash-minimal, from (gnu packages
commencement), not directly visible (i.e., with "guix show" and
'specification->package'), which is overidden by the bash-minimal from
native-inputs, which is visible from specification->package and as a public
variable, and as I understand it, the bash-minimal supposed to end up
in the references of non-bootstrap packages.

For these kind of collisions, I think the non-canonical package (that's
actually visible with "guix show FOO") is preferred here, so perhaps
the canonical variants can be filtered out whenever that would resolve
a collision?

That seems also a bit of a hack though.

> What we could do, as a mitigation, is to enable collision checks
> unless there=E2=80=99s at least one =E2=80=98-D=E2=80=99 flag.  We=E2=80=
=99d also need to introduce
> =E2=80=98--allow-collisions=E2=80=99 for =E2=80=98guix shell=E2=80=99.

Special-casing -D like this also seems like a hack to me.  I'm not sure
which hack is better, though I prefer this one and the =E2=80=98filter out
canonical packages=E2=80=99 above the original =E2=80=98just disable collis=
ion
checking=E2=80=99.

Greetings,
Maxime.

--=-AoVoI7kH020S+4Bg1w+u
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYjC3sBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7oDxAP9eipXUqNPc36a8Dy1OE/61ePW0
3vstSYCI6hH+RrCgogD+KNGMRFaS7UfPk/yFkCeLhPgYijpJiexQnaec0xxELgU=
=MzrT
-----END PGP SIGNATURE-----

--=-AoVoI7kH020S+4Bg1w+u--





Information forwarded to bug-guix@HIDDEN:
bug#54350; Package guix. Full text available.
Changed bug title to ''guix shell' skips profile collision checks' from 'Profile collisions are ignored, installing multiple versions of the same package is silently broken' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 54350 <at> debbugs.gnu.org:


Received: (at 54350) by debbugs.gnu.org; 15 Mar 2022 13:50:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 15 09:50:44 2022
Received: from localhost ([127.0.0.1]:47859 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nU7ZT-0000rK-Os
	for submit <at> debbugs.gnu.org; Tue, 15 Mar 2022 09:50:44 -0400
Received: from eggs.gnu.org ([209.51.188.92]:39118)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1nU7ZR-0000qt-4y
 for 54350 <at> debbugs.gnu.org; Tue, 15 Mar 2022 09:50:41 -0400
Received: from [2001:470:142:3::e] (port=37958 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1nU7ZL-0000pB-6M; Tue, 15 Mar 2022 09:50:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=DttyBePnLQuutd2IgNkU7VrJ2iuRVVdV0AYTSTlImtw=; b=m7qZjfot7NY2mDlScrIc
 ikRhzELPB4FnHVSZThWcaXy9BZbRcHl4PoCC+fPCCPgirwbGJio5cBzjS0ROUk+h65Neivg/LHjt5
 USvIjcJtZ1l/YwrIXHmS6s23iGULMYp5H1HLrEdaut54gXOhmfVSqyADrEJ8QUWf9iJ5FB2U9gOKA
 0F7BsCY0Wl4sWCz0FpgAVKFHX6W40AWbCiuGfxqXA9g+UupRsbGgiRFnUrNFElax+EmdLm6TAtF7d
 5jAZw+Y5S+PHXh5ahLhqP64xglD1V8azN8Vsye9K+7NhNPS4gPLUH9ZJ70ZNJYe5Y24YrNsg5jYfe
 7mn/15RBZHMxBw==;
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=38542 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1nU7ZK-00017s-PT; Tue, 15 Mar 2022 09:50:35 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Maxime Devos <maximedevos@HIDDEN>
Subject: Re: bug#54350: Profile collisions are ignored, installing multiple
 versions of the same package is silently broken
References: <afde4231155f7fe32e709dc0d3a4c12d71ea8011.camel@HIDDEN>
Date: Tue, 15 Mar 2022 14:50:32 +0100
In-Reply-To: <afde4231155f7fe32e709dc0d3a4c12d71ea8011.camel@HIDDEN>
 (Maxime Devos's message of "Sat, 12 Mar 2022 10:45:46 +0100")
Message-ID: <87zglrjpef.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 54350
Cc: 54350 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Maxime Devos <maximedevos@HIDDEN> skribis:

> $ guix shell --pure bash pango@HIDDEN pango@HIDDEN
> $ ~/.guix-profile/bin/ls -l $GUIX_ENVIRONMENT/lib/libpango*.so
>
> Result:
> [...]/lib/libpango-1.0.so -> [...]-pango-1.42.4/lib/libpango-1.0.so
> [...]/lib/libpangocairo-1.0.so -> [...]-pango-1.42.4/lib/libpangocairo-1.=
0.so
> [...]/lib/libpangoft2-1.0.so -> [...]-1.42.4/lib/libpangoft2-1.0.so
> [...]/lib/libpangoxft-1.0.so -> [...]-pango-1.42.4/lib/libpangoxft-1.0.so
>
> Question: how does this even work?  Aren't error messages about profile
> collisions a thing?

Unlike =E2=80=98guix package=E2=80=99, =E2=80=98guix environment/shell=E2=
=80=99 explicitly disables
collision checks=E2=80=94see #:allow-collisions? in environment.scm.

The rationale back then was that if you do:

  guix shell -D guile

then you likely end up with profile collisions, like so (I modified the
code to do #:allow-collisions? #f):

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix shell -D guile -n
guix shell: error: profile contains conflicting entries for bash-minimal
guix shell: error:   first entry: bash-minimal@HIDDEN /gnu/store/chfwin3a4qp=
1znnpsjbmydr2jbzk0d6y-bash-minimal-5.1.8
guix shell: error:   second entry: bash-minimal@HIDDEN /gnu/store/4y5m9lb8k3=
qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8
hint: You cannot have two different versions or variants of `bash-minimal' =
in the same profile.
--8<---------------cut here---------------end--------------->8---

These collisions are harmless but frequent in package development
environments, which is why =E2=80=98guix environment=E2=80=99 had to turn o=
ff those
checks (commit afd06f605bf88a796acefc7ed598b43879346a6b).

That=E2=80=99s a bit of a hack though.

What we could do, as a mitigation, is to enable collision checks unless
there=E2=80=99s at least one =E2=80=98-D=E2=80=99 flag.  We=E2=80=99d also =
need to introduce
=E2=80=98--allow-collisions=E2=80=99 for =E2=80=98guix shell=E2=80=99.

WDYT?

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#54350; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Mar 2022 14:34:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 12 09:34:52 2022
Received: from localhost ([127.0.0.1]:39412 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nT2pX-0002zE-Pz
	for submit <at> debbugs.gnu.org; Sat, 12 Mar 2022 09:34:52 -0500
Received: from lists.gnu.org ([209.51.188.17]:36230)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1nT2pV-0002z6-Ds
 for submit <at> debbugs.gnu.org; Sat, 12 Mar 2022 09:34:50 -0500
Received: from eggs.gnu.org ([209.51.188.92]:58168)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <liliana.prikler@HIDDEN>)
 id 1nT2pU-0005Rt-8r
 for bug-guix@HIDDEN; Sat, 12 Mar 2022 09:34:49 -0500
Received: from [2a00:1450:4864:20::644] (port=39771
 helo=mail-ej1-x644.google.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <liliana.prikler@HIDDEN>)
 id 1nT2pS-0006Nz-3k
 for bug-guix@HIDDEN; Sat, 12 Mar 2022 09:34:47 -0500
Received: by mail-ej1-x644.google.com with SMTP id dr20so24633786ejc.6
 for <bug-guix@HIDDEN>; Sat, 12 Mar 2022 06:34:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=message-id:subject:from:to:date:in-reply-to:references:user-agent
 :mime-version:content-transfer-encoding;
 bh=6yuDk5Sv7H6P0swWLCCycyNKiI2OCjEAuMcEFASW1RQ=;
 b=noHc/Phn3HrMNT5qGtux+koITRMEYBQo3cA5o++JecOyYWNjkcpaZYn103Zrq2KWwo
 hlWxIsH/meaR4JzfafjeRpIX9rRNrVmbkyKaMvIFdhjZxK394Qvv/MfkmrJ6HqZ0l7G5
 /6Rs+EnQEXLGo+o3+5pjQz1SSxoYgNmVYfWfEW9ubaumr+DDkSYhsLJdB9Gi96MJQsQV
 NJbMpaoPLc2yDdHhA8m+h5uaDOfOQxONwBmq4m2kVU/vbqmz7CZ9eDqh+57NV0mITtNO
 eqmB6AzIXZMPH3+1QAbgkAOw3eCN77wjlofzI9Hr8zzzMfXImAJHzFy/bBj3NDcwXk69
 fpeQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to
 :references:user-agent:mime-version:content-transfer-encoding;
 bh=6yuDk5Sv7H6P0swWLCCycyNKiI2OCjEAuMcEFASW1RQ=;
 b=ReyRRSTaL855ilS7KaochFVFbd6MQAudFbeXM0gEMfRLEzMOOkTmxH6wJpZXNj79JM
 kf9SuvqOPD4urxMkaRpf3mhcTA5o5J6U7y5Dcb/0FwD92AYdoN/OTuq5W3rk7xMtcHjc
 RS1kYpVPLk3jgZmIHVJeYM0bZJd6suStKqpj3DuOALBlnG8gHxwyPraUC/T5EmrXG6+Z
 g6uxAFv25RuORaOCBdehNXzo0QPBfk+a2PvuQLbUZdOoHLb4pX5yyLEU40Hz2QTHous9
 3LSRcMD7x3bqa93acygUyLKWHjsVr4e0vLZ3UUTGdEe7sEh5DGYzmhdt7BXRotuXEq3y
 weTQ==
X-Gm-Message-State: AOAM533CRcS5YNYge5s8J1HKdbsXtqo4JwOWpzngIQbXlkK0i3RLwafg
 LF8cNHn62NkpEkU1qtD1ImA=
X-Google-Smtp-Source: ABdhPJxnricismzKx3X4PEC/5N7Nje9lBRv5W+qWJPMxgHyFOpXl1eVWOZJSHqksLweU4Pbws1PnoQ==
X-Received: by 2002:a17:906:1e13:b0:6d1:5042:e8c1 with SMTP id
 g19-20020a1709061e1300b006d15042e8c1mr12841833ejj.354.1647095674149; 
 Sat, 12 Mar 2022 06:34:34 -0800 (PST)
Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 uz4-20020a170907118400b006dab1ea6e3asm4358194ejb.51.2022.03.12.06.34.33
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 12 Mar 2022 06:34:33 -0800 (PST)
Message-ID: <80793191d3eea8c53cec9a61515905327844c73e.camel@HIDDEN>
Subject: Re: Profile collisions are ignored, installing multiple versions of
 the same package is silently broken
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Maxime Devos <maximedevos@HIDDEN>, bug-guix@HIDDEN
Date: Sat, 12 Mar 2022 15:34:31 +0100
In-Reply-To: <afde4231155f7fe32e709dc0d3a4c12d71ea8011.camel@HIDDEN>
References: <afde4231155f7fe32e709dc0d3a4c12d71ea8011.camel@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.42.1 
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::644
 (failed)
Received-SPF: pass client-ip=2a00:1450:4864:20::644;
 envelope-from=liliana.prikler@HIDDEN; helo=mail-ej1-x644.google.com
X-Spam_score_int: -6
X-Spam_score: -0.7
X-Spam_bar: /
X-Spam_report: (-0.7 / 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, FREEMAIL_FROM=0.001,
 PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Am Samstag, dem 12.03.2022 um 10:45 +0100 schrieb Maxime Devos:
> Hi guix,
> 
> Try
> 
> $ guix shell --pure bash pango@HIDDEN pango@HIDDEN
> $ ~/.guix-profile/bin/ls -l $GUIX_ENVIRONMENT/lib/libpango*.so
> 
> Result:
> [...]/lib/libpango-1.0.so -> [...]-pango-1.42.4/lib/libpango-1.0.so
> [...]/lib/libpangocairo-1.0.so -> [...]-pango-
> 1.42.4/lib/libpangocairo-1.0.so
> [...]/lib/libpangoft2-1.0.so -> [...]-1.42.4/lib/libpangoft2-1.0.so
> [...]/lib/libpangoxft-1.0.so -> [...]-pango-1.42.4/lib/libpangoxft-
> 1.0.so
> 
> Question: how does this even work?  Aren't error messages about
> profile collisions a thing? 
They ought to be, but perhaps these are only checked for propagated
packages, not for explicitly specified ones.  Would still be weird, if
you e.g. put pango@HIDDEN and something propagating pango@HIDDEN together,
it ought to error.  Perhaps an oversight? 

> Another question: if this use case was supported, shouldn't it point
> to the newer pango instead of the older pango?
union-build implicitly takes the first file it finds -- this is
actually sane, but sadly undocumented behaviour.  In other words, if
you specify pango@HIDDEN first, it should be the one being picked.

Cheers




Information forwarded to bug-guix@HIDDEN:
bug#54350; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Mar 2022 09:45:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 12 04:45:54 2022
Received: from localhost ([127.0.0.1]:39089 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nSyJu-0001nJ-IP
	for submit <at> debbugs.gnu.org; Sat, 12 Mar 2022 04:45:54 -0500
Received: from lists.gnu.org ([209.51.188.17]:38056)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1nSyJs-0001nA-EP
 for submit <at> debbugs.gnu.org; Sat, 12 Mar 2022 04:45:52 -0500
Received: from eggs.gnu.org ([209.51.188.92]:55422)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>)
 id 1nSyJr-00076T-Nb
 for bug-guix@HIDDEN; Sat, 12 Mar 2022 04:45:51 -0500
Received: from [2a02:1800:110:4::f00:18] (port=44018
 helo=michel.telenet-ops.be)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>)
 id 1nSyJq-00024u-0T
 for bug-guix@HIDDEN; Sat, 12 Mar 2022 04:45:51 -0500
Received: from [172.20.10.9] ([188.189.165.207])
 by michel.telenet-ops.be with bizsmtp
 id 5Mln270024UoT8k06Mlnys; Sat, 12 Mar 2022 10:45:47 +0100
Message-ID: <afde4231155f7fe32e709dc0d3a4c12d71ea8011.camel@HIDDEN>
Subject: Profile collisions are ignored, installing multiple versions of the
 same package is silently broken
From: Maxime Devos <maximedevos@HIDDEN>
To: bug-guix@HIDDEN
Date: Sat, 12 Mar 2022 10:45:46 +0100
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-8aV5cUgsA3QU21krpil9"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1647078348; bh=RN5jQHnwmDl0tMwqDvDjzEtvlFS80yWvH6GKB7tPAzo=;
 h=Subject:From:To:Date;
 b=h017Z5X+ndphoglUlVGsigkLu6/9p2wnbqWKV5PFHmhkQah6CxsHgB7DAFIKYYAyd
 4y4sF3Tx5krmpLut/RYRZnjWf9q6Ew+LFkEI9fKaAu+CW8JooWuuHoZW0qyz6+TJBO
 wY5hwrA+Y/wWmMZIqCtEx9ZUNjRymqLnUl8CO8qwumM8tavCnA+MUydpSy/LtIbTmN
 BxTr6z4KD1SCB5AHDGDBD28n+C6rNufaIdafd1vPjcAY7AHJgyqAs/txgq3mRWgMFh
 yrgG8nvgBGtWHT9ou3Mv7ELGvx3kYMoS2iC957/73kiEx52MwSvjFPzKJVd4cxoGNB
 03mhLsIMF+bXg==
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:1800:110:4::f00:18
 (failed)
Received-SPF: pass client-ip=2a02:1800:110:4::f00:18;
 envelope-from=maximedevos@HIDDEN; helo=michel.telenet-ops.be
X-Spam_score_int: -19
X-Spam_score: -2.0
X-Spam_bar: --
X-Spam_report: (-2.0 / 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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


--=-8aV5cUgsA3QU21krpil9
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi guix,

Try

$ guix shell --pure bash pango@HIDDEN pango@HIDDEN
$ ~/.guix-profile/bin/ls -l $GUIX_ENVIRONMENT/lib/libpango*.so

Result:
[...]/lib/libpango-1.0.so -> [...]-pango-1.42.4/lib/libpango-1.0.so
[...]/lib/libpangocairo-1.0.so -> [...]-pango-1.42.4/lib/libpangocairo-1.0.=
so
[...]/lib/libpangoft2-1.0.so -> [...]-1.42.4/lib/libpangoft2-1.0.so
[...]/lib/libpangoxft-1.0.so -> [...]-pango-1.42.4/lib/libpangoxft-1.0.so

Question: how does this even work?  Aren't error messages about profile
collisions a thing?  Another question: if this use case was supported,
shouldn't it point to the newer pango instead of the older pango?

Greetings,
Maxime.

--=-8aV5cUgsA3QU21krpil9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYixryhccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7scMAP4m3Lc0IrXnN283dLcFjqCQLEKj
kOFxW92uoNb34Izj0wEA5SlU+JT7Dmb2aklTtFWmYyjRmErfv3nSeiS5J6Adsgc=
=9KfV
-----END PGP SIGNATURE-----

--=-8aV5cUgsA3QU21krpil9--





Acknowledgement sent to Maxime Devos <maximedevos@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#54350; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 20 Jan 2024 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.