From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 05 12:19:15 2018 Received: (at 30710) by debbugs.gnu.org; 5 Mar 2018 17:19:15 +0000 Received: from localhost ([127.0.0.1]:46153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1estla-0004bW-Tl for submit@debbugs.gnu.org; Mon, 05 Mar 2018 12:19:15 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:39674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1estla-0004bP-5K for 30710@debbugs.gnu.org; Mon, 05 Mar 2018 12:19:14 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id A523F10D8B; Mon, 5 Mar 2018 18:19:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p2b40ZPs7fle; Mon, 5 Mar 2018 18:19:13 +0100 (CET) Received: from ribbon (unknown [193.50.110.134]) by hera.aquilenet.fr (Postfix) with ESMTPSA id E983110638; Mon, 5 Mar 2018 18:19:12 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Hartmut Goebel Subject: Re: bug#30710: guix graph gives duplicate nodes References: <86fb9895-768a-bea0-154c-070861c0bb1d@crazy-compilers.com> Date: Mon, 05 Mar 2018 18:19:12 +0100 In-Reply-To: <86fb9895-768a-bea0-154c-070861c0bb1d@crazy-compilers.com> (Hartmut Goebel's message of "Mon, 5 Mar 2018 10:37:39 +0100") Message-ID: <87d10i8mpb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30710 Cc: 30710@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hello, Hartmut Goebel skribis: > "guix graph" delivers the same package with different IDs. Here is an > example with a node delivered twice. (For plasma-workspace, which I'm > working on, this package was even listed four times). > > $ ./pre-inst-env guix graph -t package -b graphviz qtbase | grep > autoconf-wrapper > =C2=A0 "59511552" [label =3D "autoconf-wrapper-2.69", shape =3D box, font= name =3D > Helvetica]; > =C2=A0 "59511744" [label =3D "autoconf-wrapper-2.69", shape =3D box, font= name =3D > Helvetica]; This is expected. Strictly speaking, we=E2=80=99re talking about two diffe= rent package objects, hence the different IDs. Now, there are cases were we have multiple package objects mapping to a single derivation. That=E2=80=99s OK. You can use =E2=80=9Cguix graph -t = bag=E2=80=9D or similar if you want nodes that correspond to derivations. HTH! Ludo=E2=80=99.