[buildd-tools-devel] Bug#793561: sbuild: Incorrect check for dpkg multi-arch support
Johannes Schauer
josch at debian.org
Sat Jul 25 18:32:16 UTC 2015
Control: tag -1 + patch
Hi,
On Sat, 25 Jul 2015 05:41:10 +0200 Guillem Jover <guillem at debian.org> wrote:
> The code in get_foreign_architectures to check for multi-arch support
> in dpkg is wrong and unnecessarily complex. It is using ëdpkg
> --print-foreign-architecturesû directly, and checking for the error
> message, which might be translated.
>
> The proper way to check for the support is to use the ëdpkg
> --asert-multi-archû option.
the attached patch should fix this problem.
cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 793561.patch
Type: text/x-diff
Size: 2033 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20150725/2847240a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20150725/2847240a/attachment.sig>
More information about the Buildd-tools-devel
mailing list