Bug 1035139 - Missing run-time dependency on Time::HiRes module
Summary: Missing run-time dependency on Time::HiRes module
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-IPC-RUN3
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ralf Corsepius
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-27 07:19 UTC by Petr Pisar
Modified: 2013-11-27 08:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-27 08:42:41 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1034866 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 1034866

Description Petr Pisar 2013-11-27 07:19:33 UTC
Time::HiRes is needed at run time if environment variable IPCRUN3PROFILE or IPCRUNPROFILE is set to a non zero value. See lib/IPC/Run3.pm:

use constant profiling => $ENV{IPCRUN3PROFILE} || $ENV{IPCRUNPROFILE} || 0;
[...]
BEGIN {
    if ( profiling ) {
        eval "use Time::HiRes qw( gettimeofday ); 1" or die $@;
        [...]
    }
}

I recommend to add `perl(Time::HiRes)' to run-time dependencies of perl-IPC-Run3 package.

Comment 1 Ralf Corsepius 2013-11-27 08:42:41 UTC
(In reply to Petr Pisar from comment #0)

It's clearly an optional dependency. I do not intend to make optional deps mandatory because they cause dependency bloat, without strong reasons. 

As bug 1034866 is private and thus is unreadable to me, I can not spot any valid reason for this kind of, what I consider to be a drastic measure.


Note You need to log in before you can comment on or make changes to this bug.