Bug 41931 - Debian-Jessie packages for UCS-4.2: re-build 561 packages with build-stamp-conflict
Debian-Jessie packages for UCS-4.2: re-build 561 packages with build-stamp-co...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Philipp Hahn
Arvid Requate
https://bladis.knut.univention.de/Gr7...
: interim-2
: 43693 (view as bug list)
Depends on: 36025 37376 41608 42180
Blocks: 42123
  Show dependency treegraph
 
Reported: 2016-08-08 15:55 CEST by Philipp Hahn
Modified: 2017-04-04 18:30 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Release Management
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
Updates list of packages (100.02 KB, text/plain)
2016-09-01 14:03 CEST, Philipp Hahn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2016-08-08 15:55:21 CEST
+++ This bug was initially created as a clone of Bug #41608 +++
Packages newer in Debian-Jessie than in UCS-4.1, required re-build because of build-stamp-conflict
1. Import NMU, update debian/changelog to version > version from UCS-4.1, re-build
Comment 1 Philipp Hahn univentionstaff 2016-09-01 14:03:14 CEST
r72150 | Bug #41931 repo: Remove header from debian/control
r16650 | Bug #41931: fix pbuilder environment
r16651 | Bug #41931: fix pbuilder environment
 Fixed several FTBFS problems due to a broken UCS build system

Package: pbuilder
Version: 0.210~bpo60+1.43.201609010820
Version: 0.210~bpo60+1.44.201609010836
Branch: ucs_3.2-0
Scope: internal


pyneighborhood-0.5.1-2 war wrongly imported as 0.5.1 by Bug #35387 in UCS-4.0, which breaks the sort ordering, as '-' < '.':
 orig=0.5.1 <  deb=0.5.1-2 <  ucs=0.5.1.7.201411031436
it was not rebuild, as it was unchanged for Debian-Jessie: <https://packages.debian.org/search?keywords=pyneighborhood&searchon=names&suite=all&section=all>

Same with unhtml:
 ucs=2.3.9 < deb=2.3.9-3 < ucs=2.3.9.9.201411031429
<https://packages.debian.org/search?keywords=unhtml&searchon=names&suite=all&section=all>

Same with gpr:
 ucs=0.15deb < deb=0.15deb-2 < ucs=0.15deb.8.201411031327
<https://packages.debian.org/search?keywords=gpr&searchon=names&suite=all&section=all>


Newer ca-certificates from sid has been imported:
 ucs=20141019 < deb=20141019+deb8u1 < ucs=20141019.14.201503231550
<https://packages.debian.org/search?keywords=ca-certificates&searchon=names&suite=all&section=all>

Package: ca-certificates
Version: 20160104A~4.2.0.201609011350
Branch: ucs_4.2-0


Bacula was imported with the UCR-autostart-integration patch dropped:
- we have bacula in the App-center

Package: bacula
Version: 5.2.6+dfsg-9.A~4.2.0.201609011353
Branch: ucs_4.2-0
Comment 2 Philipp Hahn univentionstaff 2016-09-01 14:03:57 CEST
Created attachment 7956 [details]
Updates list of packages

The original list was incomplete, as some source packages were not correctly detected.
Comment 3 Philipp Hahn univentionstaff 2016-09-08 15:43:05 CEST
r72445 | Bug #41931 repo: Cleanup build-package-architecture-ng
r72444 | Bug #41931 repo: Remove header from debian/control

Package: repo-ng
Version: 2.1-59.1578.201609081537
Branch: ucs_3.2-0
Scope: internal
Comment 4 Arvid Requate univentionstaff 2017-03-02 20:32:23 CET
Hmm, pacakges are not really rebuilt, or am I missing something?

arequate@omar:~$ pkginfo-build2 pyneighborhood
Binary: pyneighborhood
Source: pyneighborhood
Version:        0.5.1.2.201104150029:   ucs_3.0-0
Version:        0.5.1.7.201411031436:   ucs_4.0-0
Version:        0.5.1-2:        ucs_4.2-0

arequate@omar:~$ dpkg --compare-versions 0.5.1-2 gt 0.5.1.7.201411031436 \
                     || echo error
error

same for unhtml and gpr.


The i386 version of libapache-mod-auth-kerb is not in the repos, only the amd64 version, but the corresponding Sources record says 'Architecture: any'.

All others from the attached list look ok.
Comment 5 Philipp Hahn univentionstaff 2017-03-07 17:22:34 CET
SELECT * FROM (SELECT DISTINCT srcpkg,srcver FROM binpkg WHERE site='apt' AND major=4 AND minor<2) AS old JOIN (SELECT DISTINCT srcpkg,srcver FROM binpkg WHERE site='apt' AND major=4 AND minor=2) AS new USING (srcpkg) WHERE old.srcver > new.srcver;
             srcpkg             |             srcver             |                  srcver                  
--------------------------------+--------------------------------+------------------------------------------
 clamav         | 0.99.2+dfsg-0.158.201609281328 | 0.99.2+dfsg-0+deb8u2A~4.2.0.201703031543
I broke it with <https://forge.univention.org/bugzilla/show_bug.cgi?id=41623>
See Bug #41929 comment 20
→ build-package-ng -r 4.2-0-0 -p clamav -v "0.99.2+dfsg-0.A~4.2.0.$(date +%Y%m%d%H%M)"

 defusedxml                     | 0.4.1-2.1.201702142211         | 0.4.1-2
You broke it with <https://forge.univention.org/bugzilla/show_bug.cgi?id=43393#c3>
→ build-package-ng -r 4.2-0-0 -p defusedxml -v "0.4.1-2.A~4.2.0.$(date +%Y%m%d%H%M)"

 gpr                            | 0.15deb.8.201411031327         | 0.15deb-2
Broken since Bug 35387 comment 8
The version was not updated in Debian-Jessie, so no need to rebuild: <https://packages.debian.org/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=gpr>
→ ls -1 */gpr_* |tar -c -f - -T - --remove-files|tar -x -f - -p -v -C ../ucs_4.2-0-today/

 mysql-5.5                      | 5.5.54-0.27.201701251948       | 5.5.54-0+deb8u1A~4.2.0.201701310741
I broke it with <https://forge.univention.org/bugzilla/show_bug.cgi?id=40530>
See Bug #43441
→ build-package-ng -r 4.2-0-0 -p mysql-5.5 -v "5.5.54-0.A~4.2.0.$(date +%Y%m%d%H%M)"

 openjdk-7                      | 7u121-2.6.8-1.34.201701252027  | 7u111-2.6.7-2~deb8u1
You broke it with <https://forge.univention.org/bugzilla/show_bug.cgi?id=41871>
→ Mirrored 7u121-2.6.8-2~deb8u1

 postgresql-9.1                 | 9.1.24-0.12.201611161707       | 9.1.22-0+deb8u1
This is an anomaly from Debian, as 9.1 is no longer maintained in Debian-Jessie: <https://packages.debian.org/search?keywords=postgresql-9.1&searchon=sourcenames&suite=all&section=all>

 pyneighborhood                 | 0.5.1.7.201411031436           | 0.5.1-2
Broken since Bug 35387 comment 8
The version was not updated in Debian-Jessie, so no need to rebuild: <https://packages.debian.org/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=pyneighborhood>
→ ls -1 */pyneighborhood_* |tar -c -f - -T - --remove-files|tar -x -f - -p -v -C ../ucs_4.2-0-today/

 talloc                         | 2.1.8-1.43.201610241254        | 2.1.8-1A~4.2.0.201609011205
 tevent                         | 0.9.31-1.36.201610241257       | 0.9.31-1A~4.2.0.201610172100
You broke it; see Bug #43693
→ dcmd source/tevent_0.9.31-1A~4.2.0.201610172100_i386.changes source/talloc_2.1.8-1A~4.2.0.201609011205_i386.changes|perl -p -e 'if(s,^source/(.+_(\w+)\.u?deb)$,$2/$1, && $2 eq "i386"){print;s/i386/amd64/g;}'|tar -c -T - -f - --remove-files| tar -x -f - -p -v -C ../ucs_4.2-0-today/

 unhtml                         | 2.3.9.9.201411031429           | 2.3.9-3
Broken since Bug 35387 comment 8
The version was not updated in Debian-Jessie, so no need to rebuild: <https://packages.debian.org/search?keywords=unhtml&searchon=sourcenames&suite=all&section=all>
→ ls -1 */unhtml* |tar -c -f - -T - --remove-files|tar -x -f - -p -v -C ../ucs_4.2-0-today/


(In reply to Arvid Requate from comment #4)
> Hmm, pacakges are not really rebuilt, or am I missing something?
> arequate@omar:~$ pkginfo-build2 pyneighborhood
...
> same for unhtml and gpr.

This is broken since Bug 35387 comment 8, as someone imported the versions and replaced the '-' with '.' to create a higher version, but he also converted the package from a .orig package to a native Debian package; we will never be able to fix it until there is a new upstream version. For "pyneighborhood" there is one in Debian-Strech, but not for "unhtml" and "gpr".
 
Packages wrongly imported in old UCS versions as Debian-native package:
 gpr (ucs=0.15deb < deb=0.15deb-2 < ucs=0.15deb.8.201411031327)
 pyneighborhood (ucs=0.5.1 < deb=0.5.1-2 < ucs=0.5.1.7.201411031436)
 unhtml (ucs=2.3.9 < deb=2.3.9-3 < ucs=2.3.9.9.201411031429)


> The i386 version of libapache-mod-auth-kerb is not in the repos, only the
> amd64 version, but the corresponding Sources record says 'Architecture: any'.

→ build-package-ng -r 4.2-0-0 -p libapache-mod-auth-kerb -v 5.4-2.A~4.2.0.201703071441
Comment 6 Arvid Requate univentionstaff 2017-03-08 19:50:43 CET
Ok: clamav defusedxml gpr mysql-5.5 openjdk-7 postgresql-9.1 pyneighborhood unhtml libapache-mod-auth-kerb

> talloc
> 
> You broke it; see Bug #43693

and fixed it, see Bug #42045.

No changelog required.
Comment 7 Arvid Requate univentionstaff 2017-03-09 14:36:24 CET
*** Bug 43693 has been marked as a duplicate of this bug. ***
Comment 8 Stefan Gohmann univentionstaff 2017-04-04 18:30:01 CEST
UCS 4.2 has been released:
 https://docs.software-univention.de/release-notes-4.2-0-en.html
 https://docs.software-univention.de/release-notes-4.2-0-de.html

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