On 2013-02-22 10:58, gregor herrmann wrote:
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 ...
I was using cpan2deb, but it didn't seem from the man page like it
should make a difference. Clearly it does, however.
I have 0.75 from /testing here, I (foolishly?) thought 0.76 wouldn't be
that much different.
With that version, I get this:
$ cpan2deb Net-BitTorrent-Protocol
Going to read '/usr/src/build/cpan/Metadata'
Database was generated on Thu, 21 Feb 2013 21:17:02 GMT
Going to read 1 yaml file from /usr/src/build/cpan/build/
CPAN: Time::HiRes loaded ok (v1.972101)
DONE
Restored the state of none (in 0.0987 secs)
Unable to determine the version of Net-BitTorrent-Protocol-v1.0.0
My patch fixes (for me) that error in the last line and let me build a
.deb.
But, if I use "dh-make-perl --cpan" instead of "cpan2deb", I get output
equivalent to yours.
If I use "dh-make-perl --build --cpan", I get the output with the git
complaint, but the package does build.
Now I'm confused ;) Hopefully something here helps you be less
confused.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org