#884754 bls: detect dpkg-gencontrol: warning: unused/unknown substitution variable

#884754#5
Date:
2017-12-19 05:29:48 UTC
From:
To:
It would be nice to warn about present but unused or used but unknown
dpkg-gencontrol substitution variables. Here is an example of these:

https://buildd.debian.org/status/fetch.php?pkg=python-backports-shutil-get-terminal-size&arch=all&ver=1.0.0-3&stamp=1469703308&raw=0

dpkg-gencontrol: warning: Depends field of package python-backports-shutil-get-terminal-size: unknown substitution variable ${python-Depends}
dpkg-gencontrol: warning: package python-backports-shutil-get-terminal-size: unused substitution variable ${python:Versions}
dpkg-gencontrol: warning: package python-backports-shutil-get-terminal-size: unused substitution variable ${python:Depends}
dpkg-gencontrol: warning: package python-backports-shutil-get-terminal-size: unused substitution variable ${python:Provides}

#884754#10
Date:
2017-12-19 10:15:01 UTC
From:
To:
deprecated (e.g. ${python:Provides} and ${python:Versions} in your
example) that the maintainer is better off not using it.

I second warning on "unknown substitution variable" though.

#884754#15
Date:
2017-12-19 13:54:53 UTC
From:
To:
In general, it is a bug to not use set substitution variables. If
there are cases where they shouldn't be used, then the tools that
generate them need to be fixed. It would be fine for bls to ignore the
specific ones that are deprecated, if there is some reason that the
deprecated variables can't be just removed yet.

#884754#20
Date:
2021-02-20 09:57:06 UTC
From:
To:
Hallo,

Ich habe dir eine Mail geschickt, aber keine Antwort von dir, warum?

Eddie