[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cpan2deb using wrong module from CPAN



On Tue, 10 Feb 2015 19:33:11 +0000, Andrew Beverley wrote:

> > % cpan2deb DBIx::Class 
> 
> Okay, this is interesting. That command does indeed work correctly for
> me. However, if I then do cpan2deb DBIx-Class it picks the wrong version
>                                       ^^^

Oh, interesting.
 
> So if I use '::' it uses the correct one, if I use '-' it uses the wrong
> one. Is there a subtle difference between them that I'm not aware of?

If there is I'd call it a bug :)


Let me try as well:

% cpan2deb DBIx-Class        
== dh-make-perl 0.84 ==             
CPAN: Term::ANSIColor loaded ok (v4.02)
CPAN: File::HomeDir loaded ok (v1.00)
Reading '/home/gregoa/.cpan/Metadata'
  Database was generated on Tue, 10 Feb 2015 16:53:15 GMT
CPAN: Time::HiRes loaded ok (v1.9726)
Fetching with LWP:
ftp://cpan.inode.at/authors/id/A/AB/ABRAXXA/DBIx-Class-0.08195.tar.gz
CPAN: Digest::SHA loaded ok (v5.88)
Fetching with LWP:
ftp://cpan.inode.at/authors/id/A/AB/ABRAXXA/CHECKSUMS
Checksum for /home/gregoa/.cpan/sources/authors/id/A/AB/ABRAXXA/DBIx-Class-0.08195.tar.gz ok

Indeed. 

But:

% dh-make-perl --cpan DBIx-Class
== dh-make-perl 0.84 ==
CPAN: Term::ANSIColor loaded ok (v4.02)
CPAN: File::HomeDir loaded ok (v1.00)
Reading '/home/gregoa/.cpan/Metadata'
  Database was generated on Tue, 10 Feb 2015 16:53:15 GMT
CPAN: Digest::SHA loaded ok (v5.88)
Checksum for /home/gregoa/.cpan/sources/authors/id/R/RI/RIBASUSHI/DBIx-Class-0.082810.tar.gz ok


So same as for you, and the bug is really only in cpan2deb (i.e.
dh-make-perl called as cpan2deb). Hm? Weird.


Does anyone on the list quickly see where this comes from? Otherwise
we should file a bug at least.


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Bettina Wegner: Für meine verlassenen Freunde

Attachment: signature.asc
Description: Digital Signature


Reply to: