X-Recipient: archive-cygwin AT delorie DOT 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:subject:to:references:reply-to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=is3eLGUV38bArfc7 HkpVsmnSKqIwCxacS5idmieqMjD8XUoBfQEMN9FP4vUdpAEK2IVV2myOMkuUhD8v jSvkH9kNBrWAOcDjnvEQiUQ6NY7ptYj1cYdif3ppb2DDiW0tSmduQH8VixOtNZTD sCGgnHw8vYV+eybVOVSI7hxuh1I= 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:subject:to:references:reply-to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=UhdBP/rfQo0DCKWnNskJKR WDpeY=; b=R/y8FO4j/qn3/qGHBq/eDS6HN2NoZZELRmtD1YDtbbvt0JD3UC5PvN r5/Vo7nt/7iACsqK+mIC2trJpcInShm+lgm03p2s7ERiphZxwD39lLm56zWq7Blu 24VRqOAolnZYOxQoLmtpKPPBO7BzcVxTna5TVRIcxjLQlh2Y4+H8o= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=penny, Penny, Hx-languages-length:890, Okay X-HELO: mout.gmx.net Subject: Re: Dependency issues in setup.ini. To: cygwin AT cygwin DOT com References: <505405e4-5a2f-8d6b-f012-404bd7d69009 AT gmx DOT com> <59cecb88 DOT c1d4ca0a DOT 53569 DOT 24bf AT mx DOT google DOT com> Reply-To: cygwin AT cygwin DOT com From: "Sam Edge (Cygwin)" Message-ID: <64ef1bd6-8db5-f540-a922-ea4d69822b06@gmx.com> Date: Sat, 30 Sep 2017 08:57:49 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <59cecb88.c1d4ca0a.53569.24bf@mx.google.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1;V01:K0:X4A2BvDdkVQ=:Ctic12t4LLQte5QqpnE7rV 0gWzLMuoJXCOjIntgoAA4x6OEBPkRT1V/wchMGaOlW9bAL0hkXI990b9ElRk7CKUT3hbezIxR AzuJCg280QwG3NyqluoHDE6Wv/IGUZQHSUlUlqeZT5yx77oSLUjtc2/zlHDYKKnBn2EJVAHdO MEcEJIQxGhk1+Mhw+ALJzC0RsUZP/Nx4jr2DU6wny4bPpCObVN/AGB30VBBVR1WbCOhusklX2 crfR49pqXghIUR/PgDYDHLBelIvOtnWcpIx+NyR1GV0G5SL05JswjF9MiBRHEunNnRvxoleoh TxvV1g4+k3NPtAYwh62xzOMT6dyhqfLWGgfwkJrCOVQ8gq5NFjLnXw8vVOpnSw1ABcyAXjyRn R+f3ufrmk6fxrMVd0yMRVnT+wQjxvK14rBYq+h6PGneoBqa2DEwUVzTO85e7/oNK0oON73JBI SFxcrcKe8vRvxh4qEtjTJG+EhYyJs2WPrIDFlc7vd7zUhoVCju3sBZYsHs6wP6FiRBbkQCcT1 h0op0/h6AS1aJI57QAxt77eKelU92tCVR746u7ZbpRvEyCfvly/MJnOwNMWUE/m9/X5tgfLKn 4MyD192Baw1QDwSx4v9Hk4QuBqodSw3y23O+7AM7C6dOG8Wii6VmgNh5hPyL+IPrS7qz5XGXv xEPQY/YU34FewO3q03Ok3sRzT6l+UnPXaT5oRaKmyeCxStA3PuMFQeSPGGTwVCeIlzjme0eLs qVamF9j3Oe4P8iMKPm46dn/ozSpujadfv917e3GGEuZNV3r5OPFiVcpVOjv8KOO+ClYOg70zR JaadKvmqoxUrWrCGHYt9AsIfkkdEKyJoOqKRWwHakar50j/nnE= On 29/09/2017 23:39, Steven Penny wrote: > On Fri, 29 Sep 2017 21:16:17, "Sam Edge (Cygwin)" wrote: >> For example we have lots of dependency loops in the 'requires' fields in >> setup.ini - even to the point that some packages depend upon themselves! > > It is the job of the package manager to detect and avoid such loops. > No database > is perfect - it is up to the good programmer to account for an deal > with problem > data > > Thanks for the clarification. Okay. Once I've written some code to unpick which packages are erroneously creating the loops I'll report back. Next question - :-) - should I report here or in cygwin-apps? At the risk of getting a SHTDI response, perhaps part of the release process for setup.ini should include a topological sort on '@ package'/'requires: package ...' pairs to flag up such issues? :-D -- Sam Edge -- 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