[buildd-tools-devel] Bug#798323: Building for i386 on amd64 tries to install amd64 packages into i386 chroot
Simon McVittie
smcv at debian.org
Fri Sep 11 10:16:56 UTC 2015
Control: tags 798323 + patch
On Tue, 08 Sep 2015 at 08:03:26 +0200, Gaudenz Steinlin wrote:
> The sbuild NMU to experimental broke building packages for i386 on an
> amd64 host with an i386 chroot and setting personality=linux32 in the
> schroot configuration. sbuild tries to wrongly install
> build-essential:amd64 and fakeroot:amd64 into this chroot. It should
> instead install i386 packages.
Please consider the attached patch. With this change applied to sbuild
git master, these builds succeed on an amd64 machine, using a chroot
sid-i386-sbuild previously created with sbuild-createchroot:
sbuild --arch=i386 -d unstable hello_2.10-1
- Machine Architecture: amd64
- Host Architecture: i386
- Build Architecture: i386
sbuild --build=i386 --host=armhf -d unstable hello_2.10-1
- Machine Architecture: amd64
- Host Architecture: armhf
- Build Architecture: i386
Regards,
S
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-use-of-foreign-chroots-such-as-i386-on-amd64-Clo.patch
Type: text/x-diff
Size: 3211 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20150911/83592962/attachment.patch>
More information about the Buildd-tools-devel
mailing list