- Package:
- qa.debian.org
- Source:
- qa.debian.org
- Submitter:
- Paul Wise
- Date:
- 2021-02-20 10:00:14 UTC
- Severity:
- wishlist
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}
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.
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.
Hallo, Ich habe dir eine Mail geschickt, aber keine Antwort von dir, warum? Eddie