Univention Bugzilla – Bug 33835
Import/build of Debian Wheezy
Last modified: 2014-11-26 06:55:33 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.
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.
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.
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.
software-center was skipped during the import. It's specific to Ubuntu/Debian and the same functionality is covered by the Univention App Center.
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.
The samba4 source package has been removed; we use the unified samba source package as in UCS 3.2
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
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.
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.
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.
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
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
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.
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.
(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.
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)
(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.
(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
(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.
(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.
The Wheezy 7.5 point update has been imported and built.
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.
The Wheezy 7.6 point update was imported and built.
Debain wheezy (up to 7.6) has been imported and built.
*** Bug 35359 has been marked as a duplicate of this bug. ***
Changelog commit with r53150 The patches need to be adapted: Bug #33836 Everything else is OK.
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".