From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nic Ferrier Newsgroups: gmane.emacs.devel Subject: package.el can't install a circular depend and it should be able to. Date: Fri, 04 Jan 2013 00:24:55 +0000 Message-ID: <87fw2h94mg.fsf@ferrier.me.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1357259110 3488 80.91.229.3 (4 Jan 2013 00:25:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jan 2013 00:25:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 04 01:25:26 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 1Tqv6C-0001Il-A3 for ged-emacs-devel@m.gmane.org; Fri, 04 Jan 2013 01:25:24 +0100 Original-Received: from localhost ([::1]:59235 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tqv5x-00055L-3c for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2013 19:25:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tqv5s-00050u-HZ for emacs-devel@gnu.org; Thu, 03 Jan 2013 19:25:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tqv5o-0000sb-NE for emacs-devel@gnu.org; Thu, 03 Jan 2013 19:25:04 -0500 Original-Received: from static.17.66.46.78.clients.your-server.de ([78.46.66.17]:48038 helo=po1.ferrier.me.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tqv5o-0000pu-H7 for emacs-devel@gnu.org; Thu, 03 Jan 2013 19:25:00 -0500 Original-Received: from nferrier (140.35.155.90.in-addr.arpa [90.155.35.140]) by po1.ferrier.me.uk (Postfix) with ESMTP id C174DAC0059; Fri, 4 Jan 2013 01:27:50 +0100 (CET) Original-Received: from nferrier (localhost [127.0.0.1]) by nferrier (Postfix) with ESMTP id B320A1600B7; Fri, 4 Jan 2013 00:24:55 +0000 (GMT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 78.46.66.17 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:156067 Archived-At: I have a package called web which implements an HTTP client. web has a test package called web-test that depends on web AND on elnode (my HTTP webserver). Elnode depends on web. So here is the graph: web-test -> web -> elnode -> web The trouble is package.el can't install this. It fails to install Elnode because of the dependancy on web. Why it does this I'm not sure. In my view it should work this way: * satisfy the dependancy graph, keeping packages it has already encountered in some sort of table so it knows it has them already * load the packages in some sensible order to satisfy the dependancy graph Thoughts? Nic Ferrier teamchat.net, elnode, etc...