From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88743 invoked by alias); 2 May 2018 13:31:05 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 88646 invoked by uid 89); 2 May 2018 13:31:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FROM_STARTS_WITH_NUMS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=unwanted, nowhere, Hx-spam-relays-external:ESMTPA X-HELO: smtp-out-no.shaw.ca Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 02 May 2018 13:30:59 +0000 Received: from kylheku.com ([70.79.163.252]) by shaw.ca with ESMTPA id DrqRfTQPYuYopDrqSfgzoY; Wed, 02 May 2018 07:30:57 -0600 X-Authority-Analysis: v=2.3 cv=GopsBH9C c=1 sm=1 tr=0 a=95A0EdhkF1LMGt25d7h1IQ==:117 a=95A0EdhkF1LMGt25d7h1IQ==:17 a=IkcTkHD0fZMA:10 a=SMorJkV_YP8A:10 a=VUJBJC2UJ8kA:10 a=8pif782wAAAA:8 a=xw7hswbC9LhQ16zVUC4A:9 a=QEXdDO2ut3YA:10 Received: from www-data by kylheku.com with local (Exim 4.72) (envelope-from <920-082-4242@kylheku.com>) id 1fDrqR-0007dS-EO for cygwin@cygwin.com; Wed, 02 May 2018 06:30:55 -0700 To: cygwin@cygwin.com Subject: Re: Circular dependency with =?UTF-8?Q?mingw=36=34-x=38=36=5F=36?= =?UTF-8?Q?=34-runtime?= X-PHP-Originating-Script: 501:rcmail.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Wed, 02 May 2018 13:31:00 -0000 From: Kaz Kylheku <920-082-4242@kylheku.com> In-Reply-To: <5ae8f950.1c69fb81.5f000.63ab@mx.google.com> References: <9bbe5b31-7959-4b51-6319-efa82686c125@gmail.com> <5ae8f950.1c69fb81.5f000.63ab@mx.google.com> Message-ID: <989579ad6aa1626381ed0023db89012b@mail.kylheku.com> X-Sender: 920-082-4242@kylheku.com User-Agent: Roundcube Webmail/0.9.2 X-CMAE-Envelope: MS4wfEhaiIbv6A4wvx/45fKDxr6mOfQAfYlEIkU4+sUKBa1OdjBpvsIyCxBHixsWZPtTq1CQn3vW5YfLNyQx6k9HQ1RgAHl4XoAU5Kmh4fQlGbYljoSfNa4z aP51vR8sQ3T7uqVYvcrgW4Hvzflt258HABtGrUvuyjanRV7/kCPDMWMZ X-IsSubscribed: yes X-SW-Source: 2018-05/txt/msg00015.txt.bz2 On 2018-05-01 16:33, Steven Penny wrote: > On Tue, 1 May 2018 13:44:45, JonY wrote: >> What is the actual problem you are facing? >=20 > i already described it: when 2 things depend on each other in this way,=20 > that is > an error: >=20 > http://wikipedia.org/wiki/Circular_dependency Nowhere does this page substantiate what you're saying; it doesn't say=20 that the existence of a circular dependency is /ipso facto/ a form of=20 error. If A cannot be used unless B is also installed, and if B cannot be used=20 unless A is also installed, then there is a cycle in the dependency=20 graph. The packaging system must express the cycle (and handle it). This=20 means that if a user selects A for installation, it must be=20 automatically accompanied by an installation of B, and vice versa. If you say that the dependency which is stated in the package system is=20 incorrect, then you have to prove that either A or B can be usefully=20 installed by itself. (Or even both, in which case they are independent.) If the circular dependency is right, but unwanted, it can only be broken=20 by making some code changes in A or B, or both (and only then changing=20 the dependency expressions at the package level). You can't simply say,=20 "I don't like circular dependencies; I will break any cycles in the=20 package system dependency definitions, whether or not they reflect the=20 underlying packages". The only situation in which that would be justified would be that the=20 package system is too weak to deal with circular dependencies; it gets=20 into an infinite loop or whatever, so cycles must be avoided. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple