From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#30710: guix graph gives duplicate nodes Date: Mon, 05 Mar 2018 18:19:12 +0100 Message-ID: <87d10i8mpb.fsf@gnu.org> References: <86fb9895-768a-bea0-154c-070861c0bb1d@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1estmR-0002YF-PZ for bug-guix@gnu.org; Mon, 05 Mar 2018 12:20:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1estmM-0000e4-2j for bug-guix@gnu.org; Mon, 05 Mar 2018 12:20:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:38256) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1estmL-0000dj-V1 for bug-guix@gnu.org; Mon, 05 Mar 2018 12:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1estmL-0004cg-P2 for bug-guix@gnu.org; Mon, 05 Mar 2018 12:20:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <86fb9895-768a-bea0-154c-070861c0bb1d@crazy-compilers.com> (Hartmut Goebel's message of "Mon, 5 Mar 2018 10:37:39 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Hartmut Goebel Cc: 30710@debbugs.gnu.org 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.