From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wAn1GP2vLGI5pAAAgWs5BA (envelope-from ) for ; Sat, 12 Mar 2022 15:36:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gMJ+Ef2vLGIVdQAAG6o9tA (envelope-from ) for ; Sat, 12 Mar 2022 15:36:45 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EE5A43B509 for ; Sat, 12 Mar 2022 15:36:44 +0100 (CET) Received: from localhost ([::1]:47220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nT2rL-0006Yx-Qj for larch@yhetil.org; Sat, 12 Mar 2022 09:36:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nT2pi-0005Ws-Rc for bug-guix@gnu.org; Sat, 12 Mar 2022 09:35:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nT2pi-0006Qd-G3 for bug-guix@gnu.org; Sat, 12 Mar 2022 09:35:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nT2pi-0002zf-5F for bug-guix@gnu.org; Sat, 12 Mar 2022 09:35:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#54350: Profile collisions are ignored, installing multiple versions of the same package is silently broken Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 12 Mar 2022 14:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54350 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: maximedevos@telenet.be, 54350@debbugs.gnu.org X-Debbugs-Original-To: Maxime Devos , bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164709569211488 (code B ref -1); Sat, 12 Mar 2022 14:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Mar 2022 14:34:52 +0000 Received: from localhost ([127.0.0.1]:39412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) 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 ) 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 ) 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 ) 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 ; 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> From: Liliana Marie Prikler Date: Sat, 12 Mar 2022 15:34:31 +0100 In-Reply-To: References: 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647095805; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6yuDk5Sv7H6P0swWLCCycyNKiI2OCjEAuMcEFASW1RQ=; b=S4NLFRswdOCvzzrkfIJWMJz3xON0mrQ7K9cJgtrQDU8VokjzCrWgUlX7wThzuyzuXkXwgg cGg8lT64r3AJ5L+1gnFd6Ibo0+HrAymP+irx4x89Btlg9QmF1ZJcyUHAOOUA2tbVEkUiab JDIlm69VpBXlMkPOUqo+0sG8gUr4aWVbJ9nprCETYZv0gqXcxZQ7F4nBZy2QsMrPtH3vyL tMlSjlH99E68FUJ9E6CoABSP2MIR0cX8Cw4aBU17TmNNs85R2j408Ykzqb4U2lseu8Skzr 5YwRvX1HaaQ+K6j/sl7tXICRks/3vdkYXlFIXEAgOqe5fKsK5aPEuLYqkbinqg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647095805; a=rsa-sha256; cv=none; b=Oalhq1+oAWa41Zlc21JnwhHuyk9q7IEEXd1aA3fLGX/cBcqupezqgdBpuuK7CZEhrUYFfp eT+m5FeYoVpHtH+eTPI4q9xElmdLQ0cEJ9QRZOcLi3cR7OIlGLzVzNWUqAJ2/CCnro/0dM Y9JrV/TMSjgoouu00gm/fWiNGQRFZVWUHVyOs3zE+TeNybOCkmpU7uHeUeRuntaJwxFufS +iuQzAT7TZpVnSou4KDahKQw1cdX2Le8BeroACsKO7ZqbsUVkFFif8PiTGlDyn6KhyJsqw OI87YYJzO9DIh3YcHSuCWNHt1QtDOkfBoLQCGlEtX7IjXR5Pe/YCPHDD/j9ISg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="noHc/Phn"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.61 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="noHc/Phn"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EE5A43B509 X-Spam-Score: 4.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: Dtk914+swXbk 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