Bug#529377: dh-make-perl can't find dependencies w/apt-file unless --dist is used

Ivan Kohler ivan-debian at 420.am
Tue May 19 01:18:02 UTC 2009


Package: dh-make-perl
Version: 0.52


This may be related to 517227.  I don't think the bug is quite fixed in 
all cases?


Even though I *do* have apt-file installed and have run apt-file update 
as root (and have tried deleting ~/.dh-make-perl/Contents.cache), I'm 
unable to find dependencies with --createrepo:

ivan at rootwood:~$ dh-make-perl --cpan REST::Client --dh 7 --requiredeps 
Dispatching deprecated method 'CPAN::Config::load' to CPAN::HandleConfig
CPAN: File::HomeDir loaded ok (v0.82)
Going to read /home/ivan/.cpan/Metadata
  Database was generated on Mon, 18 May 2009 20:28:15 GMT
CPAN: Digest::SHA loaded ok (v5.47)
Checksum for 
/home/ivan/.cpan/source/authors/id/M/MC/MCRAWFOR/REST-Client-88.tar.gz 
ok
RestClient/
[...file list...]
RestClient/Makefile
CPAN: File::Temp loaded ok (v0.20)
Found: REST-Client 88 (librest-client-perl arch=all)
+ perl found in perl
- URI not found in any package
- LWP::UserAgent not found in any package
- Crypt::SSLeay not found in any package

Needs the following debian packages: perl (>= 5.8.0)
The following Perl modules are required and not installed in your 
system:
 - URI
 - LWP::UserAgent
 - Crypt::SSLeay
You do not have 'apt-file' currently installed, or have not ran
'apt-file update' - If you install it and run 'apt-file update' as
root, I will be able to tell you which Debian packages are those
modules in (if they are packaged). at /usr/share/perl5/DhMakePerl.pm 
line 108


However, if I pass "--dist unstable", everything works fine.  That 
doesn't seem right - the manpage indicates that not passing the option 
performs "no filtering".

ivan at rootwood:~$ dh-make-perl --dist unstable --cpan REST::Client --dh 7 
--requiredeps
Dispatching deprecated method 'CPAN::Config::load' to CPAN::HandleConfig
CPAN: File::HomeDir loaded ok (v0.82)
Going to read /home/ivan/.cpan/Metadata
  Database was generated on Mon, 18 May 2009 20:28:15 GMT
CPAN: Digest::SHA loaded ok (v5.47)
Checksum for 
/home/ivan/.cpan/source/authors/id/M/MC/MCRAWFOR/REST-Client-88.tar.gz 
ok
RestClient/
RestClient/lib/
RestClient/lib/REST/
RestClient/lib/REST/Client.pm
RestClient/inc/
RestClient/inc/.author/
RestClient/inc/Module/
RestClient/inc/Module/Install.pm
RestClient/inc/Module/Install/
RestClient/inc/Module/Install/Metadata.pm
RestClient/inc/Module/Install/Base.pm
RestClient/inc/Module/Install/WriteAll.pm
RestClient/inc/Module/Install/Makefile.pm
RestClient/inc/Module/Install/Win32.pm
RestClient/inc/Module/Install/Can.pm
RestClient/inc/Module/Install/Fetch.pm
RestClient/Makefile.PL
RestClient/CHANGES
RestClient/META.yml
RestClient/Makefile
CPAN: File::Temp loaded ok (v0.20)
Found: REST-Client 88 (librest-client-perl arch=all)
Parsing 
/var/cache/apt/apt-file/10.1.1.64_debian_dists_unstable_Contents-amd64.gz 
...
+ perl found in perl
+ URI found in liburi-perl
+ LWP::UserAgent found in libwww-perl
+ Crypt::SSLeay found in libcrypt-ssleay-perl

Needs the following debian packages: perl (>= 5.8.0), liburi-perl, 
libwww-perl, libcrypt-ssleay-perl

Using maintainer: Ivan Kohler <ivan-debian at 420.am>
Found changelog: CHANGES
Found docs: 
Using rules: /usr/share/dh-make-perl/rules.dh7.noxs
--- Done



My sources.list looks like this:

deb http://10.1.1.64:9999/debian/ testing  main non-free contrib
deb http://10.1.1.64:9999/debian/ unstable main non-free contrib

(I'm using a local approx cache)


Let me know if any info you need is missing; I had to construct the 
bugreport manually as reportbug is dying with some python traceback.


-- 
_ivan





More information about the pkg-perl-maintainers mailing list