Bug#805597: lintian: python-script-but-no-python-dep shows false positives
Package: lintian
Version: 2.5.38.1
Severity: normal
Dear Maintainer,
I just checked the freshly-built nmap_7.00-1_amd64.changes and got,
among other warnings, two errors:
E: zenmap: python-script-but-no-python-dep usr/bin/zenmap
E: ndiff: python-script-but-no-python-dep usr/bin/ndiff
But the necessary dependencies are declared, as can be seen below. Both
scripts have "#!/usr/bin/env python" as their shebang line.
,----
| $ dpkg --info zenmap_7.00-1_all.deb
| new debian package, version 2.0.
| size 674040 bytes: control archive=5811 bytes.
| 586 bytes, 18 lines control
| 14897 bytes, 172 lines md5sums
| 156 bytes, 9 lines * postinst #!/bin/sh
| 249 bytes, 14 lines * prerm #!/bin/sh
| Package: zenmap
| Source: nmap
| Version: 7.00-1
| Architecture: all
| Maintainer: Hilko Bengen <bengen@debian.org>
| Installed-Size: 2726
| Depends: python (>= 2.7), python (<< 2.8), nmap, python-gobject, python-gtk2
| Recommends: gksu
| Conflicts: nmapfe
| Replaces: nmapfe
| Provides: nmapfe
| Section: net
| Priority: extra
| Homepage: http://nmap.org/
| Description: The Network Mapper Front End
| Zenmap is an Nmap frontend. It is meant to be useful for advanced users
| and to make Nmap easy to use by beginners. It was originally derived
| from Umit, an Nmap GUI created as part of the Google Summer of Code.
| $ dpkg --info ndiff_7.00-1_all.deb
| new debian package, version 2.0.
| size 266512 bytes: control archive=951 bytes.
| 532 bytes, 17 lines control
| 392 bytes, 6 lines md5sums
| 155 bytes, 9 lines * postinst #!/bin/sh
| 247 bytes, 14 lines * prerm #!/bin/sh
| Package: ndiff
| Source: nmap
| Version: 7.00-1
| Architecture: all
| Maintainer: Hilko Bengen <bengen@debian.org>
| Installed-Size: 327
| Depends: python (>= 2.7), python (<< 2.8), python-lxml
| Recommends: nmap
| Conflicts: nmap (<< 7.00-1)
| Breaks: zenmap (<< 6.47-5~)
| Replaces: zenmap (<< 6.47-5~)
| Section: net
| Priority: extra
| Homepage: http://nmap.org/
| Description: The Network Mapper - result compare utility
| Ndiff is a tool to aid in the comparison of Nmap scans. It takes two
| Nmap XML output files and prints the differences between them.
`----
Cheers,
-Hilko
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.2.0-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages lintian depends on:
ii binutils 2.25.51.20151113-1
ii bzip2 1.0.6-8
ii diffstat 1.60-1
ii file 1:5.25-2
ii gettext 0.19.6-1
ii hardening-includes 2.7
ii intltool-debian 0.35.0+20060710.4
ii libapt-pkg-perl 0.1.29+b3
ii libarchive-zip-perl 1.53-1
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.38-1
ii libdigest-sha-perl 5.95-2
ii libdpkg-perl 1.18.3
ii libemail-valid-perl 1.198-1
ii libfile-basedir-perl 0.07-1
ii libipc-run-perl 0.94-1
ii liblist-moreutils-perl 0.413-1
ii libparse-debianchangelog-perl 1.2.0-8
ii libtext-levenshtein-perl 0.13-1
ii libtimedate-perl 2.3000-2
ii liburi-perl 1.69-1
ii man-db 2.7.5-1
ii patchutils 0.3.4-1
ii perl [libdigest-sha-perl] 5.20.2-6
ii t1utils 1.38-4
ii xz-utils 5.1.1alpha+20120614-2.1
Versions of packages lintian recommends:
ii dpkg 1.18.3
ii libautodie-perl 2.29-1
ii libperlio-gzip-perl 0.19-1
ii perl 5.20.2-6
ii perl-modules [libautodie-perl] 5.20.2-6
Versions of packages lintian suggests:
ii binutils-multiarch 2.25.51.20151113-1
ii dpkg-dev 1.18.3
ii libhtml-parser-perl 3.71-2
ii libtext-template-perl 1.46-1
ii libyaml-perl 1.15-1
-- no debconf information
Reply to: