[buildd-tools-devel] Bug#777204: sbuild is unable to handle source packages with build dependencies using the :native architecture qualifier

Johannes Schauer josch at debian.org
Fri Feb 6 09:33:06 UTC 2015


Package: sbuild
Version: 0.65.0-1
Severity: normal
Tags: patch

Hi,

currently sbuild will not allow building source packages using the
:native architecture qualifier as specified in [1]. This is because it
will copy any foo:native build dependency into the dummy binary package
it creates and the :native architecture qualifier is not allowed in
binary package dependencies.

The attached patch fixes this by doing the following:

It goes through all build dependencies and checks if they use the
:native architecture qualifier and if yes, either removes it in case of
a native build or replaces it by an architecture qualifier of the build
architecture in case of a cross build.

Thanks!

cheers, josch

[1] https://wiki.ubuntu.com/MultiarchCross
-------------- next part --------------
A non-text attachment was scrubbed...
Name: handle-native-arch-qualifiers-in-build-deps.debdiff
Type: text/x-diff
Size: 3172 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20150206/14b84ae9/attachment-0001.diff>


More information about the Buildd-tools-devel mailing list