X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:subject:mime-version:content-type
	:content-transfer-encoding:date:from:in-reply-to:references
	:message-id; q=dns; s=default; b=BmgMT3SsQKLdn7ZB7Qzgh2cFLPK1r5w
	ZBWVD77D2rbPX+Lfr2VjibLjLJxBBzZ9w2sWl3dSHyBTSmR/FsN4Q7WgYfTzltbs
	ro/YezoCCpEsCrM3NNx6/puTYqclviJoOlEDwlGQoCU2MXRCLimRFdlnt2pgLub9
	+Kw69auyOSAc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:subject:mime-version:content-type
	:content-transfer-encoding:date:from:in-reply-to:references
	:message-id; s=default; bh=Qii+QhEmDOIMZMZGGFIw5qQ/i0g=; b=UvrjC
	1+NXF+U/BWMqQNzaKNNxHcZ8QIsUNAgiMzZj4z2N4rppqtIUvZlnusJm1KNB275q
	R2J/UsM8tDy7PZZqmhKeisMkD5y/3J86vxMhh+w84VgAdUnJUW4JIxWqOPaBX7dB
	CNkH7Zk4hvVUSStqlZTh0jJ1BNczg0CX2asPro=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
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
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
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
Date: Wed, 02 May 2018 06:30:55 -0700
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
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w42DVJ4K021314

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?
> 
> i already described it: when 2 things depend on each other in this way, 
> that is
> an error:
> 
> http://wikipedia.org/wiki/Circular_dependency

Nowhere does this page substantiate what you're saying; it doesn't say 
that the existence of a circular dependency is /ipso facto/ a form of 
error.

If A cannot be used unless B is also installed, and if B cannot be used 
unless A is also installed, then there is a cycle in the dependency 
graph. The packaging system must express the cycle (and handle it). This 
means that if a user selects A for installation, it must be 
automatically accompanied by an installation of B, and vice versa.

If you say that the dependency which is stated in the package system is 
incorrect, then you have to prove that either A or B can be usefully 
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 
by making some code changes in A or B, or both (and only then changing 
the dependency expressions at the package level). You can't simply say, 
"I don't like circular dependencies; I will break any cycles in the 
package system dependency definitions, whether or not they reflect the 
underlying packages".

The only situation in which that would be justified would be that the 
package system is too weak to deal with circular dependencies; it gets 
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


