From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 46854 invoked by alias); 4 Oct 2017 14:43:18 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 46844 invoked by uid 89); 4 Oct 2017 14:43:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,EXECUTABLE_URI,KAM_EXEURI,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=age, calm, our, Hx-spam-relays-external:ESMTPA X-HELO: out1-smtp.messagingengine.com Received: from out1-smtp.messagingengine.com (HELO out1-smtp.messagingengine.com) (66.111.4.25) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Oct 2017 14:43:17 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 4F7CA20BBE for ; Wed, 4 Oct 2017 10:43:15 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Wed, 04 Oct 2017 10:43:15 -0400 X-ME-Sender: Received: from [192.168.1.102] (host86-151-121-210.range86-151.btcentralplus.com [86.151.121.210]) by mail.messagingengine.com (Postfix) with ESMTPA id EBD7E24038 for ; Wed, 4 Oct 2017 10:43:14 -0400 (EDT) From: Jon Turney Subject: Re: [PATCH setup 00/14] Use libsolv, solve all our problems... (WIP) To: cygwin-apps@cygwin.com References: <20170531105015.162228-1-jon.turney@dronecode.org.uk> <488ba627-de58-ddc7-7f69-696adae76b8a@cornell.edu> <9bcf50cf-81bc-c9d1-3ac3-b7e1a3522045@dronecode.org.uk> <5441628f-a99a-1611-616a-da98ea9a0e12@cornell.edu> <7044db65-8b6e-6bf6-a079-99397917ce43@cornell.edu> <8e655423-ef53-3aeb-3d6c-de5021d3bd87@dronecode.org.uk> <5e74cacd-3153-1561-3cd2-5ece0e35a2d2@cornell.edu> <37a292ec-21e4-27ff-de3d-7a9408d9f936@gmail.com> Message-ID: <32f87002-ff5b-a2f0-a702-5a4f084a3981@dronecode.org.uk> Date: Wed, 04 Oct 2017 14:43:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <37a292ec-21e4-27ff-de3d-7a9408d9f936@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-10/txt/msg00025.txt.bz2 On 02/10/2017 16:17, Marco Atzeri wrote: > On 02/10/2017 16:07, Jon Turney wrote: > >> https://cygwin.com/setup/setup-2.881-38-g6a01c5.x86_64.exe Thanks for testing. > interesting question about precedence as it tries to install > cscope-15.8.0.1-2 and speex 1.2.0-2 So, this is change in behaviour. When asked to upgrade, setup will now always install the version which libsolv thinks has the highest version. These versions are higher, because numeric sequences are considered higher than alphabetic sequences (i.e. '0' > 'b', '0' > 'rc'). Trying to control which version which gets upgraded to by setting the curr: value in setup.ini isn't actually always working, currently (perhaps this will be the subject of a whole other email...) > that is right for speex but wrong for cscope following the setup.ini > and the age of the files > > version: 15.8b-1 > [prev] > version: 15.8.0.1-2 So, this is actually a bug in the version sorting which calm does (it was comparing the alphabetic sequence 'b' against the separator '.', rather than against the numeric sequence '0') > speex > version: 1.2.0-2 > [prev] > version: 1.2rc1-1 And this is the right way round currently, only because it was noticed it wasn't sorted correctly when uploaded, and an override.hint added. > It seems previous setup was doing the opposite precedence > that is wrong for speex and right for cscope I'll just point out that these two packages were made by people with incompatible ideas about how versions order. I'm not going down the path of trying to support that, as that way madness lies...