Bug 35387 - Ensure that version numbers in 4.0 are higher than in 3.2
Ensure that version numbers in 4.0 are higher than in 3.2
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 4.0
Assigned To: Stefan Gohmann
Drees Dormann
: interim-3
Depends on:
Blocks: 36369
  Show dependency treegraph
 
Reported: 2014-07-16 14:23 CEST by Moritz Muehlenhoff
Modified: 2014-11-26 06:53 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
List of affected packages (96.59 KB, text/plain)
2014-10-31 10:43 CET, Sönke Schwardt-Krummrich
Details
The check script (3.92 KB, text/plain)
2014-10-31 10:50 CET, Sönke Schwardt-Krummrich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Muehlenhoff univentionstaff 2014-07-16 14:23:02 CEST
Package which have only seen NMUs between squeeze and wheezy will usually have a version number smaller than the version in 3.2. The reason is our internal build stamp which appended during build.

Example:
strace in wheezy has version 4.5.20-2.3 in wheezy and had 4.5.20-2 in squeeze. Due to our internal build stamp the package in UCS 3.2 uses 4.5.20-2.11.201104221439 which is higher than the wheezy version. Consequently the package is kept back.

All version numbers in 4.0 and 3.2 need to be compared with a script and the version numbers adjusted and the packages rebuilt, e.g. as done in patches/strace/4.0-0-0-ucs/4.5.20-2.3/bump-version.patch (It must be ensured that he version in jessie is still higher!)
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2014-10-31 10:43:30 CET
Created attachment 6269 [details]
List of affected packages

Number of affected binary packages: 770
Number of affected source packages: 445
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2014-10-31 10:50:30 CET
Created attachment 6270 [details]
The check script
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2014-10-31 23:06:25 CET
TODO:
Src pkg ocfs2-tools → Bug 33844
The corresponding binary packages are still present within the scope/repo although there is no src revision assigned to UCS 4.0-0.
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2014-10-31 23:11:08 CET
(In reply to Sönke Schwardt-Krummrich from comment #3)
> TODO:
> Src pkg ocfs2-tools → Bug 33844
> The corresponding binary packages are still present within the scope/repo
> although there is no src revision assigned to UCS 4.0-0.Bug 36377
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2014-11-01 00:05:08 CET
436 patches have been added to SVN. 
Some packages just have to be rebuilt. And for some others bugs have been opened.
When the rebuild of all 436 packages is complete, the check script has to be rerun again.
Comment 6 Sönke Schwardt-Krummrich univentionstaff 2014-11-02 19:43:18 CET
The rebuild of 454 src packages has been initiated:
442 Packages returned without error code / the following 12 exited an error:

courier-filter-perl
davfs2
fonts-bpg-georgian
gpr
libbsd-resource-perl
pyneighborhood
texify
unhtml
davfs2
drbd8
flowscan
udftools
Comment 7 Stefan Gohmann univentionstaff 2014-11-02 19:45:45 CET
(In reply to Sönke Schwardt-Krummrich from comment #6)
> davfs2

Fixed with r13985. I've imported a new version from Debian 7.7. For this reason the patch failed.
Comment 8 Stefan Gohmann univentionstaff 2014-11-03 14:47:42 CET
I've rebuild some more packages:
pyneighborhood
unhtml
chkrootkit
udftools
flowscan
drbd8
drbd-utils
texify
gpr
libbsd-resource-perl
fonts-bpg-georgian
courier-filter-perl

I ignored icedtea6-plugin since it is no longer a maintained package:
PKG: icedtea6-plugin
   ucs_3.2-0-errata3.2-2: 6b31-1.13.3-1.72.201406101139
   ucs_4.0-0: 6b21.4-3.7.201411012253
   Src pkg: icedtea-web (1.4-3.7.201411012253)
Comment 9 Drees Dormann univentionstaff 2014-11-04 17:11:19 CET
according to the test only unsupported package icedtea-web doesn't
meet the requirements
Comment 10 Stefan Gohmann univentionstaff 2014-11-26 06:53:52 CET
UCS 4.0-0 has been released:
 http://docs.univention.de/release-notes-4.0-0-en.html
 http://docs.univention.de/release-notes-4.0-0-de.html

If this error occurs again, please use "Clone This Bug".