Bug#575590: lintian: python-script-but-no-python-dep when using /usr/bin/python2.6 and Depending on python2.6
Russ Allbery <rra@debian.org> writes:
> Arto Jantunen <viiru@debian.org> writes:
>
>> Package: lintian
>> Version: 2.3.4
>> Severity: normal
>
>> False positives as described in the subject. Possibly 2.6 is missing
>> from the regexp used by this check?
>
> Are you positive you're using 2.3.4? I added 2.6 in that version.
I'm positive:
viiru@tsunami:~/debian/work$ lintian --version
Lintian v2.3.4
viiru@tsunami:~/debian/work$ lintian bcfg2_1.0.1-1_amd64.changes
W: bcfg2-server: binary-without-manpage usr/sbin/bcfg2-ping-sweep
W: bcfg2-server: binary-without-manpage usr/sbin/bcfg2-reports
E: bcfg2-server: python-script-but-no-python-dep
./usr/sbin/bcfg2-admin
E: bcfg2-server: python-script-but-no-python-dep
./usr/sbin/bcfg2-build-reports
E: bcfg2-server: python-script-but-no-python-dep ./usr/sbin/bcfg2-info
E: bcfg2-server: python-script-but-no-python-dep
./usr/sbin/bcfg2-ping-sweep
E: bcfg2-server: python-script-but-no-python-dep
./usr/sbin/bcfg2-repo-validate
E: bcfg2-server: python-script-but-no-python-dep
./usr/sbin/bcfg2-reports
E: bcfg2-server: python-script-but-no-python-dep
./usr/sbin/bcfg2-server
zsh: exit 1 lintian bcfg2_1.0.1-1_amd64.changes
viiru@tsunami:~/debian/work$
That package isn't yet in the archive, but as I see it any
python-support using package should do for a test case. Just set
debian/pyversions to 2.6-, build-dep on python2.6, Depend on
${python:Depends} and this happens.
--
Arto Jantunen
Reply to: