Bug 33835 - Import/build of Debian Wheezy
Import/build of Debian Wheezy
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 3.0
Other Linux
: P5 enhancement (vote)
: UCS 4.0
Assigned To: Moritz Muehlenhoff
Stefan Gohmann
: interim-1
: 35359 (view as bug list)
Depends on:
Blocks: 35970 36329
  Show dependency treegraph
 
Reported: 2014-01-03 09:28 CET by Moritz Muehlenhoff
Modified: 2014-11-26 06:55 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): Release Goal
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Muehlenhoff univentionstaff 2014-01-03 09:28:16 CET
The following steps are needed:

- Import of Wheezy (excluding section:games)

- Initial build of all source package with the stock Debian apt sources added to the base tgzs

- Patch lsb to emit UCS properties and merge all existing patches to packages where debian/rules uild system reacts on specific LSB properties (e.g. GCC and OpenJDK)

- Remove the Debian apt sources from the base tgzs and perform a rebuild of all packages.
Comment 1 Moritz Muehlenhoff univentionstaff 2014-01-24 11:16:50 CET
cmucl was skipped during the import; it's very exotic and only available for i386 (no ported to amd64) and there are no reverse-deps.
Comment 2 Moritz Muehlenhoff univentionstaff 2014-01-28 13:26:13 CET
samba, talloc, tdb, tevent, ldb and openldap are already more recent in UCS 3.2 in comparison to Wheezy.

I've imported the packages from 3.2 with minor changes (e.g. build-depending on the standard DB 5.1 for OpenLDAP), so that the UCS 4.0 packages are already compiled against the more recent libraries built from the source packages.
Comment 3 Moritz Muehlenhoff univentionstaff 2014-02-03 14:19:14 CET
unattended-upgrades was skipped during the import: It relies on Debian/Ubuntu specific data and UCS provides the functionality through software update policies.

debsecan was skipped during the import: UCS uses different version numbers, so the data used by debsecan doesn't apply.
Comment 4 Moritz Muehlenhoff univentionstaff 2014-02-03 15:24:25 CET
software-center was skipped during the import. It's specific to Ubuntu/Debian and the same functionality is covered by the Univention App Center.
Comment 5 Moritz Muehlenhoff univentionstaff 2014-02-06 12:38:47 CET
oaklisp was skipped during the import; it's a very exotic Lisp package and only available for i386 (not ported to amd64) and there are no reverse-deps.
Comment 6 Moritz Muehlenhoff univentionstaff 2014-02-10 07:28:12 CET
The samba4 source package has been removed; we use the unified samba source package as in UCS 3.2
Comment 7 Moritz Muehlenhoff univentionstaff 2014-02-13 13:03:31 CET
The following packages were skipped/removed during the import: They're exotic/not relevant and not available on amd64 (i.e. i386-only):
mozart
set6x86
retty
rio
longrun
fenix
fenix-plugins
lphdisk
mit-scheme
bsign
paxtest
atitvout
Comment 8 Moritz Muehlenhoff univentionstaff 2014-02-20 11:57:20 CET
The samba source package in version 2:4.1.4+dfsg-3 was imported from unstable (along with backports for ctdb and ntdb). Our UCS-specific patches need to be migrated later.
Comment 9 Moritz Muehlenhoff univentionstaff 2014-02-20 13:01:47 CET
jellyfish (count k-mers in DNA sequences), thepeg (Toolkit for High Energy Physics Event Generation) and polyorb (Multiple-personality middleware for Ada) are very exotic scientific applications which fail to build. They don't have any reverse dependencies and were removed from UCS 4.0.
Comment 10 Moritz Muehlenhoff univentionstaff 2014-02-24 10:39:30 CET
We use a more recent version of grub2 in UCS 3.2 (for UEFI/Secure Boot), the version from UCS 3.2 was imported and built.
Comment 11 Moritz Muehlenhoff univentionstaff 2014-02-24 15:26:59 CET
gst-buzztard is an exotic multimedia package which is broken since to years
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=660458). Since the error also affects Wheezy, I've dropped the package from UCS 4.0
Comment 12 Moritz Muehlenhoff univentionstaff 2014-03-03 14:45:19 CET
The following packages failed to build in our environment where the build host is running UCS 3.2 w/o multiarch support while the pbuilder chroot uses multiarch. (All the packages built fine in a UCS 4.0 VM, so this is limited to our build environment). The problem was that the linker expects to find a library at /usr/lib/foo while the multiarchified library provided /usr/lib/i386-linux-gnu (or the amd64 counterpart). 

This only affects a few packages with custom/special Makefiles/linking, packages e.g. using autotools or cmake are not affected.

Since we cannot upgrade the build machines to UCS 4.0 yet I createda dummy package univention-multiarch-links. Every packages which build-depends on it gets compatibility symlinks in the pbuilder chroot. The package does not need to beinstalled on a UCS 4.0 system, this is only relevant at build time in the pbuilder chroot. Once the build hosts have been upgraded, the build deps can be removed again:

traceroute
cyrus-sasl2
esorex
bochs
graphviz
jade
openjade1.3
cpl
util-linux
libdc1394-22
vpb-driver
syncevolution
foo2zjs
x52pro
xsd
xcolors
minidlna
ldap2dns
gcc-4.7
Comment 13 Moritz Muehlenhoff univentionstaff 2014-03-05 14:06:40 CET
libexplain is very exotic and scheduled for removal from the Debian archive. It's incompatible with our updated kernel, so I've removed it.


cone is an exotic commandline-based mail reader. Building the package triggers an ICE, so I've removed it as well.
Comment 14 Moritz Muehlenhoff univentionstaff 2014-03-06 16:42:24 CET
wireless-regdb cannot be built on the build system, it requires manual signing of the regdb keys. Since the package was already built for "UCD 3.2" (and the version is identical to the one used in UCS 4.0) I copied the binaries and source package over.


gnugk (H323 gatekeeper) and openam (H323 answering machine) are exotic packages which fail to build in our environment, I've removed the packages from UCS 4.0.


dpkg-source from UCS 3.2 failed to unpack the bz2ed tarball of strigi. This can happen in some corner cases (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522858). As a workaround I've repackaged the source package to use a gzipped tarball.
Comment 15 Moritz Muehlenhoff univentionstaff 2014-03-10 14:51:20 CET
(In reply to Moritz Muehlenhoff from comment #14)
> gnugk (H323 gatekeeper) and openam (H323 answering machine) are exotic
> packages which fail to build in our environment, I've removed the packages
> from UCS 4.0.

This was caused by a bug in libpt/opal/h323plus which has been fixed. I've included the packages again and built them.


chromium-browser cannot be build on i386, since the memory requested by the linker
exceeds the address space (despite running a PAE kernel and having 8 GB RAM on the
build host). It is now only built on amd64.
Comment 16 Moritz Muehlenhoff univentionstaff 2014-03-13 11:52:57 CET
user-mode-linux is tightly coupled to the kernel. Upgrading to our kernel release would involve quite some work with marginal benefit (the UML utilities rootstrap and uml-utilities were removed as well)
Comment 17 Moritz Muehlenhoff univentionstaff 2014-03-17 09:51:41 CET
(In reply to Moritz Muehlenhoff from comment #7)
> The following packages were skipped/removed during the import: They're
> exotic/not relevant and not available on amd64 (i.e. i386-only):
> mozart

mozart-stdlib needed to be removed as well

gnumach is specific to the Hurd port and has been removed from UCS 4.0.

wfmath is a library for mathematical calculations which was originally developed for the online game WordForge. That's why it's still declared as section/games. Since it's needed by other packages I imported it manually.

fortune-mod is also declared as section/games, but it is needed by various other programs. It was also imported and build.
Comment 18 Moritz Muehlenhoff univentionstaff 2014-03-19 14:47:59 CET
(In reply to Moritz Muehlenhoff from comment #11)
> gst-buzztard is an exotic multimedia package which is broken since to years
> (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=660458). Since the error
> also affects Wheezy, I've dropped the package from UCS 4.0

buzztard and bsl are related tools and were removed as well.


nbibtex cannot be properly built from source (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=722444) and is exotic and without reverse deps. It has been removed from UCS 4.0.

debian-installer wasn't built yet, it needs further changes which will be handled through Bug 30547
Comment 19 Moritz Muehlenhoff univentionstaff 2014-03-25 06:26:49 CET
(In reply to Moritz Muehlenhoff from comment #13)
> libexplain is very exotic and scheduled for removal from the Debian archive.
> It's incompatible with our updated kernel, so I've removed it.

tardy depends on libexplain and was removed as well (it's an exotic tar postprocessor). 

openchange was updated to 2.0-2 and smbnetfs was updated to 0.5.3b-1, the versions in Wheezy are incompatible with our Samba 4.1 package.

mlton is an exotic package (Optimizing compiler for Standard ML) with a complicated bootstrap process. Since it doesn't have any rdeps, I've removed it.
Comment 20 Moritz Muehlenhoff univentionstaff 2014-03-25 15:36:39 CET
(In reply to Moritz Muehlenhoff from comment #19)
> openchange was updated to 2.0-2 and smbnetfs was updated to 0.5.3b-1, the
> versions in Wheezy are incompatible with our Samba 4.1 package.

evolution-mapi needed to be removed: It is incompatible with OpenChange 2.x and a more recent evolution-mapi requires updates or glib and several other evolution packages.
Comment 21 Moritz Muehlenhoff univentionstaff 2014-07-03 14:48:11 CEST
The Wheezy 7.5 point update has been imported and built.
Comment 22 Moritz Muehlenhoff univentionstaff 2014-07-11 15:05:55 CEST
The following exotic Ada libraries had to be removed because of
linker problems in ahven and libalog:
anet
ahven
libalog
pcscada
dbusada

The following exotic packages failed to build in our environment,
and would be complicated to fix; they don't have any reverse deps:
newlib
py3dns
libsys-gamin-perl

cpqarrayd is incompatible with our updated kernel and there's no
more recent version available. It has been removed.

gforth uses a tricky bootstrap process which doesn't work well
with our build systems. Since it's a very exotic package and
no reverse deps are available, it has been removed from UCS 4.0.
Comment 23 Moritz Muehlenhoff univentionstaff 2014-07-15 08:04:41 CEST
The Wheezy 7.6 point update was imported and built.
Comment 24 Moritz Muehlenhoff univentionstaff 2014-07-16 14:24:42 CEST
Debain wheezy (up to 7.6) has been imported and built.
Comment 25 Stefan Gohmann univentionstaff 2014-08-20 11:42:58 CEST
*** Bug 35359 has been marked as a duplicate of this bug. ***
Comment 26 Stefan Gohmann univentionstaff 2014-08-29 10:05:04 CEST
Changelog commit with r53150

The patches need to be adapted: Bug #33836

Everything else is OK.
Comment 27 Stefan Gohmann univentionstaff 2014-11-26 06:55:33 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".