Bootstrapping the archive for multiarch

This page documents the order in which certain steps need to happen when converting the Debian archive over to multiarch. The information is based on the experience with bootstrapping multiarch in Ubuntu natty.

  1. (./) Upload dpkg support for DEB_HOST_MULTIARCH (dpkg 1.16.0)

  2. Upload multiarch-aware versions of build tools:
  3. Upload a "stage1" multiarch build of gcc-4.5, the default compiler *on i386* (not needed on other archs, where dpkg 1.16.0 does not change the multiarch path; so no additional upload is needed of other versions of gcc that are the default on other architectures)
  4. Upload multiarch-enabled eglibc.
  5. Upload gnat-4.4 for full multiarch. (Must be uploaded before uploading gcc-4.4 because gnat-4.4 self-build-depends, and needs the symlinks from gcc-4.4-base to be functional)
  6. Upload ecj for multiarch. (Must also be uploaded before gcc-4.4/gcj-4.4 because of a similar self-build-depends on those archs that use ecj1.)
  7. Rebuild asis with the new gnat-4.4
  8. Upload gcc-4.5, gcc-4.6 and gcc-4.4 for full multiarch.
  9. Upload gcj-4.5, gcj-4.4, and any other gcc frontends that don't self-build-depend, for full multiarch.
  10. Upload everything else :-)