Paul Wise <[email protected]> writes:
> On Sat, Dec 7, 2013 at 11:00 AM, T o n g wrote:

>> dpkg-gencontrol: warning: package dbab: unused substitution variable
>> ${perl:Depends}
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> If you aren't packaging Perl stuff you don't need this variable. You
> can read the dh_perl manual page to find out what this is for.

> http://manpages.debian.org/man/0/dh_perl

In this case, it's saying that it's unused, as opposed to unknown, which
means it's set but not mentioned in debian/control.  (The two errors are
annoyingly similar; "unused" means something set it but you didn't use it,
and "unknown" means you tried to use it and nothing set it.)  This that
dh_perl found some Perl script or library in the package and tried to
write out the substitution variable.

You probably just want to replace perl in your Depends line with
${perl:Depends}, although the details can depend on the exact situation.

-- 
Russ Allbery ([email protected])               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to