From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: bug#30710: guix graph gives duplicate nodes Date: Tue, 6 Mar 2018 21:28:31 +0100 Message-ID: References: <86fb9895-768a-bea0-154c-070861c0bb1d@crazy-compilers.com> <87d10i8mpb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etJCr-0008Ok-E9 for bug-guix@gnu.org; Tue, 06 Mar 2018 15:29:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1etJCo-0004aM-8z for bug-guix@gnu.org; Tue, 06 Mar 2018 15:29:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:40164) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1etJCo-0004aG-5D for bug-guix@gnu.org; Tue, 06 Mar 2018 15:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1etJCn-0003vk-Su for bug-guix@gnu.org; Tue, 06 Mar 2018 15:29:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87d10i8mpb.fsf@gnu.org> Content-Language: en-US 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30710@debbugs.gnu.org Hi, > This is expected. Strictly speaking, we’re talking about two different > package objects, hence the different IDs. I wonder a) whether it is useful to have different graph nodes for the same package. This is about usability of the resulting graph, esp. since this is the default graph output format. Does it help *users* for their analysis? Or is this some *expert* insight? b) how there can be different package objects for the same package To my understanding, e.g. (gnu packages base) is loaded once, defining package object abcd once and assigning it to a variable. All packages referring to abcd use the some package object. So there should be only *one* package object. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |