From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aFrcLt0/nF+UIAAA0tVLHw (envelope-from ) for ; Fri, 30 Oct 2020 16:31:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iPmoKt0/nF+sYgAAbx9fmQ (envelope-from ) for ; Fri, 30 Oct 2020 16:31:25 +0000 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 54278940776 for ; Fri, 30 Oct 2020 16:31:25 +0000 (UTC) Received: from localhost ([::1]:53428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYXJE-0000pO-5o for larch@yhetil.org; Fri, 30 Oct 2020 12:31:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYXIs-0000ok-R2 for bug-guix@gnu.org; Fri, 30 Oct 2020 12:31:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47943) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYXIr-0001UK-UU for bug-guix@gnu.org; Fri, 30 Oct 2020 12:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYXIr-0007xY-RO for bug-guix@gnu.org; Fri, 30 Oct 2020 12:31:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#44327: `guix install` doesn't warn about collison in profile Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 30 Oct 2020 16:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44327 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 44327-submit@debbugs.gnu.org id=B44327.160407544529672 (code B ref 44327); Fri, 30 Oct 2020 16:31:01 +0000 Received: (at 44327) by debbugs.gnu.org; 30 Oct 2020 16:30:45 +0000 Received: from localhost ([127.0.0.1]:59489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYXIb-0007iE-II for submit@debbugs.gnu.org; Fri, 30 Oct 2020 12:30:45 -0400 Received: from mail-qk1-f174.google.com ([209.85.222.174]:37649) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYXIa-0007cV-NM for 44327@debbugs.gnu.org; Fri, 30 Oct 2020 12:30:45 -0400 Received: by mail-qk1-f174.google.com with SMTP id z6so5378527qkz.4 for <44327@debbugs.gnu.org>; Fri, 30 Oct 2020 09:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=3L/nbYdkO4WlRaQd8PnmfNddXls63Bn9MCsy/PjCSlU=; b=jleXsmJbCt97lfCJ2ZbT0roNzx7su8NZ5pweQuWYpFAED6b6rIbzqWBMrPVjrjaHmz 4eu/YFgSeAlAzX8aDBEoTl1L7MfZlAe2NhBd7P/6a4LoO39L36qnQmXfUwEkU5xgItkK Los/i/HoUz9H1gS7E5NGZyfAobp8VuaOwLONAO0E0mD+UJ/PVhUfP4140TwMflBSp90K RBbP9+EjO55mdCnVV4ey/2DgDImsky0NVzz1TXwDB4qcQhTyq7yFAuufRylIJ9YrJr1a thjkmHbjwqMutMVj5ruFp1e+QMgj3IBPqpVYRZQwWaXGCsKpjkN4oHBvhfpo1W8wvhGA RKsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=3L/nbYdkO4WlRaQd8PnmfNddXls63Bn9MCsy/PjCSlU=; b=skOWNt1sl8ubk270cZE/+jUQMEeCk1xGvdZ8lJIqHMPUz9VWU7tw5FUap8kWJ2pZJh Vcr7xfP0jBX4BAiFSjIonIr3CnCPkStw9M7dsc3UzozjqAlSudFfGuJzHAX3at/GU6kz J9YNy+vwfgl6NX7EHUsJlF+QlOkRZoHiW4AXTIfGJAYTxilALi6xafS3KJ/l9WuZLmlv JU1rBIpnzXsV1bs0p3OQ6XlOl5yjFL/auF+MW4ghIDF9oZ4caANT6uVdw/Ba6lag8by/ ejdrEIHfg1+MkJkhpYKuOdToERfQ1CsV6kJjXjj8XIxExBfqb9bGhNnhsGlZa74VWPpl mPTQ== X-Gm-Message-State: AOAM533t7FfxgKWZfqZ4LwNTN1ZpKP0dAX3J2rI154LN2/9BEf0rJKgY hA0q4leGEvz1W20BWTYfCrj8i3cdgRxAU7fIjKs= X-Google-Smtp-Source: ABdhPJx4Lqs38fb7uTfzNMOyQSjQqaRua8LxXZyj/00kfgE/IrneHaoH9Nj7jtubrdXRYue8qQYfbZ3q0IItjp8ti1k= X-Received: by 2002:a37:a84e:: with SMTP id r75mr3045678qke.232.1604075439134; Fri, 30 Oct 2020 09:30:39 -0700 (PDT) MIME-Version: 1.0 References: <86v9esc691.fsf@163.com> <87blgjy9ea.fsf@gnu.org> In-Reply-To: <87blgjy9ea.fsf@gnu.org> From: zimoun Date: Fri, 30 Oct 2020 17:30:27 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 44327@debbugs.gnu.org, Zhu Zihao Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=jleXsmJb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: G5hvujTK/gTb On Fri, 30 Oct 2020 at 17:20, Ludovic Court=C3=A8s wrote: > Currently, =E2=80=98guix install=E2=80=99 errors out if you try to instal= l two > same-named packages with a different version number or a different store > file name (typically via propagated inputs). > > Here, =E2=80=98emacs=E2=80=99 and =E2=80=98emacs-xwidgets=E2=80=99 have d= ifferent names, so it doesn=E2=80=99t > complain. > > Perhaps we should offer a way to annotate packages as conflicting with > one another? Why? The solution seems to check the path names. Here, the 2 packages provide 'bin/emacs'; which is the conflict. However, this could be implemented with care otherwise it will slow down. I have not check 'union-build' but maybe it is already the case. :-) All the best, simon