[buildd-tools-devel] sbuild: multiarch build support

Dima Kogan dima at secretsauce.net
Wed Dec 31 23:42:03 UTC 2014


Wookey <wookey at wookware.org> writes:

> +++ Philipp Kern [2014-12-28 13:32 +0100]:
>> On Fri, Aug 29, 2014 at 11:21:17AM +0100, Wookey wrote:
>> > We've (Dima Kogan and I) just got support for multiarch builds working in sbuild.
>> > 
>> > This removes one blocker for having multiarch-built cross-toolchains in the archive.
>> > 
>> > If anyone at debconf can help us with applying this to the sbuild used
>> > on buildds we'd love to be able to upload a cross-gcc package that
>> > uses it so we can test other parts of the infra (wanna-build, dak,
>> > britney). (The tests I just did were using https://buildd.debian.org/apt/pool/wheezy/sbuild_0.64.0-1+buildd20140816.0.dsc which I think is the right version)
>> > 
>> > The patch simply identifies explicit arch-qualified build-deps (of the
>> > form libfoo:arch) and if present runs dpkg --add-foreign-architecture
>> > arch (as it already does for cross-builds). Apt takes care of the rest.
>> > 
>> > The second part (for removing the arch after the build (on permanent
>> > chroots)) needs more work as usually there are binaries of the foreign
>> > arch installed so the arch-removal fails.
>> > 
>> > Comments on the code are welcome.
>> > 
>> > These patches apply to both the 0.64.0-1+build20140816.0 above and to
>> > git master from git+ssh://git.debian.org/git/buildd-tools/sbuild.git
>> 
>> Is this still open? 
>
> Yes it is.
>
>> If so, no patch had been attached and no pointer to
>> code was provided AFAICS.
>
> The patches were attached to the initial mail in this thread:
> http://lists.alioth.debian.org/pipermail/buildd-tools-devel/2014-August/009104.html
>
> There is the code here: (last 5 patches) 
>  http://anonscm.debian.org/cgit/users/dkogan-guest/wanna-build.git/log/
>
> And I was fairly sure we filed a bug a while ago, but can't find it now. Dima?

Hi. The merging of sbuild patches is complete, as far as I know. The
wanna-build stuff still needs testing and merging, but I think the
question was about sbuild only.



More information about the Buildd-tools-devel mailing list