View Issue Details

IDProjectCategoryView StatusLast Update
0007417CentOS-7perl-CPAN-Meta-Requirementspublic2014-07-23 05:49
ReporterMinuteman 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version7.0-1406 
Target VersionFixed in Version 
Summary0007417: Missing perl-Time-HiRes requirement
Descriptionperl-Time-HiRes seems to be a missing requirement when configuring cpan for the first time.

[root@centos7 ~]# cpan
Sorry, we have to rerun the configuration dialog for CPAN.pm due to
some missing parameters. Configuration will be written to
 <</root/.cpan/CPAN/MyConfig.pm>>


CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.

Would you like to configure as much as possible automatically? [yes]

 <install_help>

Warning: You do not have write permission for Perl library directories.

To install modules, you need to configure a local Perl library directory or
escalate your privileges. CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available). You may also
resolve this problem manually if you need to customize your setup.

What approach do you want? (Choose 'local::lib', 'sudo' or 'manual')
 [local::lib]

Autoconfigured everything but 'urllist'.

Now you need to choose your CPAN mirror sites. You can let me
pick mirrors for you, you can select them from a list or you
can enter them by hand.

Would you like me to automatically choose some CPAN mirror
sites for you? (This means connecting to the Internet) [yes]
Looking for CPAN mirrors near you (please be patient)
Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /root) at /usr/share/perl5/Net/Ping.pm line 313.
Steps To Reproduce1) Install a minimal CentOS 7 from the DVD installer
2) Run yum install perl-YAML perl-CPAN-DistnameInfo perl-Test-Mock-LWP gcc-c++ cpan (only an example, but this is what I was running)
3) Run the "cpan" command from the shell
4) Accept all defaults; this the pasted output from the description
TagsNo tags attached.
abrt_hash
URL

Activities

user1999

2014-07-22 22:43

  ~0020501

I've been able to duplicate the problem myself. Please be as kind as to go to bugzilla.redhat.com and file a bug over there, crosslinking it to this bug ( 7417). CentOS simply replicates bug-for-bug what RHEL ships so we cannot fix this before RH fixes it.
Minuteman

Minuteman

2014-07-23 05:49

reporter   ~0020505

Done, it is filed under https://bugzilla.redhat.com/show_bug.cgi?id=1122368

Issue History

Date Modified Username Field Change
2014-07-22 14:42 Minuteman New Issue
2014-07-22 22:43 user1999 Note Added: 0020501
2014-07-22 22:46 user1999 Status new => confirmed
2014-07-23 05:49 Minuteman Note Added: 0020505