version anomalies

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

version anomalies

Jon TURNEY

With the setup 2.885 release candidate, when selecting 'sync'
(dist-upgrade) mode, you may find you have some packages installed which
setup wants to downgrade.

Mostly, these are packages where a version was removed (or relabelled as
test), and hasn't (yet) been superseded by a higher version.  Currently,
you are just supposed to know that you need to downgrade these manually.

I have written a script [1] which analyses historical setup.ini data
from the Cygwin Time Machine (thanks!), looking for anomalies with
version numbers which cause this behaviour.

(caveat: CTM only updates once per day, so problems which existed for
less than a day e.g. the recent hiccup with libgc1 [2], may not be in
this dataset)

This finds the following anomalies for x86_64:

> $ ./version-anomalies.py  --arch x86_64
> package                 version           version           after circa
> gcc-ada                 6.4.0-5           6.4.0-4           circa/64bit/2018/01/20/070117 [a]
> gcc-cilkplus            6.4.0-5           6.4.0-4           circa/64bit/2018/01/20/070117 [a]
> gcc-core                6.4.0-5           6.4.0-4           circa/64bit/2018/01/20/070117 [a]
> gcc-debuginfo           6.4.0-5           6.4.0-4           circa/64bit/2018/01/20/070117 [a]
> gcc-fortran             6.4.0-5           6.4.0-4           circa/64bit/2018/01/20/070117 [a]
> gcc-g++                 6.4.0-5           6.4.0-4           circa/64bit/2018/01/20/070117 [a]
> gcc-objc                6.4.0-5           6.4.0-4           circa/64bit/2018/01/20/070117 [a]
> gcc-objc++              6.4.0-5           6.4.0-4           circa/64bit/2018/01/20/070117 [a]
> libatomic1              6.4.0-5           6.4.0-4           circa/64bit/2018/01/20/070117 [a]
> libcilkrts5             6.4.0-5           6.4.0-4           circa/64bit/2018/01/20/070117 [a]
> libgcc1                 6.4.0-5           6.4.0-4           circa/64bit/2018/01/20/070117 [a]
> libgfortran3            6.4.0-5           6.4.0-4           circa/64bit/2018/01/20/070117 [a]
> libgnat6                6.4.0-5           6.4.0-4           circa/64bit/2018/01/20/070117 [a]
> libgomp1                6.4.0-5           6.4.0-4           circa/64bit/2018/01/20/070117 [a]
> libobjc4                6.4.0-5           6.4.0-4           circa/64bit/2018/01/20/070117 [a]
> libquadmath0            6.4.0-5           6.4.0-4           circa/64bit/2018/01/20/070117 [a]
> libstdc++6              6.4.0-5           6.4.0-4           circa/64bit/2018/01/20/070117 [a]
> lftp                    4.8.0-1           4.7.8-2           circa/64bit/2017/10/10/051431 [b]
> lftp-debuginfo          4.8.0-1           4.7.8-2           circa/64bit/2017/10/10/051431 [b]
> fossil                  20151102+1.34-1   2.3-1             circa/64bit/2017/09/25/184706 [*]
> liblz4-devel            131-1             1.7.5-1           circa/64bit/2017/09/02/145432 [‡]
> liblz4_1                131-1             1.7.5-1           circa/64bit/2017/09/02/145432 [‡]
> lz4                     131-1             1.7.5-1           circa/64bit/2017/09/02/145432 [‡]
> lz4-debuginfo           131-1             1.7.5-1           circa/64bit/2017/09/02/145432 [‡]
> mingw64-i686-lz4        131-1             1.7.5-1           circa/64bit/2017/09/02/145432 [‡]
> mingw64-x86_64-lz4      131-1             1.7.5-1           circa/64bit/2017/09/02/145432 [‡]
> kde-base-artwork        15.04.3-1         5.8.8-1           circa/64bit/2017/04/19/015003 [‡]
> libproj9                4.9.3-1           4.9.2-1           circa/64bit/2016/11/10/231405 [c]
> oxygen-icons            15.04.3-1         5.39.0-1          circa/64bit/2016/11/02/231610 [‡]
> libslang-devel          2.3.1pre17-1      2.3.1a-1          circa/64bit/2016/10/31/131355 [d]
> libslang2               2.3.1pre17-1      2.3.1a-1          circa/64bit/2016/10/31/131355 [d]
> slang-debuginfo         2.3.1pre17-1      2.3.1a-1          circa/64bit/2016/10/31/131355 [d]
> slsh                    2.3.1pre17-1      2.3.1a-1          circa/64bit/2016/10/31/131355 [d]
> cscope                  15.8.0.1-2        15.8b-1           circa/64bit/2016/06/07/161250 [*]
> perl-Carp               1.3301-2          1.38-2            circa/64bit/2015/07/30/131023 [*]
> xdelta                  3.0.9-1           1.1.4-2           circa/64bit/2015/07/17/161023 [e]
> xdelta-debuginfo        3.0.9-1           1.1.4-2           circa/64bit/2015/07/17/161023 [e]
> socat                   2.0.0-b7-1        1.7.3.1-1         circa/64bit/2015/03/20/171020 [f]
> perl_autorebase         001001-1          5.26.1-1          circa/64bit/2015/02/16/141018 [g]
> fossil                  20140612172556-3  20151102+1.34-1   circa/64bit/2015/02/08/141019 [*]
> mingw64-x86_64-binutils 20130314-1        2.29.1.787c9873-1 circa/64bit/2014/03/16/034442 [*]
> giflib                  4.2.1-1           4.1.6-12          circa/64bit/2013/07/20/142328 [§]
> giflib-debuginfo        4.2.1-1           4.1.6-12          circa/64bit/2013/07/20/142328 [§]
> libgif-devel            4.2.1-1           4.1.6-12          circa/64bit/2013/07/20/142328 [§]
> libgif4                 4.2.1-1           4.1.6-12          circa/64bit/2013/07/20/142328 [§]
> xwinclip                2.0.0-1           1.19.6-1          circa/64bit/2013/06/15/131231 [†]
> w32api                  20130402-svn-1    9999-1            circa/64bit/2013/04/04/130709 [*]

[a] https://cygwin.com/ml/cygwin/2018-01/msg00204.html
[b] https://cygwin.com/ml/cygwin-announce/2017-10/msg00021.html
[c] https://cygwin.com/ml/cygwin/2016-11/msg00125.html
[d] https://cygwin.com/ml/cygwin/2017-03/msg00423.html
[e] https://cygwin.com/ml/cygwin-apps/2015-07/msg00099.html
[f] https://cygwin.com/ml/cygwin/2015-03/msg00384.html
[g] https://cygwin.com/ml/cygwin/2015-02/msg00555.html

I've implemented a feature in 2.885 which causes setup to selectively
dist-upgrade package versions listed as 'replace-versions:' in
setup.ini, so problem versions can be replaced automatically, which
seems appropriate for all of these.

[*] These versions aren't ordered correctly by the version comparison we
now define
[†] A standalone xwinclip with this version existed briefly (for x86_64
only), before xwinclip was absorbed into the xorg-server source
[‡] The upstream version numbering scheme changed
[§] no idea

It's less clear what to do about these.

[1] https://github.com/jon-turney/version-anomalies
[2] https://cygwin.com/ml/cygwin-apps/2018-01/msg00047.html
Reply | Threaded
Open this post in threaded view
|

Re: version anomalies

Jon TURNEY

I've added replace-versions: annotations in override.hint for the below:

On 31/01/2018 17:58, Jon Turney wrote:
> This finds the following anomalies for x86_64:
[...]
> [a] https://cygwin.com/ml/cygwin/2018-01/msg00204.html

gcc 6.4.0-5 was relabelled as test (now current again since cygwin 2.10.0)

> [b] https://cygwin.com/ml/cygwin-announce/2017-10/msg00021.html

lftp 4.8.0-1 was withdrawn as broken

> [c] https://cygwin.com/ml/cygwin/2016-11/msg00125.html

libproj9 4.9.3-1 was withdrawn as it contains the wrong soversion
(libproj12 not libproj9)

> [d] https://cygwin.com/ml/cygwin/2017-03/msg00423.html

slang 2.3.1pre17-1 pre-release version should have been something like
2.3.1-0.1pre17 for correct ordering.

> [e] https://cygwin.com/ml/cygwin-apps/2015-07/msg00099.html

xdelta 3.0.9-1 belongs to xdelta3

> [f] https://cygwin.com/ml/cygwin/2015-03/msg00384.html

socat 2.0.0-b7-1 was relabelled as test

> [g] https://cygwin.com/ml/cygwin/2015-02/msg00555.html

perl_autorebase 001001-1 was a test version

> I've implemented a feature in 2.885 which causes setup to selectively
> dist-upgrade package versions listed as 'replace-versions:' in
> setup.ini, so problem versions can be replaced automatically, which
> seems appropriate for all of these.

and also:

[h] https://cygwin.com/ml/cygwin-apps/2018-01/msg00047.html

libgc1 7.6.2-1 was withdrawn as it contains the wrong soversion (libgc2
not libgc1)

[i] https://cygwin.com/ml/cygwin-announce/2015-07/msg00054.html

cvs 1.12.13-10 ('feature' release) is older than 1.11.23-1 ('stable'
release) (x86 only)

> [*] These versions aren't ordered correctly by the version comparison we now define

cscope 15.8.0.1-2 is an error where a single version is out of order

xwinclip 2.0.0 (x86_64 only) is an error where a single version is out
of order

So, I've also annotated these as replace-versions:

It's increasingly pointless to compensate for mistakes the longer ago
they were made, so I don't think I'll bother doing anything about even
older mistakes which only exist in x86...
Reply | Threaded
Open this post in threaded view
|

Re: version anomalies

Jon TURNEY
On 24/02/2018 15:39, Jon Turney wrote:
>
> I've added replace-versions: annotations in override.hint for the below:
>
[...]
>
> It's increasingly pointless to compensate for mistakes the longer ago
> they were made, so I don't think I'll bother doing anything about even
> older mistakes which only exist in x86...

I've updated the script which generates this report so it now
understands about replace-versions: lines

For the record, the remaining anomalies are:

> $ ./version-anomalies.py --arch x86_64 --all
> package                 version               version               after circa
> liblz4-devel            131-1                 1.7.5-1               circa/64bit/2017/09/02/145432
> liblz4_1                131-1                 1.7.5-1               circa/64bit/2017/09/02/145432
> lz4                     131-1                 1.7.5-1               circa/64bit/2017/09/02/145432
> lz4-debuginfo           131-1                 1.7.5-1               circa/64bit/2017/09/02/145432
> mingw64-i686-lz4        131-1                 1.7.5-1               circa/64bit/2017/09/02/145432
> mingw64-x86_64-lz4      131-1                 1.7.5-1               circa/64bit/2017/09/02/145432
> kde-base-artwork        15.04.3-1             5.8.8-1               circa/64bit/2017/04/19/015003
> oxygen-icons            15.04.3-1             5.39.0-1              circa/64bit/2016/11/02/231610
> mingw64-i686-lz4        124-1                 1.7.5-1               circa/64bit/2016/08/03/001240
> mingw64-x86_64-lz4      124-1                 1.7.5-1               circa/64bit/2016/08/03/001240
> perl-Carp               1.3301-2              1.38-2                circa/64bit/2015/07/30/131023
> fossil                  20140612172556-3      20170721+2.3-1        circa/64bit/2015/02/08/141019
> fossil                  20140612172556-2      20170721+2.3-1        circa/64bit/2014/09/13/101157
> fossil                  20140612172556-1      20170721+2.3-1        circa/64bit/2014/06/15/020453
> fossil                  20140127173344-1      20170721+2.3-1        circa/64bit/2014/06/12/070336
> fossil                  20130911114349-1      20170721+2.3-1        circa/64bit/2014/04/09/140308
> giflib                  4.2.1-1               4.1.6-12              circa/64bit/2013/07/20/142328
> giflib-debuginfo        4.2.1-1               4.1.6-12              circa/64bit/2013/07/20/142328
> libgif-devel            4.2.1-1               4.1.6-12              circa/64bit/2013/07/20/142328
> libgif4                 4.2.1-1               4.1.6-12              circa/64bit/2013/07/20/142328
> w32api                  20130402-svn-1        9999-1                circa/64bit/2013/04/04/130709
> w32api                  20130314-svn-1        9999-1                circa/64bit/2013/04/01/055716

> $ ./version-anomalies.py --arch x86 --all
> package                 version               version               after circa
> liblz4-devel            131-1                 1.7.5-1               circa/2017/09/02/145417
> liblz4_1                131-1                 1.7.5-1               circa/2017/09/02/145417
> lz4                     131-1                 1.7.5-1               circa/2017/09/02/145417
> lz4-debuginfo           131-1                 1.7.5-1               circa/2017/09/02/145417
> mingw64-i686-lz4        131-1                 1.7.5-1               circa/2017/09/02/145417
> mingw64-x86_64-lz4      131-1                 1.7.5-1               circa/2017/09/02/145417
> kde-base-artwork        15.04.3-1             5.8.8-1               circa/2017/04/19/015249
> oxygen-icons            15.04.3-1             5.39.0-1              circa/2016/11/02/231558
> mingw64-i686-lz4        124-1                 1.7.5-1               circa/2016/08/03/001227
> mingw64-x86_64-lz4      124-1                 1.7.5-1               circa/2016/08/03/001227
> rxvt                    20050409-21           2.7.10-1              circa/2016/03/25/161043
> perl-Carp               1.3301-2              1.38-2                circa/2015/07/31/151011
> fossil                  20140612172556-2      20151102+1.34-1       circa/2015/02/10/141012
> gcc-g77                 4.7.3-1               3.999-1               circa/2015/02/10/141012
> ruby-bigdecimal         1.9.3-p448-1          1.3.2-1               circa/2014/08/28/111116
> ruby-io-console         1.9.3-p448-1          0.4.6-1               circa/2014/08/28/111116
> jpeg                    7-10                  1.5.3-1               circa/2014/06/19/154035
> fossil                  20140612172556-1      20151102+1.34-1       circa/2014/06/16/130230
> fossil                  20140127173344-1      20151102+1.34-1       circa/2014/06/12/060257
> jpeg                    8b-1                  1.5.3-1               circa/2014/05/28/220254
> libjpeg-devel           8b-1                  1.5.3-1               circa/2014/05/28/220254
> libjpeg8                8b-1                  1.5.3-1               circa/2014/05/28/220254
> fossil                  20130911114349-1      20151102+1.34-1       circa/2014/04/13/150343
> fossil                  20130216000435-1      20151102+1.34-1       circa/2013/10/04/093306
> ruby-bigdecimal         1.9.3-p385-2          1.3.2-1               circa/2013/08/12/124334
> ruby-io-console         1.9.3-p385-2          0.4.6-1               circa/2013/08/12/124334
> gcc-mingw               20040810-1            4.5.2-1               circa/2013/06/29/100933
> gcc-mingw-g++           20050522-3            4.5.2-1               circa/2013/06/29/100933
> gcc-mingw-g77           20050522-3            4.5.2-1               circa/2013/06/29/100933
> gcc-mingw-objc          20050522-3            4.5.2-1               circa/2013/06/29/100933
> cygwin64-libbfd         20130306-1            2.25.1-1              circa/2013/06/04/121035
> cygwin64-binutils       20130306-1            2.29-1                circa/2013/05/29/124505
> cygwin64-binutils-debug 20130306-1            2.29-1                circa/2013/05/29/124505
> mesa-demos              20120509-1            8.4.0-1               circa/2013/05/20/123009
> mesa-demos-debuginfo    20120509-1            8.4.0-1               circa/2013/05/20/123009
> fossil                  20120808112557-1      20151102+1.34-1       circa/2013/03/03/200034
> ruby-bigdecimal         1.9.3-p385-1          1.3.2-1               circa/2013/02/11/083124
> ruby-io-console         1.9.3-p385-1          0.4.6-1               circa/2013/02/11/083124
> fossil                  20111213135356-1      20151102+1.34-1       circa/2012/09/18/073029
> untex                   9210-1                1.2-1                 circa/2012/09/18/073029
> dejagnu                 20021217-2            1.5-1                 circa/2012/07/17/114011
> expect                  20030128-1            5.45-3                circa/2012/02/06/094520
> libarpack-devel         96-2                  3.5.0-1               circa/2011/12/18/164201
> libarpack0              96-2                  3.5.0-1               circa/2011/12/18/164201
> gcc-mingw-g++           20050522-1            4.5.2-1               circa/2011/04/28/231023
> gcc-mingw-g77           20050522-1            4.5.2-1               circa/2011/04/28/231023
> gcc-mingw-objc          20050522-1            4.5.2-1               circa/2011/04/28/231023
> mingw64-i686-runtime    20100809-1            5.0.3-1               circa/2010/11/26/004519
> mingw64-x86_64-runtime  20100809-1            5.0.3-1               circa/2010/11/26/004519
> libjpeg-devel           7-10                  1.5.3-1               circa/2010/08/07/214112
> binutils                20080624-2            2.29-1                circa/2009/12/01/192034
> cvs                     1.12.13-1             1.11.23-2             circa/2009/12/01/192034
> jpeg                    6b-13                 1.5.3-1               circa/2009/12/01/192034
> libjpeg-devel           6b-13                 1.5.3-1               circa/2009/12/01/192034
> rxvt                    20050409-11           2.7.10-1              circa/2009/12/01/192034
> bash-completion         20060301-2            2.7-1                 circa/2009/11/19/004113
> rxvt                    20050409-10           2.7.10-1              circa/2009/04/25/090042
> rxvt                    20050409-9            2.7.10-1              circa/2009/04/22/194517
> lzma                    4.43-2                4.32.7-10             circa/2009/03/17/093029
> jpeg                    6b-12                 1.5.3-1               circa/2009/03/08/160024
> libjpeg-devel           6b-12                 1.5.3-1               circa/2009/03/08/160024
> rxvt                    20050409-7            2.7.10-1              circa/2008/11/15/022010
> binutils                20080523-1            2.29-1                circa/2008/07/05/104019
> binutils                20060817-1            2.29-1                circa/2008/05/21/181007
> gdb                     20060706-2            7.10.1-1              circa/2008/04/05/193005
> lzma                    4.43-1                4.32.7-10             circa/2008/02/18/014005
> rxvt                    20050409-6            2.7.10-1              circa/2007/08/25/134007
> rxvt                    20050409-4            2.7.10-1              circa/2007/08/24/185005
> rxvt                    20050409-3            2.7.10-1              circa/2006/12/12/230007
> jpeg                    6b-11                 1.5.3-1               circa/2006/11/09/010010
> bash-completion         20060301-1            2.7-1                 circa/2006/10/28/091003
> binutils                20060709-1            2.29-1                circa/2006/08/15/035004
> binutils                20050610-1            2.29-1                circa/2006/07/02/093005
> gdb                     20041228-3            7.10.1-1              circa/2006/07/02/093005
> rxvt                    20050409-2            2.7.10-1              circa/2006/06/01/105008
> rxvt                    20050409-1            2.7.10-1              circa/2006/05/13/174004
> rxvt                    2.7.10-6              2.7.10-1              circa/2006/05/06/180009
> bash-completion         20050721-1            2.7-1                 circa/2006/02/28/063004
> bison                   20030307-1            3.0.4-1               circa/2006/02/21/042006
> findutils               20041227-1            4.6.0-1               circa/2005/08/30/063053
> binutils                20050608-2            2.29-1                circa/2005/07/08/230033
> binutils                20050520-1            2.29-1                circa/2005/06/09/052203
> gcc-mingw-g++           20040810-1            4.5.2-1               circa/2005/06/09/052203
> gcc-mingw-g77           20040810-1            4.5.2-1               circa/2005/06/09/052203
> gcc-mingw-objc          20040810-1            4.5.2-1               circa/2005/06/09/052203
> binutils                20041229-1            2.29-1                circa/2005/05/23/170030
> rxvt                    2.7.10-5              2.7.10-1              circa/2005/04/07/133020
> gdb                     20041228-2            7.10.1-1              circa/2005/03/24/135029
> rxvt                    2.7.10-4              2.7.10-1              circa/2005/03/23/023041
> procps                  010801-2              3.3.10-1              circa/2005/03/20/040043
> gdb                     20041228-1            7.10.1-1              circa/2005/01/30/210054
> gdb                     20030919-1            7.10.1-1              circa/2004/12/31/144101
> binutils                20041228-1            2.29-1                circa/2004/12/28/094052
> binutils                20040725-2            2.29-1                circa/2004/12/27/094022
> gcc-mingw               20030911-4            4.5.2-1               circa/2004/08/10/232051
> gcc-mingw-g++           20031020-1            4.5.2-1               circa/2004/08/10/232051
> gcc-mingw-g77           20031020-1            4.5.2-1               circa/2004/08/10/232051
> gcc-mingw-objc          20031020-1            4.5.2-1               circa/2004/08/10/232051
> binutils                20040725-1            2.29-1                circa/2004/07/24/223044
> binutils                20040312-1            2.29-1                circa/2004/07/24/021017
> binutils                20030901-1            2.29-1                circa/2004/03/12/003058
> rxvt                    2.7.10-3              2.7.10-1              circa/2004/02/28/155008
> gcc-mingw               20030911-3            4.5.2-1               circa/2003/10/29/224008
> gcc-mingw               20030911-2            4.5.2-1               circa/2003/09/25/013027
> gcc-mingw               20020817-5            4.5.2-1               circa/2003/09/21/025013
> gdb                     20030901-1            7.10.1-1              circa/2003/09/19/020318
> libtool                 20020705-1            2.4.6-5               circa/2003/09/03/211022
> binutils                20030307-1            2.29-1                circa/2003/08/30/055015
> gdb                     20030303-1            7.10.1-1              circa/2003/08/30/055015
> jpeg                    6b-8                  1.5.3-1               circa/2003/08/30/055015
> jpeg                    6b-7                  1.5.3-1               circa/2003/07/17/222006
> rxvt                    2.7.10-2              2.7.10-1              circa/2003/04/02/010009
> binutils                20021117-1            2.29-1                circa/2003/02/24/054003
> gdb                     20030218-1            7.10.1-1              circa/2003/02/24/054003
> gdb                     20030128-1            7.10.1-1              circa/2003/02/11/123012
> expect                  20021218-1            5.45-3                circa/2003/01/20/160009
> gdb                     20021218-1            7.10.1-1              circa/2003/01/20/160009
> dejagnu                 20021217-1            1.5-1                 circa/2002/12/18/231019
> gcc-mingw               20020817-4            4.5.2-1               circa/2002/12/18/231019
> binutils                20021107-2            2.29-1                circa/2002/11/15/022031
> dejagnu                 20010117-1            1.5-1                 circa/2002/11/15/022031
> expect                  20010117-1            5.45-3                circa/2002/11/15/022031
> gdb                     20010428-3            7.10.1-1              circa/2002/11/15/022031
> binutils                20020706-2            2.29-1                circa/2002/08/13/043102

Reply | Threaded
Open this post in threaded view
|

Re: version anomalies

Tony Kelman-2
In reply to this post by Jon TURNEY
>> [f] https://cygwin.com/ml/cygwin/2015-03/msg00384.html
>
> socat 2.0.0-b7-1 was relabelled as test

I'm seeing an attempted update to socat 2.0.0-b8-1 (which doesn't even
exist on the mirror I'm using, AFAICT) so that may need the same treatment?
Reply | Threaded
Open this post in threaded view
|

Re: version anomalies

Jon TURNEY
On 26/02/2018 21:38, Tony Kelman wrote:
>>> [f] https://cygwin.com/ml/cygwin/2015-03/msg00384.html
>>
>> socat 2.0.0-b7-1 was relabelled as test
>
> I'm seeing an attempted update to socat 2.0.0-b8-1 (which doesn't even
> exist on the mirror I'm using, AFAICT) so that may need the same treatment?

Slightly different, but this version is missing the test: label, which I
added. (it's also missing an install package, for some reason :))

Thanks for reporting this.