Paul Wise <p...@debian.org> 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 (r...@debian.org)               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87a9gdcpx7....@windlord.stanford.edu

Reply via email to