On Sun, Mar 06, 2011 at 10:55:59AM -0500, yanick@babyl.dyndns.org via RT wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=66415 >
>
> On 11-03-06 05:32 AM, Rafael Kitover via RT wrote:
> > rkitover@hlagh /tmp/easydbi % git cpan-init POE::Component::EasyDBI
> > Initialized empty Git repository in /tmp/easydbi/.git/
> > [MSG] No '/home/rkitover/.cpanplus/custom-sources' dir, skipping custom
> > sources
> > [MSG] No '/home/rkitover/.cpanplus/custom-sources' dir, skipping custom
> > sources
> > importing POE::Component::EasyDBI
> > downloading POE-Component-EasyDBI-1.23.tar.gz
> > extracting distribution
> > created tag '1.23' (03d8d5dda1532e43948f36bd5df834c485d4b066)
> > Branch master set up to track local ref refs/remotes/cpan/master.
> > Already on 'master'
> > rkitover@hlagh /tmp/easydbi % ls -a
> > . .. .git
> > rkitover@hlagh /tmp/easydbi % perl -MGit::CPAN::Patch\ 999
> > Git::CPAN::Patch version 999 required--this is only version 0.4.4.
> > BEGIN failed--compilation aborted.
>
> I tried it on my machine, and it works. Hmmm... Would you mind updating
> to the latest Git::CPAN::Patch and try again? And if you observe the
> same thing, can you do a 'gitk --all' to see if the 'cpan/master' branch
> wasn't created at all, or if it just wasn't checked out?
It seemed to be happening for all modules, not just that one.
I tried upgrading git to 1.7.4 and this module to 0.6.0, and now I get this:
rkitover@hlagh /tmp/easydbi % git cpan-init POE::Component::EasyDBI
Initialized empty Git repository in /tmp/easydbi/.git/
[MSG] No '/home/rkitover/.cpanplus/custom-sources' dir, skipping custom sources
[MSG] No '/home/rkitover/.cpanplus/custom-sources' dir, skipping custom sources
importing POE::Component::EasyDBI
downloading POE-Component-EasyDBI-1.23.tar.gz
extracting distribution
fatal: invalid date format: 2007-09-25
Use of uninitialized value $commit in chomp at /usr/lib/git-core/git-cpan-import line 199.
commit-tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904: command returned error: 128
fatal: git checkout: updating paths is incompatible with switching branches.
Did you intend to checkout 'cpan/master' which can not be resolved as commit?
checkout -f -t -b master cpan/master: command returned error: 128
rkitover@hlagh /tmp/easydbi % ls
rkitover@hlagh /tmp/easydbi % dpkg -l git
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=============================-=============================-==========================================================================
ii git 1:1.7.4.1-1 fast, scalable, distributed revision control system
rkitover@hlagh ~ % git --version
git version 1.7.4.1
rkitover@hlagh ~ % perl -MGit::CPAN::Patch\ 999
Git::CPAN::Patch version 999 required--this is only version 0.6.0.
BEGIN failed--compilation aborted.
rkitover@hlagh ~ % perl -MGit::Repository\ 999
Git::Repository version 999 required--this is only version 1.17.
BEGIN failed--compilation aborted.
I uninstalled the module in cpanp and reinstalled it as well, same results.
On my cygwin everything works fine now:
importing POE::Component::EasyDBI
downloading POE-Component-EasyDBI-1.23.tar.gz
extracting distribution
created tag '1.23' (24f6f4039743e7e4a47ecf5cf208830bb5062157)
Already on 'master' at /usr/bin/git-cpan-init line 35
Branch master set up to track local ref refs/remotes/cpan/master.
rkitover@eeebox ~/src/easydbi %
rkitover@eeebox ~/src/easydbi % ls
Changes MANIFEST META.yml Makefile.PL README README_TOO examples lib t
After uninstalling and reinstalling the module, I was getting the same results
as above for a while.
rkitover@eeebox ~/src/easydbi % perl -MGit::CPAN::Patch\ 999
Git::CPAN::Patch version 999 required--this is only version 0.6.0.
rkitover@eeebox ~/src/easydbi % perl -MGit::Repository\ 999
Git::Repository version 999 required--this is only version 1.17.