Bug#946357: libjson-perl: Please mark libjson-perl Multi-Arch: foreign (needed for mysql cross-testing)

Steve Langasek steve.langasek at canonical.com
Sat Dec 7 19:53:43 GMT 2019


Package: libjson-perl
Version: 4.02000-1
Severity: minor
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu focal ubuntu-patch

Dear maintainers,

In Ubuntu, we are in the process of moving the i386 architecture to a
compatibility-only layer on amd64, and therefore we are also moving our
autopkgtest infrastructure to test i386 binaries in a cross-environment.

This requires some changes to the archive so that test dependencies are
cross-installable in a multiarch fashion.  The mysql-8.0 package has a test
dependency on mysql-testsuite-8.0, which depends on libjson-perl. 
libjson-perl is an Arch: all package, so could reasonably satisfy this
dependency for a foreign-arch reverse-dep such as mysql-testsuite-8.0, but
this needs to be explicitly declared by making the package Multi-Arch:
foreign.

There is precedent for this, a handful of other perl modules already are
tagged Multi-Arch: foreign in the archive (libdpkg-perl, libdebhelper-perl,
liberror-perl, ...).

I've uploaded the attached patch to Ubuntu, in the hopes of making mysql-8.0
cross-testable.  Please consider applying in Debian as well.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru libjson-perl-4.02000/debian/control libjson-perl-4.02000/debian/control
--- libjson-perl-4.02000/debian/control	2019-02-24 06:56:57.000000000 -0800
+++ libjson-perl-4.02000/debian/control	2019-12-07 11:48:36.000000000 -0800
@@ -19,6 +19,7 @@
 
 Package: libjson-perl
 Architecture: all
+Multi-Arch: foreign
 Depends: ${misc:Depends},
          ${perl:Depends}
 Recommends: libjson-xs-perl (>= 2.340)


More information about the pkg-perl-maintainers mailing list