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, 12 Mar 2018 15:27:19 +0100 Message-ID: <87a7vdpdx4.fsf@gnu.org> References: <86fb9895-768a-bea0-154c-070861c0bb1d@crazy-compilers.com> <87d10i8mpb.fsf@gnu.org> <87efkvsylg.fsf@gnu.org> <20180309110917.79b14a36@alma-ubu> <87d10cyhwx.fsf@gnu.org> <20180310111335.53c3bb1b@alma-ubu> <10e30cb2-d65b-b9b7-dd53-a8ea5adb1f09@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]:38514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evOQo-0006QW-E6 for bug-guix@gnu.org; Mon, 12 Mar 2018 10:28:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evOQk-00045M-DU for bug-guix@gnu.org; Mon, 12 Mar 2018 10:28:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49133) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1evOQk-00044I-AH for bug-guix@gnu.org; Mon, 12 Mar 2018 10:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1evOQk-0001TG-0e for bug-guix@gnu.org; Mon, 12 Mar 2018 10:28:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <10e30cb2-d65b-b9b7-dd53-a8ea5adb1f09@crazy-compilers.com> (Hartmut Goebel's message of "Sat, 10 Mar 2018 17:31:30 +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 <30710@debbugs.gnu.org> Hello, Hartmut Goebel skribis: > On Fri, 09 Mar 2018 23:59:26 +0100 ludo@gnu.org (Ludovic Court=C3=A8s) wr= ote: >> >>> Good catch! I implemented what you suggest above in commit >>> 464f5447396fcec9b43f7eab71d5d42b522a157f. > > Thanks, this solved the issue only partially: On my "kde-plasma" branch: > > $ ./pre-inst-env guix graph plasma-workspace | grep autoconf > =C2=A0 "133094208" [label =3D "autoconf-wrapper-2.69", shape =3D box, fon= tname =3D > Helvetica]; > =C2=A0 "133094976" [label =3D "autoconf-2.69", shape =3D box, fontname = =3D Helvetica]; > =C2=A0 "152772352" [label =3D "autoconf-wrapper-2.69", shape =3D box, fon= tname =3D > Helvetica]; > =C2=A0 "152420544" [label =3D "autoconf-2.69", shape =3D box, fontname = =3D Helvetica]; > > There are other packages, which are duplicate but don't have a factory > AFAIK: > > $ ./pre-inst-env guix graph plasma-workspace | grep kbus > =C2=A0 "130257472" [label =3D "kdbusaddons-5.42.0", shape =3D box, fontna= me =3D > Helvetica]; > =C2=A0 "148171200" [label =3D "kdbusaddons-5.42.0", shape =3D box, fontna= me =3D > Helvetica]; That stems from the use of =E2=80=98package-mapping=E2=80=99 or =E2=80=98package-input-rewriting=E2=80=99 (maybe via =E2=80=98package-with-= python2=E2=80=99), which can create distinct package objects mapping to the same derivation. I don=E2=80=99t have a good solution here. Thanks, Ludo=E2=80=99.