Bug#363193: New patch for wildcard architecture specifications

Peter Eisentraut peter_e at gmx.net
Mon Mar 31 12:36:49 UTC 2008


Back to this issue.  dpkg has supported the build dependency style [linux-any] 
or [linux-any hurd-any] etc. since etch, so it should be safe to use it.

We were earlier confused by the unclear documentation, but 
dpkg-architecture(1) now has nice examples:

       Check if the current architecture or an architecture provided with -a
       are Linux systems:

              dpkg-architecture -ilinux-any

              dpkg-architecture -ai386 -ilinux-any

With that in mind, I propose the attached patch.  It looks simple enough.  
Apparently the old regular expression supports architectures separated by 
slashes (/)?  I don't find this documented anywhere, but you can continue to 
support that if you split up $DEP_ARCHES beforehand.

As a test case, I used pgpool, replaced libpam-dev by libpam-dev [linux-any 
hurd-any] and could build successfully.  Yay! :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pbuilder-363193.patch
Type: text/x-diff
Size: 582 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20080331/da44d124/attachment.patch 


More information about the Pbuilder-maint mailing list