[Piuparts-devel] Bug#794575: support testing foreign arch installation

Andreas Beckmann anbe at debian.org
Tue Aug 4 18:44:34 UTC 2015

Control: tags -1 - patch

On 2015-08-04 17:15, Helmut Grohne wrote:> Package: piuparts
> So I tried to test a foreign arch installation of libc6 with piuparts
> and noticed that it succeeds despite failing to install the foreign arch
> libc6. The initial dpkg --unpack fails, because the architecture is not
> added to dpkg, but piuparts swallows that failure. I argue that in this
> situation, piuparts should either actually perform the test or fail.

It should fail. So what command did you use to test it?

On 2015-08-04 19:47, Holger Levsen wrote:
> I miss this --extra-multi-arch switch in the patch.

I'd suggest explicit
  --foreign-arch <arch>
(which may be given multiple times)

But I'm against automatic guessing for enabling it.
(We currently have it hardcoded for a few packages, mainly for testing
the ia32-libs switchover ... and for testing some crossbuild packages.)

Guessing from the dependencies won't work if the foreign dependency is
further down the dependency chain.


More information about the Piuparts-devel mailing list