Bug#432959: #432959,lintian: addition to not-binnmuable-any-depends-any check
> The not-binnmuable-any-depends-any check only looks for arch:any packages who
> depends with ${source:Version}.
>
> While arch:any packages with ${Source-Version} suffers from the same problem.
>
> The latter only get reported with to have a
> substvar-source-version-is-deprecated problem, instead of having issues.
Although marked as fixed, packages which use Source-Version for arch:any
to arch:any packages still isn't reported as not-binnmuable-any-depends-any.
In this code:
> if ($pkg1_is_any) {
> if ($pkg2_is_any and $substvar_strips_binNMU) {
> # (b1) any -> any (= ${source:Version})
> tag "not-binnmuable-any-depends-any", "$pkg1 -> $pkg2";
> } elsif (not $pkg2_is_any and not $substvar_strips_binNMU) {
> # (b2) any -> all (= ${Source-Version}) [or b:V]
> tag "not-binnmuable-any-depends-all", "$pkg1 -> $pkg2";
> }
There is now check for Source-Version when $pkg2_is_any is true. Thus
not fixing the bug...
A possible fix may be to change this line:
> $substvar_strips_binNMU = ($2 eq 'source:Version');
to:
> $substvar_strips_binNMU = ($2 eq 'source:Version') or ($2 eq 'Source-Version')
but that's just a quick observation.
--
Lior Kaplan
kaplan@debian.org
GPG fingerprint:
C644 D0B3 92F4 8FE4 4662 B541 1558 9445 99E8 1DA0
Reply to: