Package: lintian
Severity: wishlist
Contro: affects -1 dh-python
When trying to build gpgme1.0 version 1.13.1-2, i encountered the
following warning from dpkg-gencontrol:
dpkg-gencontrol: warning: package python3-gpg: substitution variable ${python3:Versions} unused, but is defined
Thinking i knew what i was doing, i added ${python3:Versions} to the
Depends: line of python3-gpg in debian/control.
This resulted in python3-gpg version 1.13.1-2 having a dependency on
packages named "3.7" and "3.8" (you can see my brown paper bag bug in
the archive, sigh).
It turns out i actually have no idea where the ${python3:Versions}
substvar *should* be used in debian/control, but it should certainly
never be used in Depends:.
It would be great if lintian could catch this kind of embarassing
mistake during the build just by inspecting the source.
I'm assuming that this substvar came from dh_python3 from the dh-python
package, so i'm marking this bug as affecting dh-python.
--dkg
Attachment:
signature.asc
Description: PGP signature