This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [PATCH setup 00/14] Use libsolv, solve all our problems... (WIP)
- From: Jon Turney <jon dot turney at dronecode dot org dot uk>
- To: cygwin-apps at cygwin dot com
- Date: Wed, 4 Oct 2017 15:43:12 +0100
- Subject: Re: [PATCH setup 00/14] Use libsolv, solve all our problems... (WIP)
- Authentication-results: sourceware.org; auth=none
- 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> <a643a0ef-8f9c-660f-f561-8a6557778957@dronecode.org.uk> <7044db65-8b6e-6bf6-a079-99397917ce43@cornell.edu> <fa877908-939b-6d27-2314-d4332826bfee@dronecode.org.uk> <d3abe98a-e24d-d88f-cc0c-c9603bda40cb@cornell.edu> <8e655423-ef53-3aeb-3d6c-de5021d3bd87@dronecode.org.uk> <5e74cacd-3153-1561-3cd2-5ece0e35a2d2@cornell.edu> <a9c1de24-8501-c090-f939-5e0080bcf949@dronecode.org.uk> <37a292ec-21e4-27ff-de3d-7a9408d9f936@gmail.com>
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...