Bug#805597: lintian: python-script-but-no-python-dep shows false positives
* Jakub Wilk:
> * Hilko Bengen <bengen@debian.org>, 2015-11-20, 00:03:
>> 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.
>
> Please double-check that the shebangs in the _binary_ packages are
> correct.
Right. Something must have rewritten those:
,----
| $ dpkg -ql nmap
| Desired=Unknown/Install/Remove/Purge/Hold
| | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
| |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
| ||/ Name Version Architecture Description
| +++-==============-============-============-=================================
| ii nmap 7.00-1 amd64 The Network Mapper
| $ head -n3 /usr/bin/zenmap
| #!/usr/bin/python2
| # -*- coding: utf-8 -*-
|
`----
(This is from the nmap 7.00-1 package I uploaded last night.)
That seems like a valid shebang line, but it now looks like the same
issue that was reported in #743599.
Cheers,
-Hilko
Reply to: