Bug#363193: pbuilder: support new-style architecture specifications

Matthew Palmer mpalmer at debian.org
Thu Dec 16 01:32:23 UTC 2010


usertags 363193 patch-in-git
usertags 363193 patch-supplied
thanks

Well, this has turned into a monster of a bug, with several subtly different
issues being raised and debated.  Here's the ones that I've found and
addressed in the attached patch series (which might be more easily accessed
via the 363193 branch of git://github.com/mpalmer/pbuilder):

1) Support for wildcard arch specifications, such as "linux-any"

   The main, initial bug report.  The patches provided by Andres Mejia in
   message #159 were the basis for this patch series (credited as
   appropriate), with modifications as needed for the other issues herein.

2) Testcases (message #164)

   Whilst I wasn't able to get full test coverage, I did add test coverage
   for checkbuilddep_archdeps (testing arch-specific package dependencies)
   and checkarchitecture (validating whether a particular package should be
   built on a given architecture).
 
3) Support for (eg) Architecture: all i386 amd64 ia64  (message #186)

   Policy states that this form of architecture list is valid for .dsc files
   only (not debian/control), and so the checkarchitecture function needed
   some mangling to work properly.

4) pbuilder-satisfydepends-classic didn't handle arch wildcards (message
   #191)

   This was something of a corner case in the -classic code, as it didn't
   provide valid "package [arch]" stanzas to checkbuilddep_archdeps, but
   instead replaced spaces with slashes.

Hopefully which patch(es) in the series cover each of the above issues
should be clear enough; if not, I'm happy to clarify.

- Matt


More information about the Pbuilder-maint mailing list