Lintian ReportsBETA

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.

For more information please consult:

The tag is present in Lintian version 2.114.163. That is the most recent version we know about.

We use semantic versions. The patch number is a commit step indicator relative to the 2.112.0 release tag in our Git repository.

You can find the detection logic for this version at commit 131c0f4. For merge requests, please use the latest version in the Lintian check scripts.

Visibility: warning

The following 9 source packages in the archive triggered the tag 10 times (in any Lintian version).

There were no overrides.