Some common build problems

  • Timestamp skew of the auto* files that are patched from diff.gz
    hits m68k more than the other arches.  The problem is described
    fully in /usr/share/doc/autotools-dev/README.Debian.gz.
  • Packages that build the docs in binary-arch (Bdale's description):

    Some source packages build all of the binary packages in the binary-arch
    target of debian/rules, even though at least one binary package is
    architecture independent. That's wrong.

    The practical impact is that autobuilder maintainers get to manually
    clean up the _all.deb packages every time your package is uploaded.
    [Also it can add considerably to the build time on slow arches,
    and it's another potential source of build failures.]

    Please fix this when you get a chance.

    Any architecture "all" binary packages should be built by the
    binary-indep target in debian/rules. If you're using debhelper,
    read about the -a and -i options, and if you have dh-make
    installed, a good example rules file is available in the
    /usr/share/debhelper/dh_make/debianm directory.

  • If you see in your sbuild logs the following:
    	su: Authentication service cannot retrieve authentication info.

    This happens when there's no /etc/shadow entry for your user in your chroot. So, copy your /etc/shadow to your chroot or add the user entry,
    if it's already existing in the chroot.