retitle 593000 dh-make-perl doesn't consider locally installed packages when looking for modules tags 593000 confirmed help thanks
-=| Kevin Ryde, Sun, Aug 15, 2010 at 10:12:36AM +1000 |=- > Package: dh-make-perl > Version: 0.70-1 > Severity: minor > File: /usr/bin/dh-make-perl > > I built File::Fetch 0.24 (with dh-make-perl) and installed it as a newer > version than in perl 5.10.1. Then doing dh-make-perl --requiredeps on > Alien::SDL complained that File::Fetch 0.24 was not available. > > The Contents.cache created ended up with "perl-modules". As usual this > is with my own apt-file-from-installed, so it's possible it's my own > doing, but the apt-file bit has both libfile-fetch-perl and perl-modules > entries for File/Fetch.pm. I hoped dh-make-perl might notice the former > is a newer version than the latter and prefer that one (or prefer it if > --requiredeps does need newer than in perl itself, etc). > > I suspect Alien::SDL is not really suitable for dh-make-perl to build, > so it may not be a good example, but it seems like a general problem. The general problem is that dh-make-perl doesn't consider the locally installed packages when seeking to satisfy dependencies. If your package is not known to APT, dh-make-perl doesn't see it.
signature.asc
Description: Digital signature