From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 50986 invoked by alias); 30 Sep 2017 07:57:53 -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 35660 invoked by uid 89); 30 Sep 2017 07:57:32 -0000 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 Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.17.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 30 Sep 2017 07:57:31 +0000 Received: from [192.168.15.105] ([92.20.186.130]) by mail.gmx.com (mrgmx101 [212.227.17.174]) with ESMTPSA (Nemesis) id 0LhjeH-1dc7VO1uzJ-00mtqj for ; Sat, 30 Sep 2017 09:57:27 +0200 Subject: Re: Dependency issues in setup.ini. To: cygwin@cygwin.com References: <505405e4-5a2f-8d6b-f012-404bd7d69009@gmx.com> <59cecb88.c1d4ca0a.53569.24bf@mx.google.com> Reply-To: cygwin@cygwin.com From: "Sam Edge (Cygwin)" Message-ID: <64ef1bd6-8db5-f540-a922-ea4d69822b06@gmx.com> Date: Sat, 30 Sep 2017 08:43:00 -0000 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= X-SW-Source: 2017-09/txt/msg00308.txt.bz2 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