[buildd-tools-devel] Bug#793561: sbuild: Incorrect check for dpkg multi-arch support

Guillem Jover guillem at debian.org
Sat Jul 25 03:41:10 UTC 2015


Package: sbuild
Version: 0.65.2-1
Severity: important

Hi!

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.

Thanks,
Guillem



More information about the Buildd-tools-devel mailing list