I think we should probably have a table rather like that in mk-sbuild
(perhaps reduced) of which architecture combinations can use native
chroots, and generate native-building chroots in those cases rather than
cross-building ones; so in the i386-on-amd64 case we would set
self.native_arch to "i386".  Then drop the -TARGET bit from g++ and
libc-dev if self.native_arch == self.target_arch.

Both i386-on-amd64 and (of course) i386-on-i386 should then work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1319153

Title:
  Failes to create x86 chroot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1319153/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to