GNU bug report logs

#54350 'guix shell' skips profile collision checks

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #8 received at submit@debbugs.gnu.org (full text, mbox, reply):

Received: (at submit) by debbugs.gnu.org; 12 Mar 2022 14:34:52 +0000
From debbugs-submit-bounces@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@debbugs.gnu.org>)
	id 1nT2pX-0002zE-Pz
	for submit@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@gmail.com>) id 1nT2pV-0002z6-Ds
 for submit@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@gmail.com>)
 id 1nT2pU-0005Rt-8r
 for bug-guix@gnu.org; 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@gmail.com>)
 id 1nT2pS-0006Nz-3k
 for bug-guix@gnu.org; Sat, 12 Mar 2022 09:34:47 -0500
Received: by mail-ej1-x644.google.com with SMTP id dr20so24633786ejc.6
 for <bug-guix@gnu.org>; 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@gmail.com>
Subject: Re: Profile collisions are ignored, installing multiple versions of
 the same package is silently broken
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Maxime Devos <maximedevos@telenet.be>, bug-guix@gnu.org
Date: Sat, 12 Mar 2022 15:34:31 +0100
In-Reply-To: <afde4231155f7fe32e709dc0d3a4c12d71ea8011.camel@telenet.be>
References: <afde4231155f7fe32e709dc0d3a4c12d71ea8011.camel@telenet.be>
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@gmail.com; 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@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@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@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@1.42 pango@1.48
> $ ~/.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@1.48 and something propagating pango@1.42 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@1.48 first, it should be the one being picked.

Cheers




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Dec 22 10:56:28 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.