multi-arch-same-package-calls-pycompile

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.

Severity: warning
Experimental: false

See also