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

Affected packages

source version binary tag type tag information count
gtsam 4.2.0+dfsg-1 python3-gtsam/4.2.0+dfsg-1+b2 warning multi-arch-same-package-calls-pycompile [postinst:6] 5
libxml2 2.12.7+dfsg+really2.9.14-0.2 python3-libxml2/2.12.7+dfsg+really2.9.14-0.2+b1 warning multi-arch-same-package-calls-pycompile [postinst:6] 9
lxml 5.3.0-1 python3-lxml/5.3.0-1+b1 warning multi-arch-same-package-calls-pycompile [postinst:6] 9
mrcal 2.4.1-3 python3-mrcal/2.4.1-3+b1 warning multi-arch-same-package-calls-pycompile [postinst:6] 9
newt 0.52.24-4 python3-newt/0.52.24-4 warning multi-arch-same-package-calls-pycompile [postinst:6] 9
pillow 10.4.0-1 python3-pil/10.4.0-1+b1 warning multi-arch-same-package-calls-pycompile [postinst:6] 9
pillow 10.4.0-1 python3-pil.imagetk/10.4.0-1+b1 warning multi-arch-same-package-calls-pycompile [postinst:6] 9
pillow-sane 2.9.1-3 python3-sane/2.9.1-3+b4 warning multi-arch-same-package-calls-pycompile [postinst:6] 9
pocketsphinx-python 1:0.1.15-7 python3-pocketsphinx/1:0.1.15-7+b1 warning multi-arch-same-package-calls-pycompile [postinst:6] 7
pyfltk 1.3.9+repack-3 python3-fltk/1.3.9+repack-3+b3 warning multi-arch-same-package-calls-pycompile [postinst:6] 9
pygccjit 0.4-13 python3-gccjit/0.4-13+b4 warning multi-arch-same-package-calls-pycompile [postinst:6] 9
pyrsistent 0.20.0-2 python3-pyrsistent/0.20.0-2 warning multi-arch-same-package-calls-pycompile [postinst:6] 9
python-espeak 0.5-6 python3-espeak/0.5-6+b1 warning multi-arch-same-package-calls-pycompile [postinst:6] 9
python-setproctitle 1.3.3-1 python3-setproctitle/1.3.3-1+b5 warning multi-arch-same-package-calls-pycompile [postinst:6] 9
ros-ros-comm 1.17.0+ds-2 python3-rospy/1.17.0+ds-2+b1 warning multi-arch-same-package-calls-pycompile [postinst:6] 9
sphinxbase 0.8+5prealpha+1-21 python3-sphinxbase/0.8+5prealpha+1-21 warning multi-arch-same-package-calls-pycompile [postinst:6] 8