Marc Haber:
> Package: debhelper
> Version: 13.8
> Severity: normal
> 
> Hi,
> 
> I have a package, gensio-bin, which contains one seldomly used debugging
> utility. I would therefore like to not hard Depend on python and have
> added ${python3:Depends} to the Recommends line. That however ends up in
> a warning from dpkg-gencontrol:
> 
> dpkg-gencontrol: warning: Recommends field of package gensio-bin: 
> substitution variable ${python3:Depends} used, but is not defined
> 
> and no dependency on python at all.
> 
> Is that the intended behavior?
> 
> If it's not debhelper proper expanding ${python3:Depends}, then please
> reassign to the appropriate package. Thanks.
> 
> Greetings
> Marc
> 
> 
> [...]
Hi Marc,

That substitution variable is provided by the third-party dh-python3 and
will be absent if you do not call the relevant helpers from that package
(which requires at least Build-Depends on a package providing and maybe
also a change to d/rules).

Can you please confirm you have done those already? (I don't want to
reassign it to the dh-python team if the reason for its absence is the
above, because then that would fix it)

Thanks,
~Niels

Reply via email to