[rt-users] rt-3.6.0pre0 "make fixdeps" fails with CPAN errors?

Jim Meyer purp at acm.org
Tue Feb 28 20:14:58 EST 2006


Hello!

Starting with a fresh RHEL3 WS box, built and installed Perl 5.8.6 and
mod_perl 2.0.2, did the usual CPAN config-ery including an "install
Bundle::CPAN" which got me to CPAN v1.87, then tried "make fixdeps" for
the first time and got a pile of errors:

% make fixdeps
[...]
MASON dependencies:
        Params::Validate 0.02...MISSING
        Install module Params::Validate
Number found where operator expected
at /usr/lib/perl5/5.8.6/CPAN/FirstTime.pm line 456, near "<= 60 && -s _
> 0"
        (Missing operator before  0?)
syntax error at /usr/lib/perl5/5.8.6/CPAN/FirstTime.pm line 456, near
"<= 60 && -s _ > 0"
Global symbol "$mby" requires explicit package name
at /usr/lib/perl5/5.8.6/CPAN/FirstTime.pm line 468.
Global symbol "$overwrite_local" requires explicit package name
at /usr/lib/perl5/5.8.6/CPAN/FirstTime.pm line 469.
Global symbol "$mby" requires explicit package name
at /usr/lib/perl5/5.8.6/CPAN/FirstTime.pm line 470.

In more bizarre news, while trying to eliminate the problem, I dropped
back to CPAN 1.86, 1.85, then 1.76, during which I got issues like this:

[...]
        Exception::Class 1.14...MISSING
        Install module Exception::Class
Running install for module Exception::Class
Running make for D/DR/DROLSKY/Exception-Class-1.23.tar.gz
LWP not available
Fetching with Net::FTP:
  ftp://archive.progeny.com/CPAN/authors/id/D/DR/DROLSKY/Exception-
Class-1.23.tar.gz
WARNING: This key is not certified with a trusted signature!
Primary key fingerprint: 2E66 557A B97C 19C7 91AF  8E20 328D A867 450F
89EC
Signature for /rel/top_tp/rt-redhat-
i686-3/src/cpan/sources/authors/id/D/DR/DROLSKY/CHECKSUMS ok
LWP not available
Fetching with Net::FTP:
  ftp://archive.progeny.com/CPAN/authors/id/D/DR/DROLSKY/CHECKSUMS
WARNING: This key is not certified with a trusted signature!
Primary key fingerprint: 2E66 557A B97C 19C7 91AF  8E20 328D A867 450F
89EC
Signature for /rel/top_tp/rt-redhat-
i686-3/src/cpan/sources/authors/id/D/DR/DROLSKY/CHECKSUMS ok
Checksum for /rel/top_tp/rt-redhat-
i686-3/src/cpan/sources/authors/id/D/DR/DROLSKY/Exception-
Class-1.23.tar.gz ok
Can't unlink file tmp: No such file or directory
at /usr/lib/perl5/5.8.6/CPAN.pm line 4373

==> Couldn't mkdir '/rel/top_tp/rt-redhat-i686-3/src/cpan/build/tmp':
File exists

==> Cannot continue: Please find the reason why I cannot make the <==
==> directory                                                     <==
==> /rel/top_tp/rt-redhat-i686-3/src/cpan/build/tmp               <==
==> and fix the problem, then retry.                              <==

I discovered that if I just run "cpan" at this point and do "install
Exception::Class", it all works just fine (for CPAN 1.76 and 1.87).
Bizarre. 

If it's useful, I can fairly quickly revert to the fresh install plus
perl 5.8.6 (and even add the mod_perl stuff, too) to track this down.

Any thoughts?

Cheers!

--j
-- 
Jim Meyer, Geek at Large                                    purp at acm.org




More information about the rt-users mailing list