From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: package.el can't install a circular depend and it should be able to. Date: Fri, 04 Jan 2013 07:26:06 -0700 Message-ID: <8738yh10u9.fsf@fleche.redhat.com> References: <87fw2h94mg.fsf@ferrier.me.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1357309579 9483 80.91.229.3 (4 Jan 2013 14:26:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jan 2013 14:26:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Nic Ferrier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 04 15:26:36 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tr8EG-0008Pw-5g for ged-emacs-devel@m.gmane.org; Fri, 04 Jan 2013 15:26:36 +0100 Original-Received: from localhost ([::1]:55957 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tr8E0-0007Y4-SY for ged-emacs-devel@m.gmane.org; Fri, 04 Jan 2013 09:26:20 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tr8Dy-0007Xo-7D for emacs-devel@gnu.org; Fri, 04 Jan 2013 09:26:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tr8Ds-0005Nd-Fw for emacs-devel@gnu.org; Fri, 04 Jan 2013 09:26:18 -0500 Original-Received: from mx1.redhat.com ([209.132.183.28]:36375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tr8Ds-0005NE-8R for emacs-devel@gnu.org; Fri, 04 Jan 2013 09:26:12 -0500 Original-Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r04EQ8V1031949 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 4 Jan 2013 09:26:09 -0500 Original-Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r04EQ6jI023053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 4 Jan 2013 09:26:07 -0500 X-Attribution: Tom In-Reply-To: <87fw2h94mg.fsf@ferrier.me.uk> (Nic Ferrier's message of "Fri, 04 Jan 2013 00:24:55 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.91 (gnu/linux) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:156079 Archived-At: Nic> Why it does this I'm not sure. In my view it should work this way: Nic> * satisfy the dependancy graph, keeping packages it has already Nic> encountered in some sort of table so it knows it has them already Nic> * load the packages in some sensible order to satisfy the dependancy Nic> graph Nic> Thoughts? It was intended to do a topological sort of the graph and activate packages from the bottom up. If this isn't working then there is a bug. A real circular graph isn't supported. I guess it could be, though to me it seems like this would have to be some kind of packaging confusion. Tom