Your message dated Tue, 19 May 2009 09:59:58 +0300
with message-id <[email protected]>
and subject line Re: Bug#529377: dh-make-perl can't find dependencies
w/apt-file unless --dist is used
has caused the Debian Bug report #529377,
regarding dh-make-perl can't find dependencies w/apt-file unless --dist is used
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
529377: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529377
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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:
i...@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".
i...@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 <[email protected]>
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
--- End Message ---
--- Begin Message ---
Version: 0.53
Explanation below.
-=| Ivan Kohler, Mon, May 18, 2009 at 06:18:02PM -0700 |=-
> Package: dh-make-perl
> Version: 0.52
>
> i...@rootwood:~$ dh-make-perl --cpan REST::Client --dh
> 7 --requiredeps
> [...]
> 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".
>
> i...@rootwood:~$ dh-make-perl --dist unstable --cpan REST::Client --dh 7
> --requiredeps
> [...]
> 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
> [...]
> 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)
There were two bugs. First --dist option defaulted to "{sid,unstable}"
(contrary to the manual page). Second, the code that matched
distribution name to sources.list entries was broken, comparing
distribution using 'eq', not regex matching, hence {sid,unstable} was
never equal to a real sources.list entry.
The first bug can be confirmed by running
dh-make-perl --dump-config | grep dist
Both are fixed in 0.53. If you don't want to upgrade, add "dist:
unstable" to ~/.dh-make-perl/dh-make-perl.conf
--
dam
signature.asc
Description: Digital signature
--- End Message ---