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 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: Wed, 16 Mar 2022 20:45:02 UTC

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