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:
>
>> Python-support generates python (>= 2.6) | python2.6 for this case
>> (which is partially broken since the scripts get /usr/bin/python2.6
>> which wouldn't be provided by 2.7 etc), maybe that is different from
>> just depending on 2.6?
>
> Ah, yes. Lintian would correctly diagnose that bug in python-support,
> since python2.7 (or python3.0) won't provide the /usr/bin/python2.6
> binary.
>
>> Anyway, the package I see the problem with is available at
>> http://viiru.iki.fi/debian/bcfg2/
>
> I'm not getting this tag for that *.deb file with Lintian 2.3.4, and the
> Depends don't have the alternative that you describe:
>
> Depends: python2.6, python-support (>= 0.90.0), debsums, python-apt,
> python-lxml (>= 0.9), ucf, lsb-base (>= 3.1-9),
> python-m2crypto | python (>= 2.6)
>
> The python2.6 dependency is unconditional, and indeed Lintian doesn't
> warn.
For bcfg2 that is the case, but bcfg2-server gets the conditional
depends and lintian warns. Interresting that those are different,
btw.
Hmm. I need to figure out why the two packages from the same source
get different results for python:Depends, but a bug in python-support
does seem quite likely.
This bugreport should probably be considered a false positive itself,
even though the tag lintian reports in this case is somewhat
misleading.
--
Arto Jantunen
Reply to: