[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#995498: FP? missing-build-dependency-for-dh-addon python3



Hi,

On Sat, Oct 2, 2021 at 1:45 AM Julien Puydt <julien.puydt@gmail.com> wrote:
>
> so I think it's a false positive.

Actually, Lintian has required the ':any' for Python prerequisites
since 2013 [1] but the implementation was defective. [2] You are now
seeing an accurate picture of Lintian's settings [3][4][5][6][7]
because the diagnostics were fixed. [8] That being said, the current
settings are probably wrong.

There appears to have been no bootstrapping reason to require the
':any' for Python across the board. The setting is also not correct
for all cases. It will probably be removed in the near future.

I am still researching my recent commit [8] in the context of the
rationale presented in 2013. [9] My position is that "python:any"
implies the ability to satisfy "python".

> If it's not, both lintian's output and the error description in
> /usr/share/lintian/tags/m/missing-build-dependency-for-dh-addon.tag
> fail to explain what the matter really is.

Thank you for the pointer. For the sake of consistency, I recently
adjusted several tag descriptions [10] but apparently missed that one.
Either way, the documentation changes will probably be reverted when
the ':any' is dropped from the Python prerequisites.

Thank you for bringing the matter to our attention!

Kind regards
Felix Lechner

[1] https://salsa.debian.org/lintian/lintian/-/commit/beb1094db955fd99b693fca1e4c87958676dfe74
[2] https://bugs.debian.org/994902
[3] https://salsa.debian.org/lintian/lintian/-/blob/master/lib/Lintian/Check/Debhelper.pm#L90
[4] https://salsa.debian.org/lintian/lintian/-/blob/master/lib/Lintian/Check/Debian/Rules.pm#L41-50
[5] https://salsa.debian.org/lintian/lintian/-/blob/master/lib/Lintian/Check/Testsuite.pm#L58-59
[6] https://salsa.debian.org/lintian/lintian/-/blob/master/data/scripts/interpreters#L80-81
[7] https://salsa.debian.org/lintian/lintian/-/blob/master/data/scripts/versioned-interpreters#L77-78
[8] https://salsa.debian.org/lintian/lintian/-/commit/9bc560a62571f2f1a70ce7044093c42ff14e3efa
[9] https://salsa.debian.org/lintian/lintian/-/commit/153961ead4ea6c7d38951f36852e43d110b8db30
[10] https://salsa.debian.org/lintian/lintian/-/commit/ec728f427a2aa4f1d2451117448e79979a106f07


Reply to: