Bug#701140: dh-make-perl: Patch to understand packages named -vX.Y.Z

gregor herrmann gregoa at debian.org
Fri Feb 22 15:58:02 UTC 2013


On Fri, 22 Feb 2013 09:22:08 -0500, Matthew Gabeler-Lee wrote:

> >This sounds all reasonable; what surprises me a bit is that I never
> >encountered this issue.
> >Do you happen to remember which CPAN dist and which dh-make-perl
> >invocation triggered this bug?
> Indeed I do: Net-BitTorrent-Protocol-v1.0.0

Thank you!


I tried now with dh-make-perl from testing 
and with my ~/.dh-make-perl/dh-make-perl.conf removed:


1) Take 1, with --cpan:

% dh-make-perl --cpan Net-BitTorrent-Protocol
CPAN: File::HomeDir loaded ok (v0.99)    
Going to read '/home/gregoa/.cpan/Metadata'
  Database was generated on Fri, 22 Feb 2013 14:53:02 GMT
CPAN: Time::HiRes loaded ok (v1.972101)
Fetching with LWP:
ftp://cpan.inode.at/authors/id/S/SA/SANKO/Net-BitTorrent-Protocol-v1.0.0.tar.gz
CPAN: Digest::SHA loaded ok (v5.61)
Fetching with LWP:
ftp://cpan.inode.at/authors/id/S/SA/SANKO/CHECKSUMS
Checksum for /home/gregoa/.cpan/sources/authors/id/S/SA/SANKO/Net-BitTorrent-Protocol-v1.0.0.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.76)
Net-BitTorrent-Protocol-v1.0.0
Net-BitTorrent-Protocol-v1.0.0/Build.PL
Net-BitTorrent-Protocol-v1.0.0/Changes
Net-BitTorrent-Protocol-v1.0.0/MANIFEST
Net-BitTorrent-Protocol-v1.0.0/META.json
Net-BitTorrent-Protocol-v1.0.0/META.yml
Net-BitTorrent-Protocol-v1.0.0/README
Net-BitTorrent-Protocol-v1.0.0/TODO
Net-BitTorrent-Protocol-v1.0.0/lib
Net-BitTorrent-Protocol-v1.0.0/lib/Net
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP03.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP05.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP06.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP07.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP10.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP23.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP03
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP03/Bencode.pm
Net-BitTorrent-Protocol-v1.0.0/t
Net-BitTorrent-Protocol-v1.0.0/t/0000_net_bittorrent_protocol.t
Net-BitTorrent-Protocol-v1.0.0/t/0003_net_bittorrent_protocol_bep03.t
Net-BitTorrent-Protocol-v1.0.0/t/0003_net_bittorrent_protocol_bep03_bencode.t
Net-BitTorrent-Protocol-v1.0.0/t/0006_net_bittorrent_protocol_bep06.t
Net-BitTorrent-Protocol-v1.0.0/t/0007_net_bittorrent_protocol_bep07.t
Net-BitTorrent-Protocol-v1.0.0/t/0010_net_bittorrent_protocol_bep10.t
Net-BitTorrent-Protocol-v1.0.0/t/0023_net_bittorrent_protocol_bep23.t
CPAN: File::Temp loaded ok (v0.22)
Using META.json
Found: Net-BitTorrent-Protocol 1.. (libnet-bittorrent-protocol-perl arch=all)
Using cached Contents from Fri Feb 22 16:31:51 2013
= perl >= 5.10.0 is in core
= Digest::SHA >= 1 is in core since 1
+ Exporter  found in perl-base
+ Carp  found in perl-base

Needs the following debian packages: perl (>= 1), perl-base
+ Test::More  found in perl-modules
= perl >= 5.10.0 is in core
+ File::Find  found in perl-modules
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
+ Module::Build >= 0.38 found in libmodule-build-perl ( 0.38) | perl-modules ( 0.38)
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
+ Exporter  found in perl-base
+ Carp  found in perl-base

Needs the following debian packages during building: perl-modules, perl, perl-base
Using maintainer: gregor herrmann <gregoa at debian.org>
Found docs: README TODO
Using rules: /home/gregoa/.dh-make-perl/rules.dh7.tiny
Module::Build needs perl
**********
Copyright information incomplete!

Upstream copyright information could not be automatically determined.

If you are building this package for your personal use, you might disregard
this information; however, if you intend to upload this package to Debian
(or in general, if you plan on distributing it), you must look into the
complete copyright information.

The causes for this warning are:
Licensing information is present, but cannot be parsed
--- Done
fatal: 'upstream/1..' is not a valid tag name.
tag upstream/1.. upstream: command returned error: 128


2) Take 2, with an unpacked tarball:

% dh-make-perl Net-BitTorrent-Protocol-v1.0.0
Using META.json
Found: Net-BitTorrent-Protocol 1.. (libnet-bittorrent-protocol-perl arch=all)
Using cached Contents from Fri Feb 22 16:31:51 2013
CPAN: File::HomeDir loaded ok (v0.99)
= perl >= 5.10.0 is in core
= Digest::SHA >= 1 is in core since 1
+ Exporter  found in perl-base
+ Carp  found in perl-base

Needs the following debian packages: perl (>= 1), perl-base
+ Test::More  found in perl-modules
= perl >= 5.10.0 is in core
+ File::Find  found in perl-modules
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
+ Module::Build >= 0.38 found in libmodule-build-perl ( 0.38) | perl-modules ( 0.38)
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
+ Exporter  found in perl-base
+ Carp  found in perl-base

Needs the following debian packages during building: perl-modules, perl, perl-base
Using maintainer: gregor herrmann <gregoa at debian.org>
Found docs: README TODO
Using rules: /home/gregoa/.dh-make-perl/rules.dh7.tiny
Module::Build needs perl
**********
Copyright information incomplete!

Upstream copyright information could not be automatically determined.

If you are building this package for your personal use, you might disregard
this information; however, if you intend to upload this package to Debian
(or in general, if you plan on distributing it), you must look into the
complete copyright information.

The causes for this warning are:
Licensing information is present, but cannot be parsed
--- Done
fatal: pathspec 'Net-BitTorrent-Protocol-v1.0.0' did not match any files
add Net-BitTorrent-Protocol-v1.0.0: command returned error: 128


3) Take 3, with your patch and --cpan:

% dh-make-perl --cpan Net-BitTorrent-Protocol
CPAN: File::HomeDir loaded ok (v0.99)     
Going to read '/home/gregoa/.cpan/Metadata'
  Database was generated on Fri, 22 Feb 2013 14:53:02 GMT
CPAN: Time::HiRes loaded ok (v1.972101)
Fetching with LWP:
ftp://cpan.inode.at/authors/id/S/SA/SANKO/Net-BitTorrent-Protocol-v1.0.0.tar.gz
CPAN: Digest::SHA loaded ok (v5.61)
Fetching with LWP:
ftp://cpan.inode.at/authors/id/S/SA/SANKO/CHECKSUMS
Checksum for /home/gregoa/.cpan/sources/authors/id/S/SA/SANKO/Net-BitTorrent-Protocol-v1.0.0.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.76)
Net-BitTorrent-Protocol-v1.0.0
Net-BitTorrent-Protocol-v1.0.0/Build.PL
Net-BitTorrent-Protocol-v1.0.0/Changes
Net-BitTorrent-Protocol-v1.0.0/MANIFEST
Net-BitTorrent-Protocol-v1.0.0/META.json
Net-BitTorrent-Protocol-v1.0.0/META.yml
Net-BitTorrent-Protocol-v1.0.0/README
Net-BitTorrent-Protocol-v1.0.0/TODO
Net-BitTorrent-Protocol-v1.0.0/lib
Net-BitTorrent-Protocol-v1.0.0/lib/Net
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP03.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP05.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP06.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP07.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP10.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP23.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP03
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP03/Bencode.pm
Net-BitTorrent-Protocol-v1.0.0/t
Net-BitTorrent-Protocol-v1.0.0/t/0000_net_bittorrent_protocol.t
Net-BitTorrent-Protocol-v1.0.0/t/0003_net_bittorrent_protocol_bep03.t
Net-BitTorrent-Protocol-v1.0.0/t/0003_net_bittorrent_protocol_bep03_bencode.t
Net-BitTorrent-Protocol-v1.0.0/t/0006_net_bittorrent_protocol_bep06.t
Net-BitTorrent-Protocol-v1.0.0/t/0007_net_bittorrent_protocol_bep07.t
Net-BitTorrent-Protocol-v1.0.0/t/0010_net_bittorrent_protocol_bep10.t
Net-BitTorrent-Protocol-v1.0.0/t/0023_net_bittorrent_protocol_bep23.t
CPAN: File::Temp loaded ok (v0.22)
Using META.json
Found: Net-BitTorrent-Protocol 1.. (libnet-bittorrent-protocol-perl arch=all)
Using cached Contents from Fri Feb 22 16:31:51 2013
= perl >= 5.10.0 is in core
= Digest::SHA >= 1 is in core since 1
+ Exporter  found in perl-base
+ Carp  found in perl-base

Needs the following debian packages: perl (>= 1), perl-base
+ Test::More  found in perl-modules
= perl >= 5.10.0 is in core
+ File::Find  found in perl-modules
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
+ Module::Build >= 0.38 found in libmodule-build-perl ( 0.38) | perl-modules ( 0.38)
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
+ Exporter  found in perl-base
+ Carp  found in perl-base

Needs the following debian packages during building: perl-modules, perl, perl-base
Using maintainer: gregor herrmann <gregoa at debian.org>
Found docs: README TODO
Using rules: /home/gregoa/.dh-make-perl/rules.dh7.tiny
Module::Build needs perl
**********
Copyright information incomplete!

Upstream copyright information could not be automatically determined.

If you are building this package for your personal use, you might disregard
this information; however, if you intend to upload this package to Debian
(or in general, if you plan on distributing it), you must look into the
complete copyright information.

The causes for this warning are:
Licensing information is present, but cannot be parsed
--- Done
fatal: 'upstream/1..' is not a valid tag name.
tag upstream/1.. upstream: command returned error: 128


4) Take 4, with your patch and an unpacked tarball:

% dh-make-perl Net-BitTorrent-Protocol-v1.0.0
Using META.json
Found: Net-BitTorrent-Protocol 1.. (libnet-bittorrent-protocol-perl arch=all)
Using cached Contents from Fri Feb 22 16:31:51 2013
CPAN: File::HomeDir loaded ok (v0.99)
= perl >= 5.10.0 is in core
= Digest::SHA >= 1 is in core since 1
+ Exporter  found in perl-base
+ Carp  found in perl-base

Needs the following debian packages: perl (>= 1), perl-base
+ Test::More  found in perl-modules
= perl >= 5.10.0 is in core
+ File::Find  found in perl-modules
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
+ Module::Build >= 0.38 found in libmodule-build-perl ( 0.38) | perl-modules ( 0.38)
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debian/Dependency.pm line 157.
+ Exporter  found in perl-base
+ Carp  found in perl-base

Needs the following debian packages during building: perl-modules, perl, perl-base
Using maintainer: gregor herrmann <gregoa at debian.org>
Found docs: README TODO
Using rules: /home/gregoa/.dh-make-perl/rules.dh7.tiny
Module::Build needs perl
**********
Copyright information incomplete!

Upstream copyright information could not be automatically determined.

If you are building this package for your personal use, you might disregard
this information; however, if you intend to upload this package to Debian
(or in general, if you plan on distributing it), you must look into the
complete copyright information.

The causes for this warning are:
Licensing information is present, but cannot be parsed
--- Done
fatal: pathspec 'Net-BitTorrent-Protocol-v1.0.0' did not match any files
add Net-BitTorrent-Protocol-v1.0.0: command returned error: 128


Ok, now the same with 0.76-1 from unstable:

1) Take 1, with --cpan:

% dh-make-perl --cpan Net-BitTorrent-Protocol
CPAN: File::HomeDir loaded ok (v0.99)   
Going to read '/home/gregoa/.cpan/Metadata'
  Database was generated on Fri, 22 Feb 2013 14:53:02 GMT
CPAN: Time::HiRes loaded ok (v1.972101)
Fetching with LWP:
ftp://cpan.inode.at/authors/id/S/SA/SANKO/Net-BitTorrent-Protocol-v1.0.0.tar.gz
CPAN: Digest::SHA loaded ok (v5.61)
Fetching with LWP:
ftp://cpan.inode.at/authors/id/S/SA/SANKO/CHECKSUMS
Checksum for /home/gregoa/.cpan/sources/authors/id/S/SA/SANKO/Net-BitTorrent-Protocol-v1.0.0.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.76)
Net-BitTorrent-Protocol-v1.0.0
Net-BitTorrent-Protocol-v1.0.0/Build.PL
Net-BitTorrent-Protocol-v1.0.0/Changes
Net-BitTorrent-Protocol-v1.0.0/MANIFEST
Net-BitTorrent-Protocol-v1.0.0/META.json
Net-BitTorrent-Protocol-v1.0.0/META.yml
Net-BitTorrent-Protocol-v1.0.0/README
Net-BitTorrent-Protocol-v1.0.0/TODO
Net-BitTorrent-Protocol-v1.0.0/lib
Net-BitTorrent-Protocol-v1.0.0/lib/Net
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP03.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP05.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP06.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP07.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP10.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP23.pm
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP03
Net-BitTorrent-Protocol-v1.0.0/lib/Net/BitTorrent/Protocol/BEP03/Bencode.pm
Net-BitTorrent-Protocol-v1.0.0/t
Net-BitTorrent-Protocol-v1.0.0/t/0000_net_bittorrent_protocol.t
Net-BitTorrent-Protocol-v1.0.0/t/0003_net_bittorrent_protocol_bep03.t
Net-BitTorrent-Protocol-v1.0.0/t/0003_net_bittorrent_protocol_bep03_bencode.t
Net-BitTorrent-Protocol-v1.0.0/t/0006_net_bittorrent_protocol_bep06.t
Net-BitTorrent-Protocol-v1.0.0/t/0007_net_bittorrent_protocol_bep07.t
Net-BitTorrent-Protocol-v1.0.0/t/0010_net_bittorrent_protocol_bep10.t
Net-BitTorrent-Protocol-v1.0.0/t/0023_net_bittorrent_protocol_bep23.t
CPAN: File::Temp loaded ok (v0.22)
Using META.json
Found: Net-BitTorrent-Protocol 1.0.0 (libnet-bittorrent-protocol-perl arch=all)
Using cached Contents from Fri Feb 22 16:31:51 2013
= perl >= 5.10.0 is in core
= Digest::SHA >= 1 is in core since 5.9.3
= Exporter  is in core since 5.0.0
= Carp  is in core since 5.0.0

Needs the following debian packages: perl (>= 5.9.3)
= Test::More  is in core since 5.6.2
= perl >= 5.10.0 is in core
= File::Find  is in core since 5.0.0
= Module::Build >= 0.38 is in core since 5.13.11
= Exporter  is in core since 5.0.0
= Carp  is in core since 5.0.0

Needs the following debian packages during building: perl (>= 5.13.11)
Using maintainer: gregor herrmann <gregoa at debian.org>
Found docs: README TODO
Using rules: /home/gregoa/.dh-make-perl/rules.dh7.tiny
Module::Build needs perl
--- Done
Switched to a new branch 'master'
pristine-tar: committed libnet-bittorrent-protocol-perl_1.0.0.orig.tar.gz.delta to branch pristine-tar
Reading package lists... Done
Building dependency tree       
Reading state information... Done

2) With the unpacked tarball:

% dh-make-perl Net-BitTorrent-Protocol-v1.0.0
Using META.json
Found: Net-BitTorrent-Protocol 1.0.0 (libnet-bittorrent-protocol-perl arch=all)
Using cached Contents from Fri Feb 22 16:31:51 2013
CPAN: File::HomeDir loaded ok (v0.99)
= perl >= 5.10.0 is in core
= Digest::SHA >= 1 is in core since 5.9.3
= Exporter  is in core since 5.0.0
= Carp  is in core since 5.0.0

Needs the following debian packages: perl (>= 5.9.3)
= Test::More  is in core since 5.6.2
= perl >= 5.10.0 is in core
= File::Find  is in core since 5.0.0
= Module::Build >= 0.38 is in core since 5.13.11
= Exporter  is in core since 5.0.0
= Carp  is in core since 5.0.0

Needs the following debian packages during building: perl (>= 5.13.11)
Using maintainer: gregor herrmann <gregoa at debian.org>
Found docs: README TODO
Using rules: /home/gregoa/.dh-make-perl/rules.dh7.tiny
Module::Build needs perl
--- Done
fatal: pathspec 'Net-BitTorrent-Protocol-v1.0.0' did not match any files
add Net-BitTorrent-Protocol-v1.0.0: command returned error: 128


3) With your patch and the unpacked tarball:

% dh-make-perl Net-BitTorrent-Protocol-v1.0.0
Using META.json
Found: Net-BitTorrent-Protocol 1.0.0 (libnet-bittorrent-protocol-perl arch=all)
Using cached Contents from Fri Feb 22 16:31:51 2013
CPAN: File::HomeDir loaded ok (v0.99)
= perl >= 5.10.0 is in core
= Digest::SHA >= 1 is in core since 5.9.3
= Exporter  is in core since 5.0.0
= Carp  is in core since 5.0.0

Needs the following debian packages: perl (>= 5.9.3)
= Test::More  is in core since 5.6.2
= perl >= 5.10.0 is in core
= File::Find  is in core since 5.0.0
= Module::Build >= 0.38 is in core since 5.13.11
= Exporter  is in core since 5.0.0
= Carp  is in core since 5.0.0

Needs the following debian packages during building: perl (>= 5.13.11)
Using maintainer: gregor herrmann <gregoa at debian.org>
Found docs: README TODO
Using rules: /home/gregoa/.dh-make-perl/rules.dh7.tiny
Module::Build needs perl
--- Done
fatal: pathspec 'Net-BitTorrent-Protocol-v1.0.0' did not match any files
add Net-BitTorrent-Protocol-v1.0.0: command returned error: 128


Ok, and now with dh-make-perl from git HEAD:


1) With the unpacked tarball, since --cpan already works in 0.76-1:

% dh-make-perl-dev Net-BitTorrent-Protocol-v1.0.0
Using META.json
Found: Net-BitTorrent-Protocol 1.0.0 (libnet-bittorrent-protocol-perl arch=all)
fatal: pathspec 'Net-BitTorrent-Protocol-v1.0.0' did not match any files
add Net-BitTorrent-Protocol-v1.0.0: command returned error: 128


2) with your patch applied:

% dh-make-perl-dev Net-BitTorrent-Protocol-v1.0.0
Using META.json
Found: Net-BitTorrent-Protocol 1.0.0 (libnet-bittorrent-protocol-perl arch=all)
fatal: pathspec 'Net-BitTorrent-Protocol-v1.0.0' did not match any files
add Net-BitTorrent-Protocol-v1.0.0: command returned error: 128



Summary:
1) I'm confused :)
2) The errors come from git, and we really seem to have a version
   problem somewhere. Not sure if this is the problem you are facing.
3) Could you please provide the dh-make-perl invocation and output on
   your system, maybe then it gets clearer ...


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Beatles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130222/00cd183c/attachment.pgp>


More information about the pkg-perl-maintainers mailing list