Lintian tag: multi-arch-same-package-calls-pycompile

Type: warning

Description (from lintian-explain-tags)

This Multi-Arch: same package uses pycompile or py3compile in the
specified maintainer script.

py{,3}compile are tools used to byte-compile Python source files. It is
typically run on installation of Debian packages that ship Python modules.
However, they do not support installing several architectures of the same
package and this is not Multi-Arch: safe.

If the contents of the package is not architecture dependent, it should
usually be made binary-all.

If the contents of the package is architecture dependent, it should
usually get a dependency on the Python interpreter for the same
architecture. This is a dependency in the form of python3, not an
architecture-qualified dependency such as python3:any (which can be
fulfilled by the Python interpreter for any architecture).

If a dependency on the Python interpreter for the same architecture exists
(usually generated by dh-python), the Multi-Arch: same has no effect and
should be dropped.

Please refer to the pycompile(1) manual page, the py3compile(1) manual
page, and Bug#812228 for details.

Visibility: warning
Show-Always: no
Check: scripts

Show affected packages