Bug#711988: lintian: Lintian does not recognize python:any dependency
Package: lintian
Version: 2.5.13
Severity: normal
Dear Maintainer,
I have a 32-bit multiarch package that also includes Python scripts. The scripts don't need a 32-bit Python interpreter so the depend is 'python:any' as described on the Multi-Arch specification(*):
https://wiki.ubuntu.com/MultiarchSpec#Extended_semantics_of_per-architecture_package_relationships
But when I do that Lintian gives me this error:
E: testany: python-script-but-no-python-dep usr/bin/pyhello
If I remove the ':any' the error goes away. This leads me to conclude the Lintian gets confused when dependencies have architecture specifiers.
I uploaded a test package there:
http://fgouget.free.fr/bugs/testany_1.0-1.tar.gz
http://fgouget.free.fr/bugs/testany_1.0-1_i386.deb
(*) In my tests the ':any' is indeed necessary to not force the user to install 32-bit Python binary, even though the python package itself is architecture 'all'. This must be because the packages it depends on are not architecture 'all'.
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.22-8
ii bzip2 1.0.6-4
ii diffstat 1.55-3
ii file 1:5.14-2
ii gettext 0.18.1.1-10
ii hardening-includes 2.3
ii intltool-debian 0.35.0+20060710.1
ii libapt-pkg-perl 0.1.28
ii libarchive-zip-perl 1.30-6
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.34-1
ii libdigest-sha-perl 5.84-1
ii libdpkg-perl 1.16.10
ii libemail-valid-perl 0.190-1
ii libfile-basedir-perl 0.03-1
ii libipc-run-perl 0.92-1
ii liblist-moreutils-perl 0.33-1+b1
ii libparse-debianchangelog-perl 1.2.0-1
ii libtext-levenshtein-perl 0.06~01-2
ii libtimedate-perl 1.2000-1
ii liburi-perl 1.60-1
ii man-db 2.6.3-6
ii patchutils 0.3.2-1.1
ii perl [libdigest-sha-perl] 5.14.2-21
ii t1utils 1.37-2
Versions of packages lintian recommends:
ii libautodie-perl 2.18-1
ii libperlio-gzip-perl 0.18-1+b2
ii perl-modules [libautodie-perl] 5.14.2-21
Versions of packages lintian suggests:
ii binutils-multiarch 2.22-8
ii dpkg-dev 1.16.10
ii libhtml-parser-perl 3.71-1
ii libtext-template-perl 1.45-2
ii xz-utils 5.1.1alpha+20120614-2
-- no debconf information
Reply to: